typo in libio.h
Weiwen Liu
liu@hepvms.physics.yale.edu
Mon Sep 8 08:54:00 GMT 1997
Hi,
The following patch fixes a type in libio.h. Without this patch,
libstdc++ will fail.
Since Makefile does not specify that iofeof.c depends on libio.h,
remove iofeof.o before rebuilding libio.a
Mon Sep 8 01:30:27 1997 Weiwen Liu <liu@hepunix.physics.yale.edu>
* libio.h: Fix typo.
*** libio.h.~1~ Sat Sep 6 03:43:42 1997
--- libio.h Mon Sep 8 01:20:27 1997
*************** extern int __overflow __P((_IO_FILE*, in
*** 273,279 ****
? __overflow(_fp, (unsigned char)(_ch)) \
: (unsigned char)(*(_fp)->_IO_write_ptr++ = (_ch)))
! #define _IO_feof_unclocked(__fp) (((__fp)->_flags & _IO_EOF_SEEN) != 0)
#define _IO_ferror_unlocked(__fp) (((__fp)->_flags & _IO_ERR_SEEN) != 0)
extern int _IO_getc __P ((_IO_FILE *__fp));
--- 273,279 ----
? __overflow(_fp, (unsigned char)(_ch)) \
: (unsigned char)(*(_fp)->_IO_write_ptr++ = (_ch)))
! #define _IO_feof_unlocked(__fp) (((__fp)->_flags & _IO_EOF_SEEN) != 0)
#define _IO_ferror_unlocked(__fp) (((__fp)->_flags & _IO_ERR_SEEN) != 0)
extern int _IO_getc __P ((_IO_FILE *__fp));
More information about the Gcc
mailing list