aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-03 00:14:18 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-03 00:14:18 +0000
commit6df4dd68082f98367720f856264f48dac3328da7 (patch)
tree9101c30bf0a3545c94ad8c7e28130e0444e1ea2e
parent26c6ab8070f9f5c76fba438283c17e1049ae47f2 (diff)
downloadglibc-6df4dd68082f98367720f856264f48dac3328da7.zip
glibc-6df4dd68082f98367720f856264f48dac3328da7.tar.gz
glibc-6df4dd68082f98367720f856264f48dac3328da7.tar.bz2
For _LIBC, call not cancelable versions of open, close, and read.
-rw-r--r--intl/loadmsgcat.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/intl/loadmsgcat.c b/intl/loadmsgcat.c
index 55dab14..55e8ada 100644
--- a/intl/loadmsgcat.c
+++ b/intl/loadmsgcat.c
@@ -87,6 +87,7 @@ char *alloca ();
#ifdef _LIBC
# include "../locale/localeinfo.h"
+# include <not-cancel.h>
#endif
/* 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
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