]> git.eshelyaron.com Git - emacs.git/commitdiff
Add temporary gnulib patch
authorPo Lu <luangruo@yahoo.com>
Sat, 14 Jan 2023 14:23:08 +0000 (22:23 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 14 Jan 2023 14:23:08 +0000 (22:23 +0800)
* xcompile/lib/fpending.c (__fpending): Fix gnulib problem.

xcompile/lib/fpending.c

index afa840b85124f7f342f8f3473836d9160b3be97b..e57155e586e8a772e858799f9b5949aaa68620bc 100644 (file)
@@ -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 */