mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Update.
* misc/sys/syslog.h (vsyslog): Remove __THROW. * posix/unistd.h: Remove __THROW from getpass prototype.
This commit is contained in:
@ -1,10 +1,12 @@
|
|||||||
2003-08-30 Ulrich Drepper <drepper@redhat.com>
|
2003-08-30 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* misc/sys/syslog.h (vsyslog): Remove __THROW.
|
||||||
|
|
||||||
* misc/Makefile (CFLAGS-getpass.c): Add -fexceptions.
|
* misc/Makefile (CFLAGS-getpass.c): Add -fexceptions.
|
||||||
* misc/getpass.c (getpass): Add cleanup handler to ensure the
|
* misc/getpass.c (getpass): Add cleanup handler to ensure the
|
||||||
stream is closed even if the thread is canceled.
|
stream is closed even if the thread is canceled.
|
||||||
(call_fclose): New function.
|
(call_fclose): New function.
|
||||||
* posix/unistd.h: Remove __THROW from getpass prorotype.
|
* posix/unistd.h: Remove __THROW from getpass prototype.
|
||||||
|
|
||||||
* posix/Makefile (CFLAGS-getopt.c): Add -fexceptions.
|
* posix/Makefile (CFLAGS-getopt.c): Add -fexceptions.
|
||||||
|
|
||||||
|
@ -198,7 +198,7 @@ extern void syslog (int __pri, __const char *__fmt, ...)
|
|||||||
or due to the implementation it is a cancellation point and
|
or due to the implementation it is a cancellation point and
|
||||||
therefore not marked with __THROW. */
|
therefore not marked with __THROW. */
|
||||||
extern void vsyslog (int __pri, __const char *__fmt, __gnuc_va_list __ap)
|
extern void vsyslog (int __pri, __const char *__fmt, __gnuc_va_list __ap)
|
||||||
__THROW __attribute__ ((__format__(__printf__, 2, 0)));
|
__attribute__ ((__format__(__printf__, 2, 0)));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
Reference in New Issue
Block a user