home *** CD-ROM | disk | FTP | other *** search
/ Serving the Web / ServingTheWeb1995.disc1of1.iso / linux / slacksrce / d / libc / libc-4.6 / libc-4 / libc-linux / libio / ChangeLog < prev    next >
Encoding:
Text File  |  1994-12-12  |  42.6 KB  |  1,114 lines

  1. Sun Dec  4 19:50:32 1994  Per Bothner  <bothner@kalessin.cygnus.com>
  2.  
  3.     * fileops.c (_IO_file_init, _IO_file_close_it, _IO_file_sync):
  4.     Set _offset to _IO_pos_BAD, to support applications that follow
  5.     POSIX.1 rules on mixing file handles.
  6.  
  7.     * fileops.c (_IO_file_overflow):  Handle case that buffer was
  8.     allocated (perhaps by setvbuf) but _IO_write_base is still 0.
  9.  
  10.     * iostdio.h (setbuffer):  #define as _IO_setbuffer.
  11.     * streambuf.h, filebuf.cc:  Removed filebuf::do_write.
  12.  
  13. Tue Nov 29 23:38:57 1994  Per Bothner  (bothner@rtl.cygnus.com)
  14.  
  15.     * floatconv.c (setword0, setword1):  Fix typo.
  16.  
  17. Tue Nov 29 15:37:29 1994  Per Bothner  <bothner@kalessin.cygnus.com>
  18.  
  19.     * config.shared:  Move -fno-implicit-template from CXXFLAGS
  20.     to LIBCXXFLAGS.  Tests are better run without it.
  21.  
  22.     * floatconv.c (word0, word1):  Re-place/re-implement using unions
  23.     instead of casts to avoid optimizer problems.
  24.  
  25.     * dbz/dbzmain.c:  Renamed dirname -> dir_name to avoid OSF
  26.     header file braindamage.
  27.  
  28. Sat Nov  5 19:44:00 1994  Jason Merrill  (jason@phydeaux.cygnus.com)
  29.  
  30.     * config.shared (LIBCFLAGS): Define.
  31.     (LIBCXXFLAGS): Define.
  32.     (DOING_LIBGXX): Define TOLIBGXX.  Change LIBS to use -lg++.  Add
  33.     LD_LIBRARY_PATH and .EXPORT_ALL_VARIABLES:.
  34.     (FLAGS_TO_PASS): Add LIBC{,XX}FLAGS.
  35.     (XC{,XX}FLAGS): Set to LIBCFLAGS or CFLAGS depending on $LIBDIR.
  36.     (COMPILE.c): Define, use in .c.o rule.
  37.     (COMPILE.cc): Define, use in .cc.o rule.
  38.  
  39. Sat Nov  5 15:12:12 1994  Per Bothner  <bothner@kalessin.cygnus.com>
  40.  
  41.     * Makefile.in (VERSION):  Update to 0.67.
  42.  
  43.     * streambuf.h (ios::dont_close):  Is now set by default.
  44.     * fstream.h, fstream.cc (__fb_init):  New function.  Clears
  45.     ios::dont_close.  Change fstreambase constructors to call it.
  46.     * strstream.cc:  *strstream constructors must clear ios::dont_close.
  47.     * iostream.cc:  Simplify - don't need to set ios::dont_close.
  48.     * ioassign.cc:  Simplify - assume ios::dont_close is always set.
  49.  
  50.     * fstream.h, fstream.cc:  If _IO_NEW_STREAMS, put the
  51.     filebuf as a member __my_fb.
  52.     * strstream.{h,cc}:  Likewile use a strstreambuf member __my_sb.
  53.     * streambuf.h, stdstreams.cc, ioextend.cc:
  54.     Fix if _IO_NEW_STREAMS to not use ios::dont_close.
  55.  
  56.     * streambuf.h (class ios):  Move rdbuf later, to avoid
  57.     inability of g++ to inline.
  58.     * filebuf.cc (filebuf::~filebuf):  Call _IO_do_flush.
  59.  
  60.     * config.shared:  Emit rules to make depend.
  61.     * depend:  New file.
  62.  
  63. Fri Nov  4 17:19:11 1994  Per Bothner  <bothner@kalessin.cygnus.com>
  64.  
  65.     * README:  Fix typos.
  66.     * libio.h:  Add comment.  Update Copyright notice.
  67.  
  68. Fri Nov  4 21:46:30 1994  Paul Eggert  <eggert@twinsun.com>
  69.  
  70.     * libio.h (__P): Change argument name spelling from
  71.     `paramlist' to `protos' for compatibility with BSDI 1.1.
  72.  
  73. Thu Nov  3 00:45:16 1994  Jason Merrill  (jason@phydeaux.cygnus.com)
  74.  
  75.     * config.shared (CXXFLAGS): Add -fno-implicit-templates.
  76.  
  77. Mon Oct 24 15:57:35 1994  Per Bothner  <bothner@kalessin.cygnus.com>
  78.  
  79.     * config.shared:  Define NOSTDIC and use it for libio too.
  80.  
  81. Thu Oct 20 19:45:35 1994  Jason Merrill  (jason@phydeaux.cygnus.com)
  82.  
  83.     * iogetdelim.c: #include <stdlib.h>.
  84.  
  85. Thu Oct 20 17:09:52 1994  Per Bothner  <bothner@kalessin.cygnus.com>
  86.  
  87.     * iostream.h:  Add classes _IO_istream_withassign and
  88.     _IO_ostream_withassign.  Re-type cin, cout, cerr, clog.
  89.     (class iostream):  Don't add extra _gcount field.
  90.     * ioassign.cc:  New file.  Implement operator= for cin etc.
  91.     * streambuf.h (class ios):  Change return type of operator=.
  92.     * Makefile.in (IOSTREAM_OBJECTS):  Add ioassign.o.
  93.  
  94.     * Makefile.in:  Re-arrange, so linux.mt overrides can work.
  95.  
  96.     * fileops.c (_IO_file_seekoff):  Optimize seeks within buffer.
  97.  
  98. Wed Oct 19 14:25:47 1994  Jason Merrill  (jason@phydeaux.cygnus.com)
  99.  
  100.     * gen-params (wint_t): Return to using __WCHAR_TYPE__ for
  101.         compatibility with gcc versions prior to 2.6.1.
  102.  
  103. Tue Oct 18 17:08:18 1994  Per Bothner  <bothner@kalessin.cygnus.com>
  104.  
  105.     * Makefile.in:  Define _G_CONFOG_H as _G_config.h for Linux.  Use it.
  106.     (IO_OBJECTS):  Add iogetdelim.o.
  107.     * config/linux.mt:  New file.
  108.     * configure.in:  Select config/linux.mt if Linux.
  109.     * iogetdelim.c:  Verious cleanups, many from
  110.     Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>.
  111.     * libioP.h: Add _IO_getdelim.  Use (void) for no-parameter functions.
  112.  
  113. Thu Oct 13 16:30:56 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  114.  
  115.     * libio.h:  Rename USE_DTOA to _IO_USE_DTOA for namespace reasons.
  116.     * iostream.cc, iovfscanf.c, iovfprintf, floatconv.c:
  117.     Update USE_DTOA -> _IO_USE_DTOA.
  118.  
  119.     * libio.h (_IO_feof, _IO_ferror):  Move to here ...
  120.     * iolibio:  ... from here
  121.  
  122.     * iostream.cc (istream::get, istream::ignore, istream::read):
  123.     Set _gcount to 0 if ipfx0 failed.
  124.  
  125.     * iostream.cc (flush):  Do virtual function call, rather than
  126.     going through jumptable.  (To get correct method in derived class.)
  127.     Bug and fix from John Wiegley <jw@cis.ohio-state.edu>.
  128.  
  129.     * iofdopen.c (O_ACCMODE):  Define using O_RDWR, not O_RDWRITE.
  130.  
  131.     * streambuf.h (ios::rdbuf(streambuf*)):  New.
  132.     * streambuf.h (ios::operator=):  Make private (i.e. dis-allow).
  133.  
  134. Wed Oct 12 19:09:20 1994  Jason Merrill  (jason@phydeaux.cygnus.com)
  135.  
  136.     * gen-params: Define _G_NO_NRV and _G_NO_EXTERN_TEMPLATES if not
  137.         compiling with g++.
  138.  
  139. Thu Oct  6 16:03:43 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  140.  
  141.     * iostream.texi (ostrstream::str):  Note that NUL is not written
  142.     automatically.
  143.  
  144. Wed Oct  5 17:28:29 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  145.  
  146.     * iogetdelim.c (_IO_getdelim):  New function.
  147.  
  148. Wed Oct  5 15:40:22 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
  149.  
  150.     * config/netware.mt: New file, first cut at Netware NLM support.
  151.     * configure.in (*-*-netware*): Use config/netware.mt.
  152.  
  153.     * config.shared (NLMCONV, LD): New definition.
  154.  
  155.     * gen-params: check for nm in ${binutils}/nm.new.
  156.     * config.shared: Likewise.
  157.  
  158. Tue Oct  4 12:20:01 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  159.  
  160.     * iomanip.h (omanip::operator<<):  Make 2nd arg be const.
  161.     Bug and fix reported by Greg McGary <gkm@magilla.cichlid.com>.
  162.  
  163.     * strstream.cc (strstreambuf::pcount):  Simplify, to match
  164.     ANSI/ISO specification.
  165.  
  166. Mon Sep 26 15:19:52 1994  Jason Merrill  (jason@deneb.cygnus.com)
  167.  
  168.     * gen-params: Include <wchar.h> and <wctype.h> if they exist.
  169.  
  170. Thu Sep  8 14:41:41 1994  Jason Merrill  (jason@deneb.cygnus.com)
  171.  
  172.     * iostream.h (class istream): Declare operator>>(long double&).
  173.     (class ostream): Define operator<<(long double).
  174.  
  175.     * iostream.cc (istream::operator>>(long double&)): Define.
  176.  
  177. Wed Sep  7 14:42:29 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  178.  
  179.     * iostream.texi (Overflow):  Fix bugs in example.
  180.  
  181. Fri Sep  2 17:45:57 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  182.  
  183.     * iostream.tex:  Document a little on how to write your
  184.     own streambuf-derived class, with an example.
  185.  
  186. Tue Aug 30 13:03:57 1994  Brendan Kehoe  (brendan@lisa.cygnus.com)
  187.  
  188.     * floatconv.c (s2b): Declare X and Y to be _G_int32_t.
  189.     (diff, quorem): Declare BORROW, Y, and Z likewise.
  190.     (ulp): Declare L likewise.
  191.     (_IO_strtod): Declare L and AADJ likewise.
  192.     (_IO_dtoa): Declare L and D likewise.  Cast division of D by DS to
  193.     _G_int32_t.
  194.  
  195. Mon Aug 29 16:01:54 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  196.  
  197.     * iosetvbuf.c (_IO_setvbuf):  If setting _IOFBF and no
  198.     buffer was specified, call __doallocate.
  199.  
  200.     * fileops.c, floatconv.c:  Add a bunch of parentheses to
  201.     shut up gcc warnings.  Patch from H.J.Lu.
  202.  
  203.     * stdiostream.cc (stdiobuf::sys_read):  Inline call to getc
  204.     for the normal case (size==1).
  205.  
  206. Sat Aug 20 12:14:52 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  207.  
  208.     * Makefile.in (VERSION):  Increase to 0.66.
  209.  
  210. Fri Aug 19 17:28:41 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  211.  
  212.     * iolibio.h:  Added _IO_printf prototype.
  213.     Added extern "C" { ... } wrappers #ifdef __cplusplus.
  214.     Bugs reported by Neal Becker <neal@ctd.comsat.com>.
  215.  
  216. Wed Aug 17 18:17:15 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  217.  
  218.     * fileops.c (_IO_file_seekoff):  For _IO_seek_cur, adjust for
  219.     read-ahead before jumping to label dumb.
  220.  
  221. Wed Aug  3 13:15:01 1994  H.J. Lu  (hjl@nynexst.com)
  222.  
  223.     * libioP.h (CHECK_FILE(FILE,RET)): new, which checks for
  224.       FILE == NULL and _IO_MAGIC_MASK.
  225.       (COERCE_FILE(FILE)): merged into CHECK_FILE(FILE,RET)
  226.       with typo fixes.
  227.  
  228.     * iofread.c, iofwrite.c: add CHECK_FILE(fp, 0);
  229.     * iofclose.c: add CHECK_FILE(fp, EOF); remove _IO_MAGIC_MASK check.
  230.  
  231.     * iofflush.c, iofgetpos.c, iofputs.c, iofscanf.c,
  232.     iofsetpos.c, iofvbuf.c, ioungetc.c:
  233.     Add CHECK_FILE(fp, EOF) and remove COERCE_FILE(fp).
  234.  
  235.     * iofgets.c: add CHECK_FILE(fp, NULL) and remove COERCE_FILE(fp).
  236.     * iofprintf.c: add CHECK_FILE(fp, -1) and remove COERCE_FILE(fp).
  237.     * ioftell.c: add CHECK_FILE(fp, -1L) and remove COERCE_FILE(fp).
  238.     * iosetbuffer.c: add CHECK_FILE(fp, ) and remove COERCE_FILE(fp).
  239.  
  240. Fri Aug 12 15:35:39 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  241.  
  242.     * iofdopen.c (_IO_fdopen):  #define O_ACCMODE if it isn't.
  243.     Still set O_APPEND if "a" is given, but don't unset it
  244.     if it isn't.  Added comment.
  245.  
  246. Mon Aug  8 13:11:00 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  247.  
  248.     * gen-params (VTABLE_LABEL_PREFIX):  Changes in the implementation.
  249.     For look for _*vt[$_.]7*filebuf in the nm output, because that
  250.     matches what g++ produces and has produced.  Thus it should be
  251.     somewhat more robust.
  252.  
  253. Sun Aug  7 22:52:49 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  254.  
  255.     * gen-params (CC):  Remove no-longer-needed -I options
  256.     passed to xgcc (now they are implied by the -B options).
  257.  
  258. Wed Jul 20 16:41:13 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  259.  
  260.     * Makefile.in (tooldir):  Added definition, so we can do
  261.     'make install' in this directory.
  262.     Bug reported by Klamer Schutte <schutte@tpd.tno.nl>.
  263.  
  264. Mon Jul 18 18:02:34 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  265.  
  266.     * gen-params (VTABLE_LABEL_PREFIX):  Remove filename sppearing
  267.     by itself.  Add comment explaining what is going on.
  268.  
  269. Tue Dec 21 13:02:48 1993  H.J. Lu  (hjl@jalod)
  270.  
  271.     * libio.h: define _IO_uid_t and _IO_HAVE_ST_BLKSIZE
  272.       as _G_xxxxxxxx.
  273.  
  274. Tue Dec 21 13:02:48 1993  H.J. Lu  (hjl@jalod)
  275.  
  276.     * iopopen.c:  Don't include <errno.h>. It is included in "libioP.h".
  277.  
  278.     * iopopen.c (_IO_proc_close) : check if fp is on the list
  279.       before close it.
  280.  
  281. Thu Jul 14 16:38:47 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  282.  
  283.     * gen-params (CONFIG_NM):  Make sed scripts to find vtable name
  284.     mangling more robost for different forms of nm output.
  285.  
  286. Tue Dec 21 13:02:48 1993  H.J. Lu  (hjl@jalod)
  287.  
  288.     * iofopen.c (_IO_fopen): don't check [redundantly] fp == NULL after
  289.       IO_file_init(&fp->_file).
  290.  
  291.     * iomanip.h (template<class TP> class iapp):
  292.       change ostream to istream.
  293.  
  294. Tue Jul 12 14:09:02 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  295.  
  296.     * Makefile.in (VERSION):  Increase to 0.65.
  297.     * libioP.h (builtinbuf_vtable):  Only define #ifdef __cplusplus.
  298.  
  299.     * gen-params (_G_int8_t):  Only define if defined(__STDC__),
  300.     because K&R C compilers don't have signed char.
  301.     (_G_int64_t, _G_uint64_t):  Only define if defined(__GNUC__)
  302.     because other compilers may not have long long.
  303.  
  304. Sun Mar 06 13:10:21 1994  H.J. Lu  (hjl@nynexst.com)
  305.  
  306.     * floatconv.c (_IO_dtoa ()): fix a small memory leak, set the
  307.       "on_stack" field to be 0 if "result" is not NULL.
  308.  
  309. Sat Mar 05 13:18:20 1994  H.J. Lu  (hjl@nynexst.com)
  310.  
  311.     * floatconv.c (_IO_dtoa ()): if the number of digits of the
  312.       floating point number is more than the previous one, free the
  313.       old string and allocate a new one.
  314.       [Minor optimization to avoid Bcopy. -PB]
  315.  
  316. Mon Jul 11 10:53:41 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  317.  
  318.     * fileops.c (_IO_file_underflow):  'count' should be unsigned,
  319.     since it contains the return value of read.  Reported by
  320.     Teemu Torma <tot@trema.fi>.
  321.  
  322. Tue Dec 21 13:02:48 1993  H.J. Lu  (hjl@nynexst.com)
  323.  
  324.     * floatconv.c (_IO_strtod ()): make "+" and "-" as error.
  325.  
  326. Sat Jul  9 15:09:21 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  327.  
  328.     Make sure _IO_FILE::_flags is always initialized correctly, for the
  329.     C functions (fopen, fdopen, popen), and not just the C++ functions.
  330.     * fileops.c (_IO_file_init):  Set _flags to CLOSED_FILEBUF_FLAGS.
  331.     * fileops.c (_IO_file_fopen):  Remove bogus assignment.
  332.     * filebuf.cc (filebuf constructors):  Don't pass CLOSED_FILEBUF_FLAGS
  333.     to streambuf constructor - _IO_file_init does it instead.
  334.     * filebuf.cc (CLOSED_FILEBUF_FLAGS):  Removed.
  335.     * iopopen.c (_IO_proc_open):  Use _IO_mask_flags.
  336.  
  337. Thu Jun 30 08:49:53 1994  Jason Merrill  (jason@deneb.cygnus.com)
  338.  
  339.     * dbz/Makefile.in (mostlyclean): Add target.
  340.  
  341. Wed Jun 29 09:30:12 1994  Jason Merrill  (jason@deneb.cygnus.com)
  342.  
  343.     * gen-params: Woops, can't run a C program to determine target
  344.         characteristics.  Sigh.
  345.  
  346. Tue Jun 28 03:11:33 1994  Jason Merrill  (jason@deneb.cygnus.com)
  347.  
  348.     * gen-params: Add _G_{,u}int{8,16,64}_t, use a short C program to
  349.         determine what all these should be rather than trying to compare
  350.         the MAX numbers in the shell.
  351.  
  352. Sun Jun 26 21:04:24 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  353.  
  354.     * stdiostream.h, stdiostream.cc (stdiobuf::xsgetn):  Removed.
  355.     Too hairy.  If we want to optimize it, we should do so in
  356.     filebuf::xsgetn (or rather _IO_file_xsgetn).
  357.  
  358.     * stdiostream.h (class stdiobuf), stdiostream.cc:  Fix parameter
  359.     and return types of virtual function to matcher base types (Oops!).
  360.     * streamstream.cc (stdiobuf::xsgetn, stdiobuf::xsputn):
  361.     Optimize to call fread.fwrite directly if !buffered.
  362.     * fileops.c:  Fix comment.
  363.  
  364. Fri Jun 24 11:28:18 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  365.  
  366.     * stdiostream.h (istdiostream, ostdiostream):  New classes.
  367.  
  368.     More robust final cleanup.
  369.     * cleanup.c (_IO_register_cleanup):  Register _IO_cleanup,
  370.     rather than _IO_flush_all.
  371.     * filedoalloc.c: Update comment.
  372.     * genops.c (_IO_unbuffer_all):  New.  Makes all files unbuffered.
  373.     * genops.c (_IO_cleanup), libioP.h:  New function.  Call
  374.     _IO_flush_all, and then _IO_unbuffer_all.  This is in case C++
  375.     destructors try to do output *after* _IO_cleanup is called.
  376.  
  377.     Construct standard stdiobufs statically (using type punning).
  378.     * stdstrbufs.c;  Unless _STDIO_USES_IOSTREAM declare standard
  379.     stdiobufs (for stdin, stdout, and stderr), using type punning
  380.     (struct _IO_fake_stdiobuf).  This avoids constructor-time problems.
  381.     * stdstreams.cc:  Remove the declarations of the stdiobufs.
  382.     Instead use the new (fake) ones in stdstrbufs.cc.  We no longer
  383.     have to call ios::sync_with_stdio at constructor time.
  384.  
  385.     Preliminary support for new ANSI streambuf::uflow virtual.
  386.     * libioP.h (struct _IO_jump_t):  Add __uflow field.
  387.     * genops.c (_IO_default_uflow), libioP.h:  New function.
  388.     * fileops.c (_IO_file_jumps), iopopen.c (IO_proc_jumps),
  389.     iovfprintf.c (_IO_helper_jumps), strops.c (_IO_str_jumps),
  390.     streambuf.cc (_IO_streambuf_jumps):  Add _IO_default_uflow.
  391.     * genops.c (__uflow):  New function.
  392.     (save_for_backup):  New function.  Some code shared by
  393.     __underflow and __uflow, moved out from the former.
  394.     (_IO_default_uflow):  New function.
  395.     * libio.h (_IO_getc):  Call __uflow, not __underflow.
  396.  
  397. Wed Jun 22 20:22:49 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  398.  
  399.     Make sure that the vtable of a streambuf is always valid,
  400.     which makes ios::rdbuf simpler and faster.
  401.     * gen-params:  Add code to determine _G_VTABLE_LABEL_HAS_LENGTH,
  402.     _G_VTABLE_LABEL_PREFIX, _G_VTABLE_LABEL_PREFIX_ID, and
  403.     _G_USING_THUNKS, which describe how virtual function tables are named.
  404.     * stdfiles.c (FILEBUF_LITERAL):  Moved to libioP.h.
  405.     * libioP.h (builtinbuf_vtable):  New (complicated) declaration.
  406.     * filebuf.cc (filebuf::__new), strstream.cc (SET_STR_JUMPS):
  407.     Initialize vtable to builtinbuf_vtable, not NULL.
  408.     * stdstrbufs.cc:  New file.  Same as stdfiles.c, except that
  409.     vtable is initialized to builtinbuf_vtable, not NULL.
  410.     * streambuf.h (ios::rdbuf):  Can now simplify/optimize, due to
  411.     above changes.  Always, just return _strbuf.
  412.     * builtinbuf.h, builtinbuf.cc (builtinbuf::vtable,
  413.     builtinbuf::get_builtin_vtable):  Removed.  No longer needed.
  414.     * streambuf.h, builtinbuf.cc (ios::_IO_fix_vtable):  No longer needed.
  415.     Only defined #ifdef _STREAM_COMPAT, for binary compatibility.
  416.     * Makefile.in:  Move stdfiles.o from IO_OBJECTS to STDIO_WRAP_OBJECTS.
  417.     (IOSTREAM_OBJECT):  Add stdstrbufs.o.
  418.     * Makefile.in (_G_config.h):  Pass $(CXXFLAGS) as part of $(CXX).
  419.  
  420. Fri Feb 11 11:08:01 1994  SBPM Marc GINGOLD (marc@david.saclay.cea.fr)
  421.  
  422.     * iovfprintf.c (helper_vfprintf): add
  423.       hp->_IO_file_flags = _IO_MAGIC|(_IO_IS_FILEBUF+_IO_NO_READS);
  424.     [This is needed because _IO_vfprintf checks for _IO_UNBUFFERED. -PB]
  425.     [Actually:  don't set _IO_IS_FILEBUF. -PB]  
  426.  
  427. Wed Jun 22 13:49:22 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  428.  
  429.     * stdiostream.cc, stdiostream.h (stdiobuf::buffered):  New methods.
  430.  
  431.     * iofdopen.c (_IO_fdopen):  Various minor improvements.
  432.  
  433.     * iovfscanf.c:  Don't return EOF on control_failure.
  434.  
  435. Tue Dec 21 13:02:48 1993  H.J. Lu  (hjl@nynexst.com)
  436.  
  437.     * iovfscanf.c:  Enforce the sequence of the conversion specifications.
  438.  
  439. Fri Jun 17 20:57:22 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  440.  
  441.     * iofdopen.c:  Use fcntl to check that requested access mode is
  442.     compatible with existing access mode, and to change the
  443.     O_APPEND file status flag if need be.
  444.  
  445. Thu Jun 16 17:33:50 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  446.  
  447.     * streambuf.h (ios::init):  Initialize all the fields.
  448.     This may be overkill, but the current ANSI working paper requires it.
  449.     * streambuf.h (ios::ios):  Reimplement in terms of ios::init.
  450.     * iostream.cc (Non-default constructors istream::istream,
  451.     ostream::ostream, iostream::iostream):  Cannot use a mem-initializer,
  452.     because it is ignored if initializing a derived class.  Instead,
  453.     call ios::init.
  454.  
  455. Wed Jun 15 13:35:37 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  456.  
  457.     * stdstreams.cc (ISTREAM_DEF):  Fix typo (it's a _fake_istream, not
  458.     a _fake_ostream).  Reported by Jason Shirk <jshirk@gomez.intel.com>.
  459.  
  460.     * stdiostream.h, stdiostream.cc (stdiobuf::~stdiobuf):  New.
  461.     Call _IO_do_flush.
  462.     * stdiostream.cc (stdiobuf::sync):  Call _IO_do_flush rather
  463.     than filebuf::sync (to avoid bad seeks).
  464.  
  465.     * libioP.h (_IO_do_flush):  Add missing parentheses.
  466.  
  467. Fri Jun  3 19:16:57 1994  Jason Merrill  (jason@deneb.cygnus.com)
  468.  
  469.     * config.shared (CXXFLAGS): Remove -fno-implicit-templates.
  470.  
  471.     * iomanip.h: Add explicit external instantiations.
  472.  
  473. Wed Jun  1 14:14:44 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  474.  
  475.     * libio.h (struct _IO_FILE_plus):  Move definition from here ...
  476.     * libioP.h (struct _IO_FILE_plus):  ... to here.  Since this
  477.     file is private to the implementation, we can rename the fields
  478.     from the implementor's to the user's name anme space.
  479.     (This avoids a lossage on SCO, whose stdio.h has a #define _file.)
  480.     * iofdopen.c, iofopen.c, stdfiles.c:  Fix field references accordingly.
  481.     * iopopen.c (struct_IO_proc_file):  Rename fields from
  482.     implementor's name space to user's, and update usages.
  483.     * streambuf.h (streambuf::_vtable):  Re-implement to not need
  484.     struct _IO_FILE_plus.
  485.     * strfile.h (struct _IO_strfile_): Likewise.
  486.  
  487. Wed Jun  1 13:57:48 1994  Jason Merrill  (jason@deneb.cygnus.com)
  488.  
  489.     * config.shared (CXXFLAGS): Use -fno-implicit-templates instead of
  490.     -fexternal-templates.
  491.  
  492. Tue May 31 08:49:28 1994  Mike Stump  (mrs@cygnus.com)
  493.  
  494.     * genops.c, iofclose.c, iofdopen.c, iofopen.c, iopopen.c: Be
  495.     consistent about protecting #include <stdlib.h>.
  496.  
  497.     * ioputs.c: Add #include <string.h>, to avoid warning on alpha.
  498.  
  499.     * iofdopen.c: Add #include <stdlib.h>, so that malloc works on
  500.     machines where sizeof(int) != sizeof(void *).
  501.  
  502. Mon May 30 17:26:49 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  503.  
  504.     * pfstream.cc (ipfstream::ipfstream, opfstream::opfstream):
  505.     Reverse sense of test of return value of procbuf::open.
  506.     (It returns NULL on failure.)
  507.  
  508.     * filedoalloc.c (_IO_file_doallocate):  Remove dead code for
  509.     USE_MALLOC_BUF.  Add code to return EOF if ALLOC_BUF fails.
  510.  
  511. Sat May 28 13:47:47 1994  Jason Merrill  (jason@deneb.cygnus.com)
  512.  
  513.     * iomanip.cc: Explicitly instantiate smanip<int> and
  514.     smanip<ios::fmtflags>.
  515.  
  516. Wed May 25 16:04:12 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  517.  
  518.     * strfile.h:  Use __P instead of _PARAMS.
  519.  
  520. Fri May 20 11:42:17 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  521.  
  522.     * libio.h: Rename _PARAMS macro to __P for better glibc and BSD
  523.     compatibility.  (Also define _PARAMS for backwards compatibility.)
  524.     * cleanup.c, iolibio.h, ioperror.c, iovfprintf.c, iovfscanf.c,
  525.     libioP.h: Use __P instead of _PARAMS.
  526.     * iostdio.h: Use __P instead of _ARGS.
  527.  
  528.     * fileops.c (_IO_file_read):  Minor stylistic tweak.  (It is
  529.     preferable to test errno *after* the error return.)
  530.  
  531. Fri May 13 15:25:36 1994  Jason Merrill  (jason@deneb.cygnus.com)
  532.  
  533.     * iostream.*: Add insertor and extractor for bool (just pretend
  534.     it's an int).
  535.  
  536. Fri May 13 14:12:03 1994  Mike Stump  (mrs@cygnus.com)
  537.  
  538.     * gen-params: Check for builtin bool support.
  539.  
  540. Wed May 11 00:48:35 1994  Jason Merrill  (jason@deneb.cygnus.com)
  541.  
  542.     Make libg++ build with gcc -ansi -pedantic-errors
  543.     * gen-params: #ifdef __STRICT_ANSI__, #define _G_NO_NRV.
  544.     * pfstream.cc (ipfstream::ipfstream): Wrap use of variable-size
  545.     array in #ifndef __STRICT_ANSI__.
  546.  
  547. Fri May  6 12:42:21 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  548.  
  549.     * Makefile.in (VERSION):  Increase to 0.64.
  550.  
  551.     * isgetline.cc (istream::getline):  The delimiter should *not*
  552.     be included in the gcount().
  553.  
  554.     * filedoalloc.c:  #include <stdlib.h> (If __STDC__) to get malloc.
  555.     * iostream.h (ostream::put):  Remove overloaded versions, to match
  556.     new working paper.  (Actually just put inside _STREAM_COMPAT, for now.)
  557.  
  558. Tue May  3 14:14:57 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  559.  
  560.     * genops.c (_IO_default_finish):  Make robust when called
  561.     multiple times on the same _IO_FILE*.  (One way this can
  562.     happen is by the builtinbuf destructor being followed by the
  563.     streambuf destructor.)
  564.  
  565. Mon May  2 13:55:26 1994  Jason Merrill  (jason@deneb.cygnus.com)
  566.  
  567.     * gen-params: Actually determine wint_t rather than depending on
  568.     cpp to provide it or defaulting to the underlying type for
  569.     wchar_t.
  570.  
  571. Sat Apr 30 14:47:30 1994  Jason Merrill  (jason@deneb.cygnus.com)
  572.  
  573.     * gen-params: Add _G_wint_t, allow __*_TYPE__ to override values
  574.     at compile time, fix definition of _G_ARGS.
  575.  
  576. Fri Apr 29 16:55:37 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  577.  
  578.     * libio.h: Remove #pragma interface.  (There is no implementation.)
  579.  
  580. Mon Mar 28 14:22:26 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  581.  
  582.     * iostream.cc (ostream::operator<<(double)):  Add/fix support
  583.     for printing '+' when ios::showpos is set.
  584.     (Fixes bug reported by Doug Moore <dougm@cs.rice.edu>.)
  585.     * iostream.cc (istream::read):  Set eofbit as well as failbit on eof.
  586.     * iostream.cc (ostream::operator<<(int)):  Fix conversion
  587.     to unsigned (used to lose on INT_MIN).
  588.     * iostream.cc (ostream::operator<<(long)):  Use (unsigned long),
  589.     rather than (unsigned) for temporary.
  590.  
  591.     * config.shared, Makefile.in:  Remove definitions and uses
  592.     of XTRAFLAGS.  It is no longer needed, since it is
  593.     now implied by the -B flag.
  594.  
  595. Fri Mar 25 00:31:22 1994  Jason Merrill  (jason@deneb.cygnus.com)
  596.  
  597.     * builtinbuf.h: Add put /**/ around comment on trailing #endif.
  598.  
  599.     * Makefile.in (c++clean): Make clean in tests subdir, too.
  600.  
  601. Wed Mar 23 16:42:09 1994  Doug Evans  (dje@canuck.cygnus.com)
  602.  
  603.     * configure.in: Remove Makefile.tem before creating it.
  604.     Needed when configuring from read-only source trees.
  605.  
  606. Wed Mar 16 14:06:42 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  607.  
  608.     * stdstreams.cc:  Fix so that stdiobuf are used for cin/cout/cerr,
  609.     unless _STDIO_USES_IOSTREAM is defined.
  610.     * filebuf.cc (filebuf::setbuf):  Fix confusion about return
  611.     value from _IO_file_setbuf.
  612.  
  613. Sun Mar 13 00:54:12 1994  Paul Eggert  (eggert@twinsun.com)
  614.  
  615.     * config.shared: Ensure that `all' precedes `.PHONY';
  616.     BSDI 1.1 needs this.
  617.  
  618. Sat Mar 12 03:58:00 1994  Paul Eggert  (eggert@twinsun.com)
  619.  
  620.     * config.shared: Output a definition of INSTALL that uses
  621.     $${rootme}, not ${rootme}.  Most `make's don't care, but BSDI
  622.     1.1 `make' does.
  623.  
  624. Fri Mar  4 17:33:01 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  625.  
  626.     * iopopen.c:  #define _POSIX_SOURCE.
  627.     * isgetline.c (istream::getline):  Various fixes.
  628.  
  629. Thu Mar  3 17:58:20 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  630.  
  631.     * iostream.cc (write_int):  Fix test for when to add initial '0'
  632.     when ios::oct and ios::showbase are set.
  633.     For hex, showbase adds initial 0x (or 0X) regardless of val==0.
  634.     Bugs reported by Phil Roth <proth@cs.uiuc.edu>.
  635.  
  636. Mon Feb 21 13:18:20 1994  H.J. Lu  (hjl@nynexst.com)
  637.  
  638.     * libio.h (_IO_PENDING_OUTPUT_COUNT(_fp)): return the
  639.     pending output count in _fp.
  640.  
  641. Fri Feb 25 09:26:57 1994  Ian Lance Taylor  (ian@cygnus.com)
  642.  
  643.     * gen-params: For HAVE_SYS_WAIT, compile dummy.c, not dummy.C.
  644.  
  645. Tue Feb 22 11:19:09 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  646.  
  647.     * streambuf.h, genops.c, libioP.h:  Rename references to
  648.     _IO_FILE fields other_gbase => _IO_save_base,
  649.     _aux_limit => _IO_backup_base, and _other_egptr => _IO_save_end.
  650.     * libio.h:  Remove no-longer needed macros _other_gbase,
  651.     _aux_limit, and _other_egptr.
  652.     * genops.c (__underflow, _IO_default_finishh, _IO_unsave_markers):
  653.     Check _IO_save_base for NULL before FREEing it or calling
  654.     _IO_free_backup_area.
  655.  
  656. Thu Feb 17 15:26:59 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  657.  
  658.     * gen-params:  Improve deduction of _G_uint32 and _G_int32.
  659.     Should now work for 16-bit, 32-bit, or 64-bit targets.
  660.     * gen-params:  Check for sys/wait.h using ${CC}, since it's
  661.     now used in a C file, not a C++ file.
  662.     * floatconv.c:  Typedef _G_uint32_t as unsigned32, and use
  663.     unsigned32 in place of unsigned long.  (Needed for Alpha.)
  664.  
  665. Tue Feb  8 13:40:15 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  666.  
  667.     * fileops.c (_IO_file_close_it):  Simplify by using _IO_do_flush.
  668.     * fileops.c (_IO_file_finish):  Don't call _IO_file_close_it -
  669.     do it inline.  Call _IO_do_flush even if _IO_DELETE_DONT_CLOSE.
  670.     * fileops.c (_IO_file_attach):  Set _IO_DELETE_DONT_CLOSE.
  671.     * genops.c (_IO_flush_all):  Only call overflow if there is
  672.     something to write.
  673.     * iofclose.c (_IO_fclose):  Check that magic number is correct,
  674.     and clear it when done.  Avoids crashing some buggy applications.
  675.     * iogetline.c (_IO_getline):  Don't gratuitously increment old_len.
  676.     * iogets.c (_IO_gets):  Take care to get required ANSi semantics.
  677.  
  678. Sun Feb  6 19:50:39 1994  Jason Merrill  (jason@deneb.cygnus.com)
  679.  
  680.     * iomanip.cc: Explicitly instantiate operator<< and >>.
  681.  
  682. Fri Feb  4 12:28:22 1994  Jason Merrill  (jason@deneb.cygnus.com)
  683.  
  684.     * config.shared (CXXFLAGS): Use -fexternal-templates.
  685.  
  686.     * iomanip.h: Uncomment #pragma interface.
  687.  
  688. Thu Jan 20 13:48:40 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  689.  
  690.     If no characters are read by fgets, ANSI C doesn't allow '\0' to
  691.     be written to the buffer, but it is required by ANSI C++
  692.     for istream::get and istream::getline.  Both use _IO_getline ...
  693.     * iogetline.c (_IO_getline):  Don't write a '\0' at the end
  694.     of the read data.  The input buffer length does not include
  695.     space for a '\0'.
  696.     * iofgets.c, iogets.c:  Change appropriately.
  697.     Also check for _IO_ERR_SEEN, as required by ANSI.
  698.     * isgetline.cc:  Update accordingly.
  699.  
  700. Mon Jan 17 13:24:26 1994  Jason Merrill  (jason@deneb.cygnus.com)
  701.  
  702.     * Makefile.in (c++clean): Added target for compiler testing
  703.     (i.e. make c++clean all).
  704.  
  705. Mon Jan 10 11:20:42 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  706.  
  707.     * libio.h (_IO_putc):  Add parentheses.
  708.     Patch from Rik Faith <faith@cs.unc.edu>.
  709.  
  710. Tue Jan  4 01:32:28 1993  Hongjiu Lu (hjl@nynexst.com)
  711.  
  712.     * genops.c (_IO_default_xsputn):
  713.       (_IO_default_xsgetn):
  714.     * ioignore.c: change "_IO_size_t count" to
  715.       "_IO_ssize_t count".
  716.     * iogetline.c: change "_IO_size_t len" to
  717.       "_IO_ssize_t len".
  718.  
  719. Mon Dec 20 00:31:21 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  720.  
  721.     * config.shared (CXXINCLUDES):  Fix quoting of $(NOSTDINC).
  722.  
  723. Sun Dec 19 21:03:45 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  724.  
  725.     * Makefile.in (VERSION):  Increase to 0.63.
  726.  
  727. Fri Dec 17 13:02:44 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  728.  
  729.     * iofread.c (_IO_fread):  Return 0 if either size or count is 0.
  730.     * iofwrite.c (_IO_fwrite):  Return 0 if either size or count is 0.
  731.     (This is consistent with fread, and most implementations, but not
  732.     with a literal reading of the ANSI spec.)
  733.     * iovfscanf.c (_IO_vfscanf):  If got EOF while skipping spaces,
  734.     set seen_eof and break (instead of returning).
  735.     * sbscan.cc (streambuf::vscan):  Set error state before returning.
  736.     * streambuf.h:  Add a forward declarations for class istream
  737.     to work around a g++ vtable name mangling bug.  (Patch from
  738.     harry@pdsrc.hilco.com via Jeffrey A Law <law@snake.cs.utah.edu>.)
  739.     * NEWS:  New file.
  740.  
  741. Sat Dec 11 16:21:08 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  742.  
  743.     * iovfprintf.c (struct helper_file, _IO_helper_overflow,
  744.     helper_vfprintf, _IO_helper_jumps):  New structs and functions.
  745.     (_IO_vfprintf):  Use helper_vfprintf to make printing to
  746.     unbuffered files more efficient.
  747.     * genops.c (_IO_default_underflow), libioP.h:  New function.
  748.  
  749.     * iovsscanf.c (_IO_vsscanf):  The input string's length marks
  750.     its logical end-of-file.
  751.  
  752. Wed Dec  8 13:20:46 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  753.  
  754.     * indstream.cc (indirectbuf::sync()):  Don't crash if get_stream()
  755.     or put_stream() are NULL;  sync() both streams even if error.
  756.  
  757. Sun Dec  5 19:24:29 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
  758.  
  759.     * iostreamP.h (convert_to_seekflags): Use _IO_seek_set instead of
  760.     0 inside the conditial expressions.
  761.  
  762.     * iofsetpos.c (_IO_fsetpos): Delete unused var `pos'.
  763.  
  764. Sat Dec  4 15:57:26 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  765.  
  766.     * filedoalloc.c (_IO_file_doallocate):  Change type of couldbetty
  767.     to int, and type of size to _IO_size_t, instead of size_t.
  768.     (Change needed for Ultrix, which incorrectly deliberately doesn't
  769.     define size_t in <sys/types.h> if _POSIX_SOURCE is defined.)
  770.  
  771. Thu Dec  2 22:43:03 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  772.  
  773.     * fileops.c (_IO_file_finish):  Remove redundant call to _IO_un_link.
  774.     * iofclose.c (_IO_fclose):  Don't call fp->_jumps->__close;  it's
  775.     too low-level.  Instead call _IO_file_close_it.
  776.     * dbz/Makefile.in (rclean, distclean):  Add some missing files.
  777.  
  778. Wed Dec  1 13:19:14 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  779.  
  780.     * config/hpux.mt (MATH_H_INLINES): No longer define.
  781.     Patch from Jeffrey A Law <law@snake.cs.utah.edu>.
  782.  
  783. Fri Nov 26 13:28:36 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  784.  
  785.     * config.shared (CINCLUDES):  Define default if libg++.
  786.     * iofread.c:  Use _IO_sgetn.c.
  787.     * iolibio.h (_IO_clearerr):  Fix typo.
  788.     * genops.c (_IO_seekmark):  Return 0 on success.
  789.     * floactconv.c (Binit):  Change to static.
  790.     * iofclose.c (_IO_fclose):  Check if file is _IO_stdin, _IO_stdout,
  791.     or _IO_stderr;  if so don't try to free it.  Fix from hjl@nynexst.com.
  792.  
  793.     * genops.c (_IO_default_sync), libioP.h:  New function.
  794.     * libioP.h (_IO_default_close):  Use _IO_default_sync -same interface.
  795.  
  796.     * Makefile.in:  Increase version to 0.62.
  797.     * iopopen.c (_IO_proc_close):  Use waitpid (available in libibarty,
  798.     if needed), rather than wait.  Don't block/ignore SIGINT etc,
  799.     as this is counter to Posix.2.
  800.     * iopopen.c:  Chain open proc_files, and have the child close
  801.     the ones that are open (as required by Posix.2).
  802.  
  803.     * fstream.h (fstreambase::rdbuf), strstream.h (strstreambase
  804.     ::rdbuf):  Call ios::rdbuf() instead of getting _strbuf directly.
  805.  
  806.     * sbscan.cc (streambuf::vscan):  Comment out duplicate default arg.
  807.     * floatconv.c:  Recognize Alpha and i860 as little-endian.
  808.     * streambuf.cc:  Return two bogus value returns from void functions.
  809.     * iolibio.h, iofwrite.c:  Fix buffer type to (const void*).
  810.     * libio.h:  Predefine of struct _IO_FILE to help non-g++-compilers.
  811.     * libioP.h, pfstream.cc, stdfiles.c, iovfscanf.c: Cleanup syntax junk.
  812.     * stdstreams.cc:  Minor simplification.
  813.     * streambuf.h, builtinbuf.cc:  Add non-const ios::_IO_fix_vtable()
  814.     for temporary binary compatibility.
  815.  
  816.     * filedoalloc.c, fileops.c:  Add _POSIX_SOURCE.
  817.     * fileops.c, iofopen.c, iofputs.c, iostream.cc, strops.c,
  818.     strstream.cc, genops.c:  Add some missing #includes.
  819.     * iofopen.c, iofdopen.c:  Return NULL if malloc fails.
  820.     * iovfscanf.c:  Fix return type in strtol prototype.
  821.     * fwrite.c:  Remove bogus file.
  822.  
  823. Wed Nov 17 14:09:42 1993  Per Bothner  (bothner@cygnus.com)
  824.  
  825.     * builtinbuf.cc (ios::_IO_fix_vtable), streambuf.h:  Make method
  826.     const, to reduce problems with -Wcast-qual.
  827.  
  828. Tue Nov 16 19:30:42 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
  829.  
  830.     * config.shared (CXXINCLUDE): use ${} instead of $() for NOSTDINC
  831.  
  832. Tue Nov 16 14:15:45 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  833.  
  834.     * iopopen.c (_IO_proc_close):  Re-structure to avoid
  835.     declarations after statements.
  836.     * floatconv.c:  If not __STDC__, #define DBL_MANT_DIG.
  837.     * config/isc.mt (G_CONFIG_ARGS): Remove bogus spaces.
  838.     Patch from David A. Avery <daa@nic.cerf.net>.
  839.  
  840. Tue Nov 16 15:58:31 1993  Mark Eichin  (eichin@cygnus.com)
  841.  
  842.     * Makefile.in (_G_config.h): explicitly use $(SHELL) to run
  843.     gen-params, since we know it is a script (we're explicitly looking
  844.     in ${srcdir} for it) and /bin/sh might not be good enough.
  845.  
  846. Mon Nov 15 13:26:22 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  847.  
  848.     * builtinbuf.cc:  Don't depend on initialization of static
  849.     variable builtinbuf::vtable, since that might happen after
  850.     we need it (for a static constructor).  Instead, initialize
  851.     it when needed by inlining the code from get_builtin_vtable
  852.     into ios::_IO_fix_vtable().
  853.  
  854.     * floatconv.c:  Avoid using #elif, which some C compilers lack.
  855.     * iogetline.c, libioP.h:  Make char parameter be int, to avoid
  856.     some default promotion anomalies.
  857.  
  858. Fri Nov  5 11:49:46 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  859.  
  860.     * config.shared (do-clean-dvi):  Remove TeX work files.
  861.     * iopopen.c (extern _IO_fork):  Don't use parameter type void.
  862.     * strops.c (_IO_str_init_static):  Clear the allocate_buffer
  863.     function pointer, to mark the strfile as being static.
  864.     Bug fix from Mike Raisbeck <mike@pudding.rtr.COM>.
  865.  
  866. Thu Nov  4 10:44:24 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  867.  
  868.     * filebuf.cc (filebuf:): Use sseekoff rather than seekoff
  869.     (which loses if vtable pointer is NULL).
  870.  
  871.     * iostream.cc (ostream::operator<<(long long n)):  Fix thinko.
  872.  
  873.     * Makefile.in (VERSION):  Increase to 0.60.
  874.     * Makefile.in (IO_OBJECTS):  Added iopopen.o.
  875.     * config.shared (DISTCLEAN):  Also remove Make.pack.
  876.     * config.shared (CXXINCLUDES):  Add $(NOSTDINC).
  877.  
  878.     * config.shared (INSTALL):  Fix so it ues the correct install.sh
  879.     whether $srcdir is absolute or relative.
  880.  
  881.     * floatconv.c (DBL_MAX_10_EXP): Fix default value.
  882.  
  883. Wed Nov  3 10:20:49 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  884.  
  885.     * gen-params:  Make more robust to allow random junk (NeXT
  886.     has spaces) before typedefs.
  887.  
  888.     * fileops.c (_IO_file_overflow):  Reduce code duplication.
  889.     * Makefile.in (IO_OBJECTS):  Remove ioputs.o.
  890.  
  891.     * iovfscanf.c, libio.h:  Extra parameter to _IO_vfscanf,
  892.     for optionally setting an error indication..
  893.     * iofscanf.c, ioscanf.c, iofscanf.c, iovsscanf.c:  Fix calls to
  894.     _IO_vfscanf to pass an extra NULL.
  895.     * sbscan.cc (streambuf::vscan):  If passed an extra stream,
  896.     set its error state (using new _IO_vfscanf parameter.
  897.  
  898.     * filedoalloc.c, fileops.c, genops.c, iogetline.c, ioignore.c,
  899.     libio.h, libioP.h, streambuf.cc streambuf.h, strfile.h, strops.c,
  900.     strstream.cc:  Replace macros (_base, _ebuf, _eback, _gptr, _egptr,
  901.     _pbase, _pptr, _epptr) by field names (_IO_buf_base, _IO_buf_end,
  902.     _IO_read_base, _IO_read_pre, IO_read_end, _IO_write_base,
  903.     _IO_write_ptr, _IO_write_end).
  904.     * libio.h:  Remove the old macros (which fixes a conflict.
  905.     
  906. Mon Nov  1 15:22:12 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  907.  
  908.     * iostream.cc:  Use _IO_sputn instead of sputn.  _IO_sputn does
  909.     not require a vtable pointer, and is also slightly faster.
  910.  
  911.     * builtinbuf.{h,cc} (builtinbuf::setbuf):  Fix return and
  912.     parameter types.
  913.  
  914. Mon Oct 25 12:56:33 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  915.  
  916.     Kludge to make sure _IO_FILE buffers get flushed before exit.
  917.     * dbz/dbzmain.c, dbz/fake.c, dbz/byteflip.c:
  918.     Invoke DBZ_FINISH macro (if defined) before (normal) exits.
  919.     * dbz/Makefile.in (CFLAGS):  Define DBZ_FINISH to call _IO_flush_all.
  920.  
  921. Sat Oct 23 22:10:53 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  922.  
  923.     * Makefile.in (VERSION):  Set to 0.60 for libg++ release.
  924.     * fileops.c (_IO_file_attach):  Set _offset to _IO_pos_BAD.
  925.     * iostream.cc (ostream::flush):  Fix thinkp.
  926.     * editbuf.cc, isgetsb.cc, isscan.cc, osform.cc, parsestream.cc,
  927.     pfstream.cc, sbform.cc, sbscan.cc, stdstreams.cc, stream.cc:
  928.     Replace #include "ioprivate.h" by #include "libioP.h" (and
  929.     sometimes stdarg.h, stdlib.h and/or string.h).
  930.     * ioprivate.h:  Removed.
  931.  
  932.  
  933. Thu Oct 21 19:24:02 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  934.  
  935.     * PlotFile.h, SFile.h, editbuf.cc, editbuf.h, filebuf.cc,
  936.     fstream.cc, fstream.h, indstream.cc, indstream.h, iomanip.cc,
  937.     iomanip.h, ioprivate.h, iostream.cc, iostream.h, isgetline.cc,
  938.     isgetsb.cc, parsestream.cc, parsestream.h, pfstream.cc,
  939.     pfstream.h, procbuf.cc, procbuf.h, stdiostream.cc, stdiostream.h,
  940.     stdstreams.cc, streambuf.cc, streambuf.h, strstream.cc,
  941.     strstream.h:  Remove old (duplicate) copyright notices.
  942.  
  943.     * iostream.cc:  Fix calls to sync() to be safe in the presence
  944.     of vtable-less streambufs.
  945.  
  946. Wed Oct 20 15:22:04 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  947.  
  948.     * streambuf.h (streambuf::underflow, streambuf::overflow): 
  949.     Don't make virtual functions pure.
  950.     * streambuf.cc (streambuf::underflow, streambuf::overflow):
  951.     Default definitions (return EOF).
  952.     * fstream.h:  Add new (int fd, char* buf, int len) constructors.
  953.     These are deprecated, but added for AT&T compatibility.
  954.     * fstream.cc fstreambase::fstreambase(int fd, char *p, int l): New.
  955.  
  956. Thu Oct 14 14:57:01 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
  957.  
  958.     * configure.in: use 'mv -f' instead of 'mv'
  959.  
  960. Tue Oct 12 05:01:44 1993  Mike Stump  (mrs@cygnus.com)
  961.  
  962.     * floatconv.c: Fix typo, change __STDC to __STDC__.
  963.  
  964. Mon Oct 11 17:03:12 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  965.  
  966.     * cleanup.c:  It should be #if _G_HAVE_ATEXIT, not #ifdef.
  967.  
  968.     * floatconv.c, iostrerror.c, iovfprintf.c, iovfscanf.c, libioP.h:
  969.     Bunch of fixes to allow use of non-ANSI (K&R) C compilers.
  970.  
  971.     * Makefile.in (iostream.list):  Use CC=$(CXX) to force use of gcc.
  972.     * README:  New file.
  973.  
  974. Fri Oct  8 16:19:58 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  975.  
  976.     * Makefile.in:  Move ioungetc.o from STDIO_WRAP_OBJECTS to
  977.     IO_OBJECTS (since it is needed for iovfscanf.c).
  978.     * iostrerror.c:  Add declaration of strerror.
  979.  
  980. Thu Oct  7 12:02:28 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  981.  
  982.     * cleanup.c:  New file, to cause flushing at exit.
  983.     * filedoalloc.c:  Cause flushing on exit.
  984.     * Makefile.in (OSPRIM_OBJECTS):  Add cleanup.o.
  985.     * gen-params:  Check for atexit.
  986.  
  987. Tue Oct  5 19:11:14 1993  Mike Stump  (mrs@cygnus.com)
  988.  
  989.     * ioperror.c (_IO_strerror): Add missing ()s in _PARAMS usage.
  990.  
  991. Tue Oct  5 10:33:37 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  992.  
  993.     * iofprintf.c, iofscanf.c, ioprintf.c, ioscanf.c, iosprintf.c,
  994.     iosscanf.c:  Remove bogus semi-colon after va_dcl.
  995.     * ioperror.c:  Fix typos in declaration.
  996.  
  997. Mon Oct  4 17:12:22 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  998.  
  999.     * configure.in (CLEAN):  Define (as _G_config.h *.a).
  1000.  
  1001.     * fileops.c (_IO_file_read):  Don't assume EINTR is defined.
  1002.     * iosetbuf.c:  Replace by generalized ...
  1003.     * iosetbuffer.c:  ... variant, derived from BSD.
  1004.     * Makefile.in (STDIO_WRAP_OBJECTS):  Change correspondingly.
  1005.     * iosetvbuf.c (iosetvbuf):  Minor ANSI tweak.
  1006.     * iostdio.h (setbuf, setlinebuf):  New #defines.
  1007.     * iolibio.h (_IO_setbuf, _IO_setlinebuf):  (Re-)define as macros.
  1008.     * Makefile.in (LIBIO_OBJECTS):  New macro.
  1009.  
  1010. Tue Sep 28 14:15:52 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  1011.  
  1012.     * libioP.h (_IO_proc_open, _IO_proc_close): Add missing return types.
  1013.     * procbuf.cc:  Belated fixes.
  1014.  
  1015. Mon Sep 27 14:04:47 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  1016.  
  1017.     * Makefile.in: List new files.  Add STDIO_WRAP_OBJECTS macro.
  1018.     * floatconv.c (d2b):  Use Exp_msk11 instead of Exp_msk1.
  1019.     * iofgetpos.c (_IO_fgetpos), iofsetpos.c (_IO_fsetpos):  Clean up.
  1020.     * iolibio.h:  New file.  Declarations of _IO_foo, for most foo
  1021.     where foo is a stdio function.  (Remove these from libio.h.)
  1022.     * iostream.h (istream::istreambuf, ostream::ostreambuf):  Move
  1023.     obsolete functions inside #ifdef _STREAM_COMPAT.
  1024.     * libio.h, libioP.h, streambuf.h, parsestream.h, stdiostream.h:
  1025.     Use _IO_fpos_t rather than _IO_pos_t.
  1026.     * iopopen.c:  New file type, for pipe (popen-like) streams.
  1027.     * procbuf.cc:  Now just a C++ wrapper for the files in iopopen.c.
  1028.     * streambuf.h (ios::unsetf):  Return complete old value of flags.
  1029.     * iogets.c (_IO_gets(), ioungetc.c (_IO_ungetc), ioperror.c
  1030.     (_IO_perror), iostrerror.c (_IO_strerror):  New files and 
  1031.     functions, for stdio implementation.
  1032.     * iostdio.h:  Add declarations for various recently-added functions.
  1033.  
  1034. Sun Sep 12 14:24:55 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  1035.  
  1036.     * streambuf.h (ios::showpos):: Fix typo.
  1037.  
  1038. Fri Aug 27 12:05:47 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  1039.  
  1040.     * iopadn.c (_IO_padn):  Change to return count of chars written.
  1041.     * outfloat.c, iovfprintf.c:  Change for new _IO_padn interface.
  1042.     * iostream.cc (ostream::operator<<):  Make sure to set badbit
  1043.     on a failure (many places).  Use _IO_padn more.
  1044.     * iostream.cc (ostream& ostream::operator<<(const void *p):  Move to
  1045.     * osform.cc:  ... here, to reduce linking-in-the-world syndrome.
  1046.     * osform.cc: Use rdbuf(), instead of _strbuf directly.
  1047.  
  1048.     * genops.c (_IO_sgetn), libio.h:  New function.
  1049.     * streambuf.h (streambuf.h::sgetn):  Use _IO_sgetn.
  1050.     * SFile.cc (SFile::operator[]):  Use sseekoff, not seekoff.
  1051.  
  1052. Thu Aug 26 10:16:31 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
  1053.  
  1054.     * config.shared (SUBDIRS): only recurse if the directory is configured
  1055.  
  1056. Wed Aug 25 12:56:12 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  1057.  
  1058.     * config/{hpux.mt, isc.mt, sco4.mt}:
  1059.     Moved from ../libg++/config (since they affect _G_config.h).
  1060.     * configure.in:  Set target_make_frag to one of the above files.
  1061.  
  1062. Fri Aug 20 00:53:14 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  1063.  
  1064.     * iofopen.c (iofopen):  Fix type passed to _IO_un_link().
  1065.     * Makefile.in (_G_config.h):  Pass $CC (not $CXX) as CC.
  1066.  
  1067.     * configure.in (configdirs):  Add dbz and stdio.
  1068.     * fileops.c (_IO_file_seekoff):  Convert more old functionality.
  1069.     * iofdopen.c:  Use mode parameter to set _flags.
  1070.     * iofscanf.c, ioputs.c, ioscanf.c, iosprintf.c:  New files.
  1071.     * Makefile.in (IO_OBJECTS):  Added new objects.
  1072.     * iostdio.h:  Add feof. fscanf, puts, sprintf, vsprintf.
  1073.     * libio.h:  Add _IO_vprintf macro.
  1074.     * iofopen.c:  Invoke _IO_un_link if failure.
  1075.     * iovsprintf.c:  Write terminating NUL.
  1076.  
  1077.     * libioP.h:  Add COERCE_FILE macro (by default does nothing).
  1078.     * iofclose.c, iofflush.c, iofgets.c, iofprintf.c, iofputs.c,
  1079.     iofread.c, ioftell.c, iofwrite.c, iosetbuf.c, iosetvbuf.c:
  1080.     Invoke COERCE_FILE macro.
  1081.     * ioftell.c:  Use _IO_seekoff.
  1082.  
  1083. Wed Aug 18 22:49:56 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  1084.  
  1085.     * sbform.cc (streambuf::form), sbscan.cc (streambuf::scan):
  1086.     Remove cast to _IO_va_list.  (Loses if array type.)
  1087.  
  1088.     * libio.h:  Handle _IO_va_list for systems that need <stdarg.h>.
  1089.     * floatconv.h:  Fix typo (reported by H.J.Lu).
  1090.  
  1091. Wed Aug 18 19:34:04 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
  1092.  
  1093.     * configure.in (INSTALLDIR): handle native vs. cross case
  1094.  
  1095.     * Makefile.in (install): don't use $TARGETLIB, set INSTALLDIR to
  1096.     $(libdir) 
  1097.  
  1098. Wed Aug 18 12:10:03 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  1099.  
  1100.     * Makefile.in:  Rename iostream-files to iostream.list.
  1101.     * configure.in:  Add iostream.list to MOSTLYCLEAN.
  1102.  
  1103. Tue Aug 17 18:56:59 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  1104.  
  1105.     * Makefile.in:  Depend on _G_config.h where appropriate.
  1106.     * config.shared (CXXINCLUDES):  If doing libg++, search ../libio.
  1107.  
  1108. Tue Aug 17 17:34:24 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  1109.  
  1110.     New directory.  Based on old libg++/iostream code,
  1111.     but extensively re-written.
  1112.  
  1113.  
  1114.