summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-08-15 06:23:11 +0000
committerUlrich Drepper <drepper@redhat.com>2001-08-15 06:23:11 +0000
commit844468017075bab337bf6db217f63d1fb910cea6 (patch)
tree590113c46096c3e8ca8018e49296064e9182efc9 /stdio-common
parent5db915715f800d0858346bfbb5eea6aff4287ebd (diff)
downloadglibc-844468017075bab337bf6db217f63d1fb910cea6.tar.gz
glibc-844468017075bab337bf6db217f63d1fb910cea6.tar.xz
glibc-844468017075bab337bf6db217f63d1fb910cea6.zip
Update.
2001-08-14  Ulrich Drepper  <drepper@redhat.com>

	* stdio-common/perror.c (perror): Use _IO_fwide instead of fwide.

	* libio/libio.h (_IO_fwide): Handle zero as second parameter more
	efficiently in macro.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/perror.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdio-common/perror.c b/stdio-common/perror.c
index 8ac8bc4280..c22be6daf2 100644
--- a/stdio-common/perror.c
+++ b/stdio-common/perror.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,1992,1993,1997,1998,2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991-1993,1997,1998,2000,2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -40,7 +40,7 @@ perror (const char *s)
   errstring = __strerror_r (errnum, buf, sizeof buf);
 
 #ifdef USE_IN_LIBIO
-  if (fwide (stderr, 0) > 0)
+  if (_IO_fwide (stderr, 0) > 0)
     (void) fwprintf (stderr, L"%s%s%s\n", s, colon, errstring);
   else
 #endif