mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Update.
* misc/Makefile (CFLAGS-getpass.c): Add -fexceptions. * misc/getpass.c (getpass): Add cleanup handler to ensure the stream is closed even if the thread is canceled. (call_fclose): New function. * posix/unistd.h: Remove __THROW from getpass prorotype. * posix/Makefile (CFLAGS-getopt.c): Add -fexceptions. * signal/signal.h (psignal): Remove __THROW. * stdio-common/Makefile (CFLAGS-psignal.c): Add -fexceptions.
This commit is contained in:
@@ -134,7 +134,7 @@ extern int gsignal (int __sig) __THROW;
|
||||
|
||||
#ifdef __USE_MISC
|
||||
/* Print a message describing the meaning of the given signal number. */
|
||||
extern void psignal (int __sig, __const char *__s) __THROW;
|
||||
extern void psignal (int __sig, __const char *__s);
|
||||
#endif /* Use misc. */
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user