]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
intl: Merge from glibc.
authorBruno Haible <bruno@clisp.org>
Sat, 30 Sep 2023 18:13:12 +0000 (20:13 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 30 Sep 2023 22:36:55 +0000 (00:36 +0200)
Apply commit
2017-07-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Consolidate non cancellable close call

gettext-runtime/intl/loadmsgcat.c

index 0285a2df769a912092beed99538bf5529fe81770..60b4373486fac570d46797e63dc67c743c59e34a 100644 (file)
    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)