home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 7
/
FreshFishVol7.bin
/
bbs
/
gnu
/
libg++-2.6-fsf.lha
/
libg++-2.6
/
libio
/
ChangeLog
< prev
next >
Wrap
Text File
|
1994-07-18
|
34KB
|
851 lines
Mon Jul 18 18:02:34 1994 Per Bothner (bothner@kalessin.cygnus.com)
* gen-params (VTABLE_LABEL_PREFIX): Remove filename sppearing
by itself. Add comment explaining what is going on.
Tue Dec 21 13:02:48 1993 H.J. Lu (hjl@jalod)
* libio.h: define _IO_uid_t and _IO_HAVE_ST_BLKSIZE
as _G_xxxxxxxx.
Tue Dec 21 13:02:48 1993 H.J. Lu (hjl@jalod)
* iopopen.c: Don't include <errno.h>. It is included in "libioP.h".
* iopopen.c (_IO_proc_close) : check if fp is on the list
before close it.
Thu Jul 14 16:38:47 1994 Per Bothner (bothner@kalessin.cygnus.com)
* gen-params (CONFIG_NM): Make sed scripts to find vtable name
mangling more robost for different forms of nm output.
Tue Dec 21 13:02:48 1993 H.J. Lu (hjl@jalod)
* iofopen.c (_IO_fopen): don't check [redundantly] fp == NULL after
IO_file_init(&fp->_file).
* iomanip.h (template<class TP> class iapp):
change ostream to istream.
Tue Jul 12 14:09:02 1994 Per Bothner (bothner@kalessin.cygnus.com)
* Makefile.in (VERSION): Increase to 0.65.
* libioP.h (builtinbuf_vtable): Only define #ifdef __cplusplus.
* gen-params (_G_int8_t): Only define if defined(__STDC__),
because K&R C compilers don't have signed char.
(_G_int64_t, _G_uint64_t): Only define if defined(__GNUC__)
because other compilers may not have long long.
Sun Mar 06 13:10:21 1994 H.J. Lu (hjl@nynexst.com)
* floatconv.c (_IO_dtoa ()): fix a small memory leak, set the
"on_stack" field to be 0 if "result" is not NULL.
Sat Mar 05 13:18:20 1994 H.J. Lu (hjl@nynexst.com)
* floatconv.c (_IO_dtoa ()): if the number of digits of the
floating point number is more than the previous one, free the
old string and allocate a new one.
[Minor optimization to avoid Bcopy. -PB]
Mon Jul 11 10:53:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
* fileops.c (_IO_file_underflow): 'count' should be unsigned,
since it contains the return value of read. Reported by
Teemu Torma <tot@trema.fi>.
Tue Dec 21 13:02:48 1993 H.J. Lu (hjl@nynexst.com)
* floatconv.c (_IO_strtod ()): make "+" and "-" as error.
Sat Jul 9 15:09:21 1994 Per Bothner (bothner@kalessin.cygnus.com)
Make sure _IO_FILE::_flags is always initialized correctly, for the
C functions (fopen, fdopen, popen), and not just the C++ functions.
* fileops.c (_IO_file_init): Set _flags to CLOSED_FILEBUF_FLAGS.
* fileops.c (_IO_file_fopen): Remove bogus assignment.
* filebuf.cc (filebuf constructors): Don't pass CLOSED_FILEBUF_FLAGS
to streambuf constructor - _IO_file_init does it instead.
* filebuf.cc (CLOSED_FILEBUF_FLAGS): Removed.
* iopopen.c (_IO_proc_open): Use _IO_mask_flags.
Thu Jun 30 08:49:53 1994 Jason Merrill (jason@deneb.cygnus.com)
* dbz/Makefile.in (mostlyclean): Add target.
Wed Jun 29 09:30:12 1994 Jason Merrill (jason@deneb.cygnus.com)
* gen-params: Woops, can't run a C program to determine target
characteristics. Sigh.
Tue Jun 28 03:11:33 1994 Jason Merrill (jason@deneb.cygnus.com)
* gen-params: Add _G_{,u}int{8,16,64}_t, use a short C program to
determine what all these should be rather than trying to compare
the MAX numbers in the shell.
Sun Jun 26 21:04:24 1994 Per Bothner (bothner@kalessin.cygnus.com)
* stdiostream.h, stdiostream.cc (stdiobuf::xsgetn): Removed.
Too hairy. If we want to optimize it, we should do so in
filebuf::xsgetn (or rather _IO_file_xsgetn).
* stdiostream.h (class stdiobuf), stdiostream.cc: Fix parameter
and return types of virtual function to matcher base types (Oops!).
* streamstream.cc (stdiobuf::xsgetn, stdiobuf::xsputn):
Optimize to call fread.fwrite directly if !buffered.
* fileops.c: Fix comment.
Fri Jun 24 11:28:18 1994 Per Bothner (bothner@kalessin.cygnus.com)
* stdiostream.h (istdiostream, ostdiostream): New classes.
More robust final cleanup.
* cleanup.c (_IO_register_cleanup): Register _IO_cleanup,
rather than _IO_flush_all.
* filedoalloc.c: Update comment.
* genops.c (_IO_unbuffer_all): New. Makes all files unbuffered.
* genops.c (_IO_cleanup), libioP.h: New function. Call
_IO_flush_all, and then _IO_unbuffer_all. This is in case C++
destructors try to do output *after* _IO_cleanup is called.
Construct standard stdiobufs statically (using type punning).
* stdstrbufs.c; Unless _STDIO_USES_IOSTREAM declare standard
stdiobufs (for stdin, stdout, and stderr), using type punning
(struct _IO_fake_stdiobuf). This avoids constructor-time problems.
* stdstreams.cc: Remove the declarations of the stdiobufs.
Instead use the new (fake) ones in stdstrbufs.cc. We no longer
have to call ios::sync_with_stdio at constructor time.
Preliminary support for new ANSI streambuf::uflow virtual.
* libioP.h (struct _IO_jump_t): Add __uflow field.
* genops.c (_IO_default_uflow), libioP.h: New function.
* fileops.c (_IO_file_jumps), iopopen.c (IO_proc_jumps),
iovfprintf.c (_IO_helper_jumps), strops.c (_IO_str_jumps),
streambuf.cc (_IO_streambuf_jumps): Add _IO_default_uflow.
* genops.c (__uflow): New function.
(save_for_backup): New function. Some code shared by
__underflow and __uflow, moved out from the former.
(_IO_default_uflow): New function.
* libio.h (_IO_getc): Call __uflow, not __underflow.
Wed Jun 22 20:22:49 1994 Per Bothner (bothner@kalessin.cygnus.com)
Make sure that the vtable of a streambuf is always valid,
which makes ios::rdbuf simpler and faster.
* gen-params: Add code to determine _G_VTABLE_LABEL_HAS_LENGTH,
_G_VTABLE_LABEL_PREFIX, _G_VTABLE_LABEL_PREFIX_ID, and
_G_USING_THUNKS, which describe how virtual function tables are named.
* stdfiles.c (FILEBUF_LITERAL): Moved to libioP.h.
* libioP.h (builtinbuf_vtable): New (complicated) declaration.
* filebuf.cc (filebuf::__new), strstream.cc (SET_STR_JUMPS):
Initialize vtable to builtinbuf_vtable, not NULL.
* stdstrbufs.cc: New file. Same as stdfiles.c, except that
vtable is initialized to builtinbuf_vtable, not NULL.
* streambuf.h (ios::rdbuf): Can now simplify/optimize, due to
above changes. Always, just return _strbuf.
* builtinbuf.h, builtinbuf.cc (builtinbuf::vtable,
builtinbuf::get_builtin_vtable): Removed. No longer needed.
* streambuf.h, builtinbuf.cc (ios::_IO_fix_vtable): No longer needed.
Only defined #ifdef _STREAM_COMPAT, for binary compatibility.
* Makefile.in: Move stdfiles.o from IO_OBJECTS to STDIO_WRAP_OBJECTS.
(IOSTREAM_OBJECT): Add stdstrbufs.o.
* Makefile.in (_G_config.h): Pass $(CXXFLAGS) as part of $(CXX).
Fri Feb 11 11:08:01 1994 SBPM Marc GINGOLD (marc@david.saclay.cea.fr)
* iovfprintf.c (helper_vfprintf): add
hp->_IO_file_flags = _IO_MAGIC|(_IO_IS_FILEBUF+_IO_NO_READS);
[This is needed because _IO_vfprintf checks for _IO_UNBUFFERED. -PB]
[Actually: don't set _IO_IS_FILEBUF. -PB]
Wed Jun 22 13:49:22 1994 Per Bothner (bothner@kalessin.cygnus.com)
* stdiostream.cc, stdiostream.h (stdiobuf::buffered): New methods.
* iofdopen.c (_IO_fdopen): Various minor improvements.
* iovfscanf.c: Don't return EOF on control_failure.
Tue Dec 21 13:02:48 1993 H.J. Lu (hjl@nynexst.com)
* iovfscanf.c: Enforce the sequence of the conversion specifications.
Fri Jun 17 20:57:22 1994 Per Bothner (bothner@kalessin.cygnus.com)
* iofdopen.c: Use fcntl to check that requested access mode is
compatible with existing access mode, and to change the
O_APPEND file status flag if need be.
Thu Jun 16 17:33:50 1994 Per Bothner (bothner@kalessin.cygnus.com)
* streambuf.h (ios::init): Initialize all the fields.
This may be overkill, but the current ANSI working paper requires it.
* streambuf.h (ios::ios): Reimplement in terms of ios::init.
* iostream.cc (Non-default constructors istream::istream,
ostream::ostream, iostream::iostream): Cannot use a mem-initializer,
because it is ignored if initializing a derived class. Instead,
call ios::init.
Wed Jun 15 13:35:37 1994 Per Bothner (bothner@kalessin.cygnus.com)
* stdstreams.cc (ISTREAM_DEF): Fix typo (it's a _fake_istream, not
a _fake_ostream). Reported by Jason Shirk <jshirk@gomez.intel.com>.
* stdiostream.h, stdiostream.cc (stdiobuf::~stdiobuf): New.
Call _IO_do_flush.
*