projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ptsname: Avoid ERANGE failure on some systems.
[pspp]
/
lib
/
mbrtowc.c
diff --git
a/lib/mbrtowc.c
b/lib/mbrtowc.c
index 5c2650e9520751569df711577333e7d53ecc8c58..25dac59e7fc7cadfddb0cb1b8095c8f920a0561b 100644
(file)
--- a/
lib/mbrtowc.c
+++ b/
lib/mbrtowc.c
@@
-91,7
+91,7
@@
mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)
/* Here m > 0. */
-# if __GLIBC__
+# if __GLIBC__
|| defined __UCLIBC__
/* Work around bug <http://sourceware.org/bugzilla/show_bug.cgi?id=9674> */
mbtowc (NULL, NULL, 0);
# endif