]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
intl: Merge from glibc.
authorBruno Haible <bruno@clisp.org>
Sat, 30 Sep 2023 18:35:21 +0000 (20:35 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 30 Sep 2023 22:36:55 +0000 (00:36 +0200)
Apply commit
2018-02-15  Joseph Myers  <joseph@codesourcery.com>
Fix -Os feof_unlocked linknamespace, localplt issues (bug 15105, bug 19463).

gettext-runtime/intl/localealias.c

index 0b499e3bd65d0d57234258701c7cffd4c89013bb..5c7eadf696fa2f362911fd6d5101c876672601f3 100644 (file)
@@ -109,7 +109,7 @@ char *alloca ();
 
 /* Some optimizations for glibc.  */
 #ifdef _LIBC
-# define FEOF(fp)              feof_unlocked (fp)
+# define FEOF(fp)              __feof_unlocked (fp)
 # define FGETS(buf, n, fp)     __fgets_unlocked (buf, n, fp)
 #else
 # define FEOF(fp)              feof (fp)