From: Bruno Haible Date: Sat, 30 Sep 2023 18:13:12 +0000 (+0200) Subject: intl: Merge from glibc. X-Git-Tag: v0.23~353 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2210319136c6d6c8a21f09eb1564885e69b48d6;p=thirdparty%2Fgettext.git intl: Merge from glibc. Apply commit 2017-07-03 Adhemerval Zanella Consolidate non cancellable close call --- diff --git a/gettext-runtime/intl/loadmsgcat.c b/gettext-runtime/intl/loadmsgcat.c index 0285a2df7..60b437348 100644 --- a/gettext-runtime/intl/loadmsgcat.c +++ b/gettext-runtime/intl/loadmsgcat.c @@ -360,7 +360,7 @@ 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_nocancel (name, flags) -# define close(fd) close_not_cancel_no_status (fd) +# define close(fd) __close_nocancel_nostatus (fd) # define read(fd, buf, n) __read_nocancel (fd, buf, n) # define mmap(addr, len, prot, flags, fd, offset) \ __mmap (addr, len, prot, flags, fd, offset)