From: Bruno Haible Date: Sat, 30 Sep 2023 18:11:13 +0000 (+0200) Subject: intl: Merge from glibc. X-Git-Tag: v0.23~354 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=036cc68569d745086666c4383037eb9d68d3b991;p=thirdparty%2Fgettext.git intl: Merge from glibc. Apply commit 2017-07-03 Adhemerval Zanella Consolidate non cancellable read call --- diff --git a/gettext-runtime/intl/loadmsgcat.c b/gettext-runtime/intl/loadmsgcat.c index 7417046d0..0285a2df7 100644 --- a/gettext-runtime/intl/loadmsgcat.c +++ b/gettext-runtime/intl/loadmsgcat.c @@ -361,7 +361,7 @@ 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 read(fd, buf, n) read_not_cancel (fd, buf, n) +# 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) # define munmap(addr, len) __munmap (addr, len)