From 97e2ac556c21ecd6e7e2b997b1beb5e3c31dd8fe Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 1 Jun 2008 23:10:06 +0200 Subject: [PATCH] Fix syntax error on DragonFly BSD. --- ChangeLog | 5 +++++ lib/stdio-impl.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1b18d90888..9c3aa94db3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-01 Bruno Haible + + * lib/stdio-impl.h (fp_ub): Use fp_. Needed for DragonFly BSD. + Reported by Voroskoi Andras . + 2008-06-01 Voroskoi Andras (tiny change) * lib/stdio-impl.h [__DragonFly__]: Fix typo. diff --git a/lib/stdio-impl.h b/lib/stdio-impl.h index 5288162b94..c803e88c97 100644 --- a/lib/stdio-impl.h +++ b/lib/stdio-impl.h @@ -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) -- 2.30.2