emacs-diffs
[Top][All Lists]
Advanced

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

feature/android 422035143f 6/7: Add temporary gnulib patch


From: Po Lu
Subject: feature/android 422035143f 6/7: Add temporary gnulib patch
Date: Sat, 14 Jan 2023 09:48:54 -0500 (EST)

branch: feature/android
commit 422035143f319e5bbd7a769247835c70dd3de495
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Add temporary gnulib patch
    
    * xcompile/lib/fpending.c (__fpending): Fix gnulib problem.
---
 xcompile/lib/fpending.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xcompile/lib/fpending.c b/xcompile/lib/fpending.c
index afa840b851..e57155e586 100644
--- a/xcompile/lib/fpending.c
+++ b/xcompile/lib/fpending.c
@@ -41,7 +41,7 @@ __fpending (FILE *fp)
   return fp->_IO_write_ptr - fp->_IO_write_base;
 #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
   /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin < 1.7.34, Minix 3, 
Android */
-  return fp->_p - fp->_bf._base;
+  return fp_->_p - fp_->_bf._base;
 #elif defined __EMX__                /* emx+gcc */
   return fp->_ptr - fp->_buffer;
 #elif defined __minix                /* Minix */



reply via email to

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