From: Bruno Haible Date: Sat, 30 Sep 2023 18:09:57 +0000 (+0200) Subject: intl: Merge from glibc. X-Git-Tag: v0.23~355 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6843e4e63be5fd66479fb4e0066ceccd5a44a2f;p=thirdparty%2Fgettext.git intl: Merge from glibc. Apply commit 2017-07-03 Adhemerval Zanella Consolidate non cancellable open call --- diff --git a/gettext-runtime/intl/loadmsgcat.c b/gettext-runtime/intl/loadmsgcat.c index 14f009bb2..7417046d0 100644 --- a/gettext-runtime/intl/loadmsgcat.c +++ b/gettext-runtime/intl/loadmsgcat.c @@ -359,7 +359,7 @@ /* 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(name, flags) open_not_cancel_2 (name, flags) +# define open(name, flags) __open_nocancel (name, flags) # define close(fd) close_not_cancel_no_status (fd) # define read(fd, buf, n) read_not_cancel (fd, buf, n) # define mmap(addr, len, prot, flags, fd, offset) \