1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

For _LIBC, call not cancelable versions of open, close, and read.

This commit is contained in:
Ulrich Drepper
2003-09-03 00:14:18 +00:00
parent 26c6ab8070
commit 6df4dd6808

View File

@ -87,6 +87,7 @@ char *alloca ();
#ifdef _LIBC #ifdef _LIBC
# include "../locale/localeinfo.h" # include "../locale/localeinfo.h"
# include <not-cancel.h>
#endif #endif
/* Provide fallback values for macros that ought to be defined in <inttypes.h>. /* Provide fallback values for macros that ought to be defined in <inttypes.h>.
@ -453,9 +454,9 @@ char *alloca ();
/* Rename the non ISO C functions. This is required by the standard /* Rename the non ISO C functions. This is required by the standard
because some ISO C functions will require linking with this object because some ISO C functions will require linking with this object
file and the name space must not be polluted. */ file and the name space must not be polluted. */
# define open __open # define open open_not_cancel_2
# define close __close # define close close_not_cancel_no_status
# define read __read # define read read_not_cancel
# define mmap __mmap # define mmap __mmap
# define munmap __munmap # define munmap __munmap
#endif #endif