Fix syntax error on DragonFly BSD.
authorBruno Haible <bruno@clisp.org>
Sun, 1 Jun 2008 21:10:06 +0000 (23:10 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 1 Jun 2008 21:10:06 +0000 (23:10 +0200)
ChangeLog
lib/stdio-impl.h

index 1b18d90888255255da45993fc04a20ba1baa8eea..9c3aa94db3bc50287168daa1978fd1eb63fe4c7e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-01  Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdio-impl.h (fp_ub): Use fp_. Needed for DragonFly BSD.
+       Reported by Voroskoi Andras <voroskoi@gmail.com>.
+
 2008-06-01  Voroskoi Andras  <voroskoi@gmail.com>  (tiny change)
 
        * lib/stdio-impl.h [__DragonFly__]: Fix typo.
index 5288162b94d108203ce7f43b4647b7dd69734093..c803e88c97cd0f6f5bca3d41040422289c46d7f5 100644 (file)
@@ -60,7 +60,7 @@
     };
 #  define fp_ub ((struct __sfileext *) fp->_ext._base)->_ub
 # else                                         /* FreeBSD, DragonFly, MacOS X, Cygwin */
-#  define fp_ub fp->_ub
+#  define fp_ub fp_->_ub
 # endif
 
 # define HASUB(fp) (fp_ub._base != NULL)