From: Ulrich Drepper Date: Wed, 3 Sep 2003 00:14:18 +0000 (+0000) Subject: For _LIBC, call not cancelable versions of open, close, and read. X-Git-Tag: cvs/glibc-2_3_3~279 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6df4dd68082f98367720f856264f48dac3328da7;p=thirdparty%2Fglibc.git For _LIBC, call not cancelable versions of open, close, and read. --- diff --git a/intl/loadmsgcat.c b/intl/loadmsgcat.c index 55dab143d31..55e8adadbc2 100644 --- a/intl/loadmsgcat.c +++ b/intl/loadmsgcat.c @@ -87,6 +87,7 @@ char *alloca (); #ifdef _LIBC # include "../locale/localeinfo.h" +# include #endif /* Provide fallback values for macros that ought to be defined in . @@ -453,9 +454,9 @@ char *alloca (); /* Rename the non ISO C functions. This is required by the standard because some ISO C functions will require linking with this object file and the name space must not be polluted. */ -# define open __open -# define close __close -# define read __read +# define open open_not_cancel_2 +# define close close_not_cancel_no_status +# define read read_not_cancel # define mmap __mmap # define munmap __munmap #endif