blob: 2a54394b4450a4bfa9482a414b3d6695eeeafa36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-aj,v 1.3 2009/06/12 15:09:46 joerg Exp $
--- lib/stdio-impl.h 2008-05-14 21:53:25 +0900
+++ lib/stdio-impl.h 2009-03-11 18:57:26 +0900
@@ -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)
|