projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4abea7
)
(perror): Conditionalize code dealing with wide-oriented streams on USE_IN_LIBIO.
author
Ulrich Drepper
<drepper@redhat.com>
Wed, 6 Dec 2000 17:10:20 +0000
(17:10 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Wed, 6 Dec 2000 17:10:20 +0000
(17:10 +0000)
stdio-common/perror.c
patch
|
blob
|
history
diff --git
a/stdio-common/perror.c
b/stdio-common/perror.c
index
239d43e
..
77a1d9f
100644
(file)
--- a/
stdio-common/perror.c
+++ b/
stdio-common/perror.c
@@
-39,8
+39,10
@@
perror (const char *s)
errstring = __strerror_r (errnum, buf, sizeof buf);
+#ifdef USE_IN_LIBIO
if (fwide (stderr, 0) > 0)
(void) fwprintf (stderr, L"%s%s%s\n", s, colon, errstring);
else
+#endif
(void) fprintf (stderr, "%s%s%s\n", s, colon, errstring);
}