Mercurial > gnulib
changeset 10144:6cbcb13324a6
Fix syntax error on DragonFly BSD.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 01 Jun 2008 23:10:06 +0200 |
parents | 15617fa27827 |
children | 1c6dc066fe6d |
files | ChangeLog lib/stdio-impl.h |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sun Jun 01 23:05:15 2008 +0200 +++ b/ChangeLog Sun Jun 01 23:10:06 2008 +0200 @@ -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.
--- a/lib/stdio-impl.h Sun Jun 01 23:05:15 2008 +0200 +++ b/lib/stdio-impl.h Sun Jun 01 23:10:06 2008 +0200 @@ -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)