X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=lib%2Fstdio-impl.h;h=8a5ed88650729c7ff67dd060ae864ae2ea965236;hp=b9572b4f046bb398572ff8d2359b63445688fbb0;hb=2456d9bc547aacc8ad387f441e81455cd9301fe7;hpb=d5e283b1a75c5f8249300b465b4e7b55130bec49 diff --git a/lib/stdio-impl.h b/lib/stdio-impl.h index b9572b4f..8a5ed886 100644 --- a/lib/stdio-impl.h +++ b/lib/stdio-impl.h @@ -1,5 +1,5 @@ /* Implementation details of FILE streams. - Copyright (C) 2007-2008 Free Software Foundation, Inc. + Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -35,7 +35,7 @@ struct { unsigned char *_base; int _size; } _ub; \ int _ur; \ unsigned char _ubuf[3]; \ - unsigned cahr _nbuf[1]; \ + unsigned char _nbuf[1]; \ struct { unsigned char *_base; int _size; } _lb; \ int _blksize; \ fpos_t _offset; \ @@ -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)