]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
intl: Merge from glibc.
authorBruno Haible <bruno@clisp.org>
Sat, 30 Sep 2023 18:42:50 +0000 (20:42 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 30 Sep 2023 22:36:55 +0000 (00:36 +0200)
Apply commit
2020-07-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Remove internal usage of extensible stat functions

gettext-runtime/intl/loadmsgcat.c

index a8cf94c4af351add245749a55312a1b8ed914394..3d6d653b9dc62a07fa98a7bb57c5e0ce2fa887a2 100644 (file)
@@ -744,7 +744,7 @@ _nl_load_domain (struct loaded_l10nfile *domain_file,
   /* We must know about the size of the file.  */
   if (
 #ifdef _LIBC
-      __builtin_expect (fstat64 (fd, &st) != 0, 0)
+      __builtin_expect (__fstat64 (fd, &st) != 0, 0)
 #else
       __builtin_expect (fstat (fd, &st) != 0, 0)
 #endif