mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
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.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user