emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] feature/gnus-select 30510cf 026/218: Update from Gnulib


From: Andrew G Cohen
Subject: [Emacs-diffs] feature/gnus-select 30510cf 026/218: Update from Gnulib
Date: Fri, 14 Dec 2018 03:34:49 -0500 (EST)

branch: feature/gnus-select
commit 30510cf7f37ef854989a6f55b4074df627ed804c
Author: Paul Eggert <address@hidden>
Commit: Andrew G Cohen <address@hidden>

    Update from Gnulib
    
    This includes:
    2018-03-08 fflush: be more paranoid about libio.h change
    * lib/fpending.c: Copy from Gnulib.
---
 lib/fpending.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/fpending.c b/lib/fpending.c
index 789f50e..7bc235d 100644
--- a/lib/fpending.c
+++ b/lib/fpending.c
@@ -32,7 +32,8 @@ __fpending (FILE *fp)
   /* Most systems provide FILE as a struct and the necessary bitmask in
      <stdio.h>, because they need it for implementing getc() and putc() as
      fast macros.  */
-#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, 
Linux libc5 */
+#if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1
+  /* GNU libc, BeOS, Haiku, Linux libc5 */
   return fp->_IO_write_ptr - fp->_IO_write_base;
 #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
   /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]