public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* typo in libio.h
@ 1997-09-08  8:54 Weiwen Liu
  1997-09-08  9:13 ` Jeffrey A Law
  0 siblings, 1 reply; 2+ messages in thread
From: Weiwen Liu @ 1997-09-08  8:54 UTC (permalink / raw)
  To: egcs

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));


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-09-08  9:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-08  8:54 typo in libio.h Weiwen Liu
1997-09-08  9:13 ` Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).