OSDN Git Service

5c9836ee7b02d2549b32c008ce78c528e1f4081f
[pf3gnuchains/gcc-fork.git] / libio / ChangeLog
1 2000-10-18  Jakub Jelinek  <jakub@redhat.com>
2
3         * iostream.cc (ends): Release the acquired lock.
4         (endl): Likewise.
5
6 2000-10-16  Jakub Jelinek  <jakub@redhat.com>
7
8         * iostream.cc (ostream::operator<<(double n)) [__GLIBC_MINOR__ >= 2]:
9         Initialize new fields wide and i18n of struct printf_info.
10         (ostream::operator<<(long double n)) [__GLIBC_MINOR__ >= 2]:
11         Likewise.
12
13 2000-09-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14
15         * stdstreams.cc: Include <libio.h>, not "libio.h".
16         * iolibio.h: Likewise.
17         (_IO_pos_BAD): Use _IO_off_t instead of _IO_fpos_t.
18         * libio.h (_IO_USER_LOCK): Define.
19
20 2000-08-18  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
21
22         * editbuf.h (edit_streambuf): Fix syntax error in
23         friend-declaration. 
24
25 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
26
27         * configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
28         Honor --disable-threads.
29
30 Sun Jul 23 15:16:23 2000  Krister Walfridsson  <cato@df.lth.se>
31
32         * gen-params: Added trailing space for 'long long int' regexp.
33
34 2000-06-28  Alex Samuel  <samuel@codesourcery.com>
35
36         * libioP.h (VTABLE_LABEL): Update for new vtable mangling.
37         * stdstrbufs.cc (filebuf_vtable): Likewise.
38         (stdiobuf_vtable): Likewise.
39         
40 2000-06-04  Mark Mitchell  <mark@codesourcery.com>
41
42         * libioP.h: Handle new ABI mangling.
43         * stdstrbufs.cc: Likewise.
44
45 2000-05-24  Ulrich Drepper  <drepper@redhat.com>
46
47         * iostream.cc (endl): Fix bug in last change.
48         (ends): Make same change as for endl.
49
50 Tue May 23 22:56:56 2000  Jerry Quinn
51
52         * iostream.cc (endl): Verify stream can accept characters
53         before writing its eol.
54
55 2000-05-15  David Edelsohn  <edelsohn@gnu.org>
56
57         * config.shared: Change "pic" to depend on $(PICFLAG), not
58         on $(enable_shared).
59
60 2000-05-11  Robert Lipe <robertlipe@usa.net>
61
62         * configure.in: Remove special casing for sco3.2v[45].
63         * config/sco4.mt: Deleted.
64
65 2000-05-10  Jakub Jelinek  <jakub@redhat.com>
66
67         * configure.in: Use mh-sparcpic for sparc*-*-*.
68
69 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
70
71         * configure.in: Indent the # of #include_next one space.
72
73 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
74
75         * configure.in: -linux-gnu*, not -linux-gnu.
76
77 2000-01-28  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
78
79         * fstream.h (ifstream::ifstream): Add ios::in to mode.
80         (ifstream::open): Likewise.
81         (ofstream::ofstream): Add ios::out to mode.
82         (ofstream::open): Likewise.
83
84 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
85
86         * dbz/dbz.c, dbz/dbzmain.c: Include stdlib.h.  Don't declare
87         malloc, calloc, free, atol, atoi, or errno.  (errno.h was
88         already being included.)
89
90 2000-01-12  Fred Fish <fnf@be.com>
91
92         * configure.in (*-*-beos*): Recognize.
93         * config/beos.mt: New file.
94
95 1999-12-22  Jakub Jelinek  <jakub@redhat.com>
96
97         * libio.h (_IO_cookie_io_functions_t): Use _IO_off_t instead of
98         _IO_fpos_t.
99         (_IO_seekoff, _IO_seekpos): Likewise. Use _IO_off64_t instead of
100         _IO_fpos64_t.
101         * libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t): Likewise.
102         (_IO_seekoff, _IO_seekpos): Likewise.
103         (_IO_default_seekoff, _IO_default_seekpos): Likewise.
104         (_IO_default_seek): Likewise.
105         (_IO_file_seekoff, _IO_file_seek, _IO_str_seekoff): Likewise.
106         * streambuf.h (streampos): Typedef to _IO_off_t resp. _IO_off64_t.
107         * parsestream.h (class parsebuf::pos_at_line_start): Change type
108         to _IO_off_t.
109
110 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
111
112         * filebuf.cc (open): Support ios::ate if _G_HAVE_IO_FILE_OPEN.
113         Remove seek for ios::app if not.
114
115 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
116
117         * filedoalloc.c, floatio.h, iovfprintf.c, iovfscanf.c: Remove
118         advertising clause from BSD license, pursuant with
119
120           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
121
122 1999-12-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
123
124         * strstream.h (strstreambuf::streambuf): Rename parameters to
125         avoid shadow warning.
126         * stream.h (WS): Likewise.
127
128 Thu Sep 30 01:08:04 1999  Jeffrey A Law  (law@cygnus.com)
129
130         * editbuf.cc, parsestream.cc, pfstream.cc: Include string.h.
131
132 Mon Sep 13 06:30:14 1999  Mark Klein <mklein@dis.com>
133
134         * config/mpeix.mt: New for MPEiX port.
135
136 Sat Sep  4 18:00:00 PDT 1999 Mark Klein (mklein@dis.com)
137
138         * configure.in: Add mpeix.mt make fragment.
139
140 1999-08-08  Alexandre Oliva  <oliva@dcc.unicamp.br>
141
142         * streambuf.h (ios::streamsize): Declare as _IO_ssize_t, as in the
143         global scope.
144
145 1999-08-07  Andreas Schwab  <schwab@suse.de>
146
147         * iostream.cc: Add missing calls to isfx and setup a cleanup
148         region for the locked stream.
149         * iostream.h: Likewise.
150         * isgetline.cc: Likewise.
151         * isgetsb.cc: Likewise.
152         * isscan.cc: Likewise.
153
154 Mon Jun 28 09:25:23 1999  Hans-Peter Nilsson  <hp@bitrange.com>
155
156         * configure.in (post-target): Use "$(topsrcdir)", not "$(srcdir)/..".
157
158 Wed Jun  2 00:19:53 1999  Eric Raskin (ehr@listworks.com)
159
160         * configure.in: Added DG/UX target fragment
161
162 Sun May 30 14:25:02 1999  Eric Raskin (ehr@listworks.com)
163
164         * config/dgux.mt: New file for DG/UX configuration of libio
165
166 1999-05-20  Angela Marie Thomas <angela@cygnus.com>
167
168         * configure.in: Test for ${compiler_name}.exe as well.
169
170 1999-05-17  Mark Kettenis  <kettenis@gnu.org>
171
172         * libioP.h: Only include libc-lock.h if _IO_MTSAFE_IO is defined.
173
174 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
175
176         * configure.in: Recognize target *vxworks* and add fragment vxworks.mt.
177         * config/vxworks.mt: New file.
178         * gen-params: Let configure override HAVE_PRINTF_FP.
179
180 1999-05-12  Jason Merrill  <jason@yorick.cygnus.com>
181
182         * configure.in (compiler_name): Don't do the skip-this-dir thing
183         if we're reconfiguring.
184
185 1999-04-29  Nathan Sidwell  <nathan@acm.org>
186
187         * streambuf.h (ios::~ios): Use operator delete[] to remove _arrays.
188
189 Mon Apr 12 19:22:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
190
191         * filedoalloc.c (_POSIX_SOURCE): Remove definition.
192         * fileops.c (_POSIX_SOURCE): Likewise.
193         * iopopen.c (_POSIX_SOURCE): Likewise.
194         * procbuf.cc (_POSIX_SOURCE): Likewise.
195         * libioP.h (_POSIX_SOURCE): And define it here.
196         * stdiostream.cc: Include libioP.h before others.
197
198 Fri Apr  2 15:11:58 1999  H.J. Lu  (hjl@gnu.org)
199
200         * libio/configure.in (gxx_include_dir): Handle it.
201         * libio/Makefile.in: Likewise.
202
203 Wed Mar 24 22:36:45 1999  Mumit Khan  <khan@xraylith.wisc.edu>
204
205         * configure.in (EXEEXT): Define.
206         (compiler_name): Use.
207
208 1999-03-24  Alexandre Oliva  <oliva@dcc.unicamp.br>
209
210         * gen-params (CONFIG_NM): `test ... -o ...' is not portable.
211
212 Thu Mar 11 01:07:55 1999  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
213
214         * configure.in: Cleanup and add mh-*pic handling for arm, powerpc
215
216 Fri Mar  5 01:15:15 1999  H.J. Lu  (hjl@gnu.org)
217
218         * config/linuxlibc1.mt (MT_CFLAGS): Add -D_G_STDIO_USES_LIBIO
219         -D_G_HAVE_WEAK_SYMBOL.
220
221         * genops.c: Add the proper weak alias if _G_STDIO_USES_LIBIO
222         and _G_HAVE_WEAK_SYMBOL are defined.
223         * iofclose.c: Likewise.
224         * iofeof.c: Likewise.
225         * ioferror.c: Likewise.
226         * iogetc.c: Likewise.
227         * ioputc.c: Likewise.
228         * iovsprintf.c: Likewise.
229         * iovsscanf.c: Likewise.
230
231 Sun Feb 28 22:39:17 1999  Geoffrey Noer  <noer@cygnus.com>
232
233         * configure.in: Check cygwin*, not cygwin32*.
234
235 Wed Feb 10 09:25:48 1999  Mumit Khan  <khan@xraylith.wisc.edu>
236
237         * gen-params (VTABLE_LABEL_PREFIX): Handle windows32.
238
239 Wed Feb  3 22:05:41 1999  H.J. Lu  (hjl@gnu.org)
240                           Jeffrey A Law  (law@cygnus.com)
241
242         * Makefile.in (iostream.list): Remove dependency on
243         stamp-picdir.
244         ($(LIBIOSTREAM_DEP)): Depend on stamp-picdir.
245         ($(LIBIO_FILES)): Similarly.
246
247         * config.shared (all): Make $(PICDIR) concurrent.
248
249 1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
250
251         * configure.in (compiler_name): Add check to detect if this
252         language's compiler has been built.
253
254 1998-10-12  Alexandre Oliva  <oliva@dcc.unicamp.br>
255
256         * config.shared (depend.new): Delete libc-lock.h from
257         dependencies, and fix _G_config.h -> $(_G_CONFIG_H) rule.
258         * depend: Rebuilt.
259
260 Sun Oct 11 01:51:42 1998  Jeffrey A Law  (law@cygnus.com)
261
262         * config.shared (depend.new): Fix typo.
263         * depend: Rebuilt.
264
265 1998-09-09  Manfred Hollstein  <manfred@s-direktnet.de>
266
267         * configure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's
268         value; don't change its value if --enable-version-specific-runtime-libs
269         has been specified.
270
271 Wed Sep  2 21:05:39 1998  H.J. Lu  (hjl@gnu.org)
272
273         * configure.in: Fix INSTALLDIR replacement for cross-compile.
274
275 Sun Aug 30 22:27:02 1998  Lutz Wohlrab <lutz.wohlrab@informatik.tu-chemnitz.de>
276
277         * dbz/Makefile.in: Avoid assumptions about "tr" behaves when
278         LANG is set to something other than English.
279
280 Sun Aug 30 22:17:00 1998  H.J. Lu  (hjl@gnu.org)
281
282         * config.shared: Set libsubdir.
283
284 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
285
286         * libio/iogetline.c (_IO_getline_info): Don't read anything for
287         N == 0.  Patch by HJ Lu.
288
289 1998-08-23  Mark Mitchell  <mark@markmitchell.com>
290
291         * iomanip.h: Use __extension__ for `extern' explicit template
292         instantiations.
293
294 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
295
296         * strfile.h: Define __PMT if not already defined.
297
298 1998-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
299
300         * libioP.h: Use __PMT in typedefs.
301         * strfile.h: Likewise.
302
303 1998-06-29  Ulrich Drepper  <drepper@cygnus.com>
304
305         * libio.h: Rewrite __PMT change so that it works with platforms
306         defining __P but not __PMT.
307
308         * libio.h (__PMT): New macro.  Defined like __P.  Use is for
309         function pointers.
310
311 1998-06-27  Manfred Hollstein  <manfred@s-direktnet.de>
312
313         * Makefile.in (install): Remove superfluous /include.
314
315 1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
316
317         * config.shared (FLAGS_TO_PASS): Add gcc_version_trigger.
318         (Makefile): Add dependency upon $(gcc_version_trigger).
319
320 1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
321
322         * Makefile.in (install): Install _G_config.h depending on new flag
323         --enable-version-specific-runtime-libs.
324         * config/linux.mt (gxx_include_dir): Remove definition here as we use
325         gcc's default anyway.
326
327 1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
328
329         * config.shared (FLAGS_TO_PASS): Add gcc_version.
330
331 1998-06-19  Manfred Hollstein  <manfred@s-direktnet.de>
332
333         * config.shared (FLAGS_TO_PASS): Add libsubdir.
334
335 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
336
337         * genops.c (__underflow): Read character from read pointer as unsigned.
338         (__uflow): Likewise.
339
340 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
341
342         * strops.c (_IO_str_underflow): Read newly available character
343         from buffer as unsigned.
344
345 Sun Apr 19 22:13:36 1998  H.J. Lu  (hjl@gnu.org)
346
347         * isgetline.cc (istream::get): Fix a typo.
348
349 Thu Mar  5 09:23:28 1998  Manfred Hollstein  <manfred@s-direktnet.de>
350
351         * configure.in: Make locating frag files failsafe even for the
352         special case if configuring and building in srcdir.
353
354 1998-02-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
355
356         Changes for _G_IO_IO_FILE_VERSION == 0x20001:
357         * libioP.h (_IO_showmanyc_t, _IO_SHOWMANYC, _IO_imbue_t,
358         _IO_IMBUE): New definitions.
359         (struct _IO_jump_t): Add __showmanyc and __imbue fields.
360         (_IO_file_fopen): Add new fourth argument.
361         * filebuf.cc (filebuf::open): Pass new fourth argument to
362         _IO_file_fopen.
363         * iolibio.h (_IO_freopen): Likewise.
364         * streambuf.cc (streambuf::showmanyc, streambuf::imbue): New
365         functions.
366         * streambuf.h (_IO_wchar_t): Define to _G_wchar_t.
367         (ios::fill): Remove casts.
368         (struct streambuf): Add showmanyc and imbue members.
369
370         * iostream.cc (ostream::operator<<(double n)) [__GLIBC_MINOR__ >=
371         1]: Initialize new fields is_char of struct printf_info.
372         (ostream::operator<<(long double n)) [__GLIBC_MINOR__ >= 1]:
373         Likewise.
374
375 Sun Feb 22 17:24:53 1998  Jeffrey A Law  (law@cygnus.com)
376
377         * config.shared: Bring back changes from Ian and Fred that were
378         accidentally clobbered.  Should eliminate the need for Dave's
379         recent change.
380
381 Tue Feb 17 21:56:25 1998  H.J. Lu  (hjl@gnu.org)
382
383         * config/linux.mt (IO_OBJECTS): Add iogetline.o.
384         * config/linuxlibc1.mt: Ditto.
385
386         * iogetline.c (_IO_getline_info): Renamed from _IO_getline.
387         (_IO_getline): Just call _IO_getline_info.
388
389         * isgetline.cc (istream::getline, istream::get, _sb_readline):
390         Call _IO_getline_info instead of _IO_getline and get the EOF
391         information.
392         * sbgetline.cc (streambuf::sgetline): Ditto.
393
394         * libioP.h (_IO_getline_info): New declaration.
395
396         * iogetline.c (_IO_getline): Handle the case when there is no
397         buffer.
398
399 Fri Feb 13 00:57:20 1998  Krister Walfridsson (cato@df.lth.se)
400
401         * fileops.c: #include <unistd.h>.
402         * ioprims.c: Likewise.
403
404 1998-02-10  Mark Mitchell  <mmitchell@usa.net>
405
406         * iostream.cc (ostream::operator<<(long double)): Don't use
407         labeled initializers.
408
409 Fri Feb  6 01:35:56 1998  Manfred Hollstein  <manfred@s-direktnet.de>
410
411         * config.shared (FLAGS_TO_PASS): Don't emit PICFLAG.
412         (.c.o): Check value of enable_shared, not PICFLAG.
413         (.C.o): Dito.
414         (.cc.o): Dito.
415         (stamp-picdir): Dito.
416
417 Thu Feb  5 17:41:26 1998  Dave Brolley  <brolley@cygnus.com>
418
419         * config.shared (LIBS): Change to -L../../libstdc++ (was -L../libstdc++)
420         if ${DOING_GPERF} is true.
421
422 1998-01-20  Andreas Schwab  (schwab@issan.informatik.uni-dortmund.de)
423
424         * iostream.cc (istream::operator>>(long double&))
425         [!_G_HAVE_LONG_DOUBLE_IO]: Scan value into separate variable, in
426         case long double is bigger than double.
427         (ostream::operator<<(double)) [_G_HAVE_PRINTF_FP]: Fix order of
428         initializers of struct printf_info to match declaration order,
429         to work around g++ bug.
430         (ostream::operator<<(long double)) [_G_HAVE_PRINTF_FP]: Likewise.
431
432         * gen-params: Add missing quotes.  Avoid useless use of command
433         substitution.
434
435 Sun Feb  1 13:29:47 1998  H.J. Lu  (hjl@gnu.org)
436
437         * filebuf.cc (filebuf::open): Call _IO_file_open if
438         _G_HAVE_IO_FILE_OPEN is 1.
439
440         * libio.h (_IO_fpos64_t, _IO_off64_t): Defined if
441         _G_IO_IO_FILE_VERSION == 0x20001.
442
443         * libioP.h (_IO_file_open): New declaration.
444
445         * libio.h (_IO_FILE, _IO_stdin_, _IO_stdout_, _IO_stderr_,
446         _IO_seekoff, _IO_seekpos): Add support for libio in glibc 2.1.
447         * libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t,
448         _IO_seekoff, _IO_seekpos, _IO_default_seekoff,
449         _IO_default_seekpos, _IO_default_seek, _IO_file_seekoff,
450         _IO_file_seek, _IO_str_seekoff, _IO_pos_BAD, _IO_pos_as_off,
451         _IO_pos_0): Ditto.
452         * streambuf.h (streamoff, streampos): Ditto.
453
454         * gen-params (__extension__): Use only if gcc version >= 2.8.
455
456 Sun Feb  1 13:08:18 1998  Krister Walfridsson (cato@df.lth.se)
457
458         * dbz/dbz.c (putconf): Handle systems which use "long long" as type
459         for "off_t".
460         * dbz/dbzmain.c (mkfiles): Likewise.
461
462 Wed Jan 28 10:27:11 1998  Manfred Hollstein  <manfred@s-direktnet.de>
463
464         * config.shared (FLAGS_TO_PASS): Add gxx_include_dir.
465
466         * stdio/configure.in, tests/configure.in: Update with yesterday's
467         toplevel configure.in changes.
468         * testsuite/configure.in: Likewise.
469
470         * config.shared: Fix typo in yesterday's changes.
471
472 Tue Jan 27 23:26:07 1998  Manfred Hollstein  <manfred@s-direktnet.de>
473
474         * config.shared: Emit everything which needs to be re-definable
475         via file descriptor 1; the generic stuff is emitted using redirection
476         onto fd 2.
477
478         * configure.in (package_makefile_rules_frag): New variable
479         which is used in the call to config.shared; redirect file descriptor 2
480         to ${package_makefile_rules_frag}.
481
482 Tue Jan 27 10:35:22 1998  H.J. Lu  (hjl@gnu.org)
483
484         * configure.in (topsrcdir): New.
485         (CHECK_SUBDIRS, configdirs): Check ${topsrcdir}/gcc instead.
486         (config-ml.in): Use ${topsrcdir}/config-ml.in.
487
488         * tests/configure.in (topsrcdir): New.
489         (CHECK): Check ${topsrcdir}/gcc instead.
490
491 Fri Jan 16 00:48:03 1998  Manfred Hollstein  <manfred@lts.sel.alcatel.de>
492
493         * config.shared (FLAGS_TO_PASS): Add SHELL.
494
495 Thu Jan 15 00:21:58 1998  Ian Lance Taylor  <ian@cygnus.com>
496
497         * configure.in: For *-*-cygwin32*, add a -I for winsup to both
498         XCINCLUDES and XCXXINCLUDES.
499         * config.shared: Use ${host_includes} when setting CXXINCLUDES in
500         the DOING_LIBGXX case.
501         * Makefile.in (_G_config.h): Pass $(CINCLUDES) in CC and
502         $(CXXINCLUDES) in CXX when running gen-params.
503
504 Tue Jan 13 21:32:08 1998  H.J. Lu  (hjl@gnu.org)
505
506         * configure.in (CHECK_SUBDIRS): Set to testsuite only if
507         ${srcdir}/../gcc exists.
508         (configdirs): Include testsuite only if ${srcdir}/../gcc exists.
509
510         * tests/Makefile.in (check): Depend on $(CHECK).
511
512         * tests/configure.in (CHECK): Set to "check-iostream
513         check-stdio" if ${srcdir}/../../gcc doesn't exists.
514
515 Thu Jan  8 18:09:03 1998  Fred Fish  <fnf@cygnus.com>
516
517         * config.shared (THIS_FILE): Really found via TOLIBIO instead
518         of TOLIBCXX, which is empty when configuring gperf.
519         (LIBS): When linking gperf, find libstdc++ relative to TO_TOPDIR
520         instead of hardcoded "../".
521
522 1997-12-12  Brendan Kehoe  <brendan@lisa.cygnus.com>
523
524         Don't make gperf depend upon libg++.
525         * config.shared (TOLIBGCXX) [DOING_GPERF]: Delete.
526         (LIBS) [DOING_GPERF]: Make it just `-L../libstdc++ -lstdc++'.
527
528 Thu Dec 11 11:20:59 1997  H.J. Lu  (hjl@gnu.org)
529
530         * configure.in (target frags): Add *-linux-gnu.
531
532 Fri Dec  5 16:22:15 1997  H.J. Lu  (hjl@gnu.org)
533
534         * streambuf.cc (streambuf::~streambuf): Don't delete _lock
535         for _IO_stdin/_IO_stdout/_IO_stderr.
536
537 Thu Nov 27 01:32:43 1997  Jeffrey A Law  (law@cygnus.com)
538
539         * Makefile.in (install): Change gxx_includedir to gcc_include_dir.
540         * config.shared (gxx_includedir): Remove default definition.
541         * config/linux.mt: Change gxx_includedir to gxx_include_dir.
542         * config/linuxaxp1.mt: Likewise.
543
544 Wed Nov 26 16:08:50 1997  Richard Henderson  (rth@cygnus.com)
545
546         * configure.in (target frags): Add powerpc*-linux-gnulibc1.
547         (stdio-lock): Similarly.
548
549         * configure.in (target frags): Add alpha*-linux-gnulibc1.
550         (pic frags): Its alpha*- not alpha-.
551         (stdio-lock): Kill everything.  Add alpha*-linux-gnulibc1.
552         * libio.h: Check __GLIBC_MINOR__ to find stdio-lock.h.  If not
553         _IO_MTSAFE_IO & GLIBC, make sure the lock pointer is still there.
554         * libioP.h: Check __GLIBC_MINOR__ to find libc-lock.h.
555
556         * config/linuxaxp1-libc-lock.h: New file.
557         * config/linuxaxp1-stdio-lock.h: New file.
558         * config/linuxaxp1.mt: New file.
559
560         * gen-params (va_list): Check for and use __gnuc_va_list.
561         (NULL): Work around some linux kernel headers and redefine NULL.
562
563 Mon Nov 24 17:04:18 1997  Michael Meissner  <meissner@cygnus.com>
564
565         * stdiostream.cc (sys_read): Declare ch with int type, rather than
566         without a type.
567
568 Tue Nov 18 09:53:58 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
569
570         * stdstrbufs.cc (DEF_STDFILE): Use STD_VTABLE.
571
572 Tue Nov 11 01:40:17 1997  Oleg Krivosheev <kriol@fnal.gov>
573
574         * iomanip.h: Fix guiding decls.
575
576 1997-11-05  Brendan Kehoe  <brendan@lisa.cygnus.com>
577
578         * libio.h (__P): Name its arg `p' instead of `params'.
579         Avoids problems with an unchanged Solaris math.h header.
580
581 Wed Oct 29 23:01:47 1997  Jason Merrill  <jason@yorick.cygnus.com>
582
583         * gen-params: Override NULL.
584
585 1997-10-27 03:53  Ulrich Drepper  <drepper@cygnus.com>
586
587         * stdio-lock.h: Removed.  Was never needed.
588
589 Wed Oct 22 19:19:32 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
590
591         * libio.h (_IO_LOCK_T): Handle glibc 2 when _IO_MTSAFE_IO is
592         not defined.
593
594         * iovsscanf.c (vsscanf): Make it weak alias of _IO_vsscanf if
595         __linux__ is defined instead of __ELF__
596
597         * config/linuxlibc1.mt (USER_INCLUDES): Add libio.h.
598
599 1997-10-15  Ulrich Drepper  <drepper@cygnus.com>
600
601         * configure.in: Create compatibility code in bits/libc-lock.h file.
602
603 Thu Oct  9 07:08:41 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
604
605         * libio.h (_IO_LOCK_T): Handle glibc 2 when _IO_MTSAFE_IO is
606         not defined.
607
608         * filedoalloc.c (_IO_file_doallocate): Don't call
609         _IO_cleanup_registration_needed if __linux__ is defined.
610
611         * iofclose.c (fclose): Make it weak alias of _IO_fclose if
612         __ELF__ is defined.
613
614         * iovsprintf.c (vsprintf): Make it weak alias of _IO_vsprintf
615         if __ELF__ is defined.
616
617         * iovsscanf.c (vsscanf): Make it weak alias of _IO_vsscanf if
618         __ELF__ is defined.
619
620         * config/linuxlibc1.mt (MT_CFLAGS): Defined as -D_G_HAVE_MMAP.
621         (IO_OBJECTS): Add filedoalloc.o fileops.o genops.o iofclose.o
622         iovsprintf.o iovsscanf.o strops.o.
623
624 Fri Oct  3 10:13:13 1997  Jason Merrill  <jason@yorick.cygnus.com>
625
626         * iostream.cc, libio.h: Convert other uses of #ifdef
627         _G_HAVE_PRINTF_FP to #if.
628
629 1997-10-02  Brendan Kehoe  <brendan@lisa.cygnus.com>
630
631         * iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef.
632
633 Thu Oct  2 10:36:49 1997  Jason Merrill  <jason@yorick.cygnus.com>
634
635         * gen-params: Fix __printf_fp test.
636         * config/linuxlibc1.mt (gxx_includedir): Don't define.
637
638 Thu Oct  2 10:36:26 1997  Ulrich Drepper  <drepper@rtl.cygnus.com>
639
640         * config/linuxlibc1.mt (_G_CONFIG_H): Don't define.
641         * gen-params: Add test for __printf_fp.
642
643 Sun Sep 28 12:09:04 1997  Mark Mitchell  <mmitchell@usa.net>
644
645         * iomanip.h: Use new friend <> syntax.
646
647 Sun Sep 28 12:04:21 1997  Jason Merrill  <jason@yorick.cygnus.com>
648
649         * libio.h: Don't use _IO_LOCK_T if it's not defined.
650
651 Fri Sep 26 20:56:41 1997
652
653         Based on a patch by H.J. Lu  (hjl@gnu.ai.mit.edu).
654
655         * Makefile.in (STDIO_OBJECTS): New. Defined as stdfiles.o.
656         (LIBIO_OBJECTS): Add $(STDIO_OBJECTS).
657         (PICFLAG): New, empty.  moved to here from config.shared.
658
659         * config.shared (DISTCLEAN): Add target-mkfrag.
660         (PICFLAG): Removed.
661
662         * configure.in (*-linux-gnulibc1): Remove warning.
663         (*-linux-gnu): Use linux.mt mtsafe.mt.
664         (alpha-*-linux*): Use mh-elfalphapic.
665
666         * gen-params (_G_ullong): Also check unsigned long long int.
667         (_G_llong): Also check long long int.
668
669         * libio.h (_IO_lock_t): Add support for the Linux libc 5.
670         (_IO_peekc): Defined as _IO_peekc_unlocked if _IO_MTSAFE_IO
671         is not defined.
672
673         * iostream.cc (__cvt_double): Fix a typo in declaration.
674         (info): Use expr != 0 to initialize the bit fields. Don't
675         initialize "extra" for the Linux libc 5.
676
677         * streambuf.h (_G_NEED_STDARG_H): Changed from _IO_NEED_STDARG_H.
678
679         * config/linux.mt (STDIO_OBJECTS): New, empty.
680         (MT_CFLAGS): Removed.
681
682         * config/linuxlibc1.mt: Rewrite.  it's identical to linux.mt but
683         IO_OBJECTS mentions files not in early libc5 versions.
684
685         * config/mtsafe.mt: New.
686
687         * dbz/Makefile.in (check): Support make -j.
688
689         * tests/tFile.cc (tempfile): Fix a typo.
690
691 1997-09-19 11:52  Jim Wilson  <wilson@cygnus.com>
692
693         * Makefile.in (LIBIO_OBJECTS): Depend on _G_CONFIG_H.
694
695 1997-09-17 04:08  Ulrich Drepper  <drepper@cygnus.com>
696
697         * iostream.cc: Add forward declaration for __cvt_double.
698         * libio.h: Define _IO_USE_DTOA is _G_HAVE_PRINTF_FP is not defined.
699         * strops.c (_IO_str_count): Correct last change.
700
701 1997-09-17 02:50  Ulrich Drepper  <drepper@cygnus.com>
702
703         * libioP.h: Define __set_errno if not already defined.
704
705 1997-09-15 02:37  Ulrich Drepper  <drepper@cygnus.com>
706
707         * config/linux.mt: Rewrite for use with glibc 2.
708         * config/linuxlibc1.mt: Old content of linux.mt, fir libc4 and
709         libc5.
710
711         * config.shared (COMPILE.c): Allow new flags in MT_CFLAGS be
712         passed.
713         (COMPILE.cc): Likewise.
714
715         * configure.in (*-linux*): Remove goal.  We now have...
716         (*-linux-gnulibc1): For libc4 and libc5.  Emit warning.
717         (*-linux-gnu)): For glibc 2.
718         Create links to find headers for multi-threading if necessary.
719
720         * fileops.c: Make thread-safe by using _IO_cleanup_region_start
721         etc to handle cancelation.  Acquire locks in functions which are
722         called directly.
723         (_IO_file_read, _IO_file_write): Remove dead code.
724
725         * include/empty.h: Define stub macros for locking.
726
727         * iolibio.h: Add prototypes for obstack printing functions.
728
729         * ioseekoff.c (_IO_seekoff): Lock stream before working.
730         * ioseekpos.c (_IO_seekpos): Likewise.
731
732         * iostream.cc: Add support for long double I/O.
733         Use __printf_fp from glibc is available.
734         Use _IO_cleanup_region_start to handle cancelation correctly.
735         * iostream.h (class ostream): Change opfx and osfx to lock/unlock
736         stream
737         (class istream): Likewise for ipfx, ipfx0, ipfx1, and isfx.
738         Declare new function lock and unlock for ostream and istream.
739         * osform.cc: Use _IO_cleanup_region_start to handle cancelation
740         correctly.
741
742         * libio.h: Update from glibc version.  Pretty printing.
743         * libioP.h: Likewise.
744
745         * outfloat.c: Only compile if _IO_USE_DTOA is defined.
746
747         * stdio/feof.c: Make thread safe.
748         * stdio/ferror.c: Likewise.
749         * stdio/getc.c : Likewise.
750         * stdio/putc.c : Likewise.
751         * stdio/stdio.h: Declare function of thread-safe API.
752
753         * stdio/obprintf.c: New file.
754         * stdio/vasprintf.c: New file.
755
756         * stdio-lock.h: Removed.
757
758         * stdstrbufs.c: Add definitions for thread-safe streams.
759
760         * streambuf.cc: Initialize lock.
761
762         * strops.c (_IO_str_count): Undo last change.
763
764         * tests/tFile.cc: Support parallel builds by avoiding fixed
765         name for test file.
766
767 Thu Sep 11 18:43:56 1997  Jason Merrill  <jason@yorick.cygnus.com>
768
769         * Makefile.in (iostream.list): Remove STDIO_WRAP_OBJECTS.
770
771 Mon Sep  8 01:30:27 1997  Weiwen Liu    <liu@hepunix.physics.yale.edu>
772
773         * libio.h: Fix typo.
774
775 Sun Sep  7 23:00:18 1997  Jim Wilson  (wilson@cygnus.com)
776
777         * linux.mt (LIBIOSTREAM_DEP): Change stdio.list to stmp-stdio.
778
779 Fri Sep  5 09:58:43 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
780
781         * Makefile.in (iostream.list): Instead of adding stdio.list, add
782         STDIO_WRAP_OBJECTS.
783         (iostream.list): Lose dependency on stmp-stdio, not necessary for
784         our stuff.  The stdio stuff is present here just for uniformity
785         with glibc.
786
787 Thu Sep  4 17:26:22 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
788
789         * parsestream.cc (general_parsebuf): Cast return of malloc to char*.
790
791 1997-09-04 16:11  Ulrich Drepper  <drepper@cygnus.com>
792
793         Change compared to version initially intended to in:
794         * strops.c (_IO_str_count): Still use _IO_write_ptr, not
795         _IO_write_end, for now.
796
797         * iofeof.c, ioferror.c, iofflush_u.c, iogetc.c, ioputc.c, peekc.c,
798         stdio-lock.h: New files.
799
800         * include: New dir.
801         * include/empty.h: New header.
802
803         * filedoalloc.c: Update and reformat copyright.
804         Don't use DEFUN.
805         Use __set_errno throughout the code to support multi-threaded
806         programs.
807         Correct layout to follow the Coding Standard.
808         Add casts to prevent warnings.
809         * fileops.c: Likewise.
810         * genops.c: Likewise.
811         * iofclose.c: Likewise.
812         * iofdopen.c: Likewise.
813         * iofflush.c: Likewise.
814         * iofgetpos.c: Likewise.
815         * iofgets.c: Likewise.
816         * iofopen.c: Likewise.
817         * iofprintf.c: Likewise.
818         * iofputs.c: Likewise.
819         * iofread.c: Likewise.
820         * iofsetpos.c: Likewise.
821         * ioftell.c: Likewise.
822         * iofwrite.c: Likewise.
823         * iogetdelim.c: Likewise.
824         * iogetline.c: Likewise.
825         * iogets.c: Likewise.
826         * iopadn.c: Likewise.
827         * iopopen.c: Likewise.
828         * ioputs.c: Likewise.
829         * ioseekoff.c: Likewise.
830         * iosetbuffer.c: Likewise.
831         * iosetvbuf.c: Likewise.
832         * iosprintf.c: Likewise.
833         * ioungetc.c: Likewise.
834         * iovsprintf.c: Likewise.
835         * iovsscanf.c: Likewise.
836         * libio.h: Likewise.
837         * libioP.h: Likewise.
838         * stdfiles.c: Likewise.
839         * strfile.h: Likewise.
840         * strops.c: Likewise.
841
842         * Makefile.in (IO_OBJECTS): Add peekc.o, iogetc.o, ioputc.o,
843         iofeof.o, and ioferror.o.
844         (iostream.list): Depend upon stmp-stdio.  Add the entries
845         from stdio.list to iostream.list.
846         (stmp-stdio): New name for what was the stdio/stdio.list rule.
847         All it now does is cd down into stdio and build stdio.list.
848
849         * configure.in (ALL): Add libiostream.a.
850
851         * libio.h [_IO_MTSFE_IO]: Include header declaring locking code.
852         Otherwise define opaque _IO_lock_t.
853         Define _IO_cookie_file.
854         Rename _IO_getc to _IO_getc_unlocked, _IO_peekc to _IO_peekc_unlocked,
855         _IO_putc to _IO_putc_unlocked, _IO_feof to _IO_feof_unclocked, and
856         _IO_ferror to _IO_ferror_unlocked.
857         Add prototypes for _IO_getc, _IO_putc, _IO_feof, _IO_ferror,
858         and _IO_peekc_locked.
859         Add declarations for _IO_flockfile, _IO_funlockfile, and
860         _IO_ftrylockfile.  If !_IO_MTSAFE_IO define _IO_flockfile,
861         _IO_funlockfile, _IO_ftrylockfile, _IO_cleanup_region_start, and
862         _IO_cleanup_region_end as empty macros.
863
864         * libioP.h: Change type of finish function to take an additional int
865         argument and change declaration of finish functions.
866         Add prototypes for _IO_seekoff and _IO_seekpos.
867         If _G_HAVE_MMAP is defined use stream buffers allocated with mmap.
868         Redefine FREE_BUF and ALLOC_BUF macros to help in both situations.
869         (FILEBUF_LITERAL): If we compile for a thread-safe library also
870         initialize lock member.
871
872         * filedoalloc.c: Take care for systems already defining _POSIX_SOURCE.
873         Keep name space clean on systems which require this.
874         (_IO_file_doallocate): Adopt ALLOC_BUF call for changed semantic.
875
876         * fileops.c: Keep name space clean on systems which require this.
877         (_IO_file_attach): Don't fail if seek failed because it's used on a
878         pipe.
879         (_IO_file_underflow): Update buffer pointers before calling `read'
880         since the `read' might not return anymore.
881         (_IO_file_overflow): If stream allows no writes set error flag.
882         (_IO_seekoff): Make sure that after flushing the file pointer in
883         the underlying file is exact.
884         (_IO_file_read): Don't restart `read' syscall if it return EINTR.
885         This violates POSIX.
886         (_IO_file_write): Likewise for `write'.
887         (_IO_cleanup): Install as exit handler in glibc.
888
889         * genops.c (_IO_setb): Correctly use FREE_BUF.
890         (_IO_default_doallocate): Correctly use ALLOC_BUF.
891         (_IO_init): Initialize lock in stream structure.
892         (_IO_default_finish): Destroy lock.
893         (_IO_get_column): Don't compile since it's not needed.
894         (_IO_nobackup_default): Likewise.
895
896         * iopopen.c: Take care for systems already defining _POSIX_SOURCE.
897         Correct _IO_fork and _IO_dup2 prototypes.
898
899         * iofclose.c: Acquire lock before starting the work.
900         * iofflush.c: Likewise.
901         * iofgetpos.c: Likewise.
902         * iofgets.c: Likewise.
903         * iofputs.c: Likewise.
904         * iofread.c: Likewise.
905         * iofsetpos.c: Likewise.
906         * ioftell.c: Likewise.
907         * iofwrite.c: Likewise.
908         * iogetdelim.c: Likewise.
909         * iogets.c: Likewise.
910         * ioputs.c: Likewise.
911         * iosetbuffer.c: Likewise.
912         * iosetvbuf.c: Likewise.
913         * ioungetc.c: Likewise.
914
915         * iofdopen.c: Create and initialize lock for new stream.
916         * iofopen.c: Likewise.
917         * iopopen.c (_IO_popen): Likewise.
918         * iovsprintf.c: Likewise.
919         * iovsscanf.c: Likewise.
920
921         * genops.c: Make weak aliases for various functions.
922         * iofclose.c: Likewise.
923         * iofdopen.c: Likewise.
924         * iofflush.c: Likewise.
925         * iofgetpos.c: Likewise.
926         * iofgets.c: Likewise.
927         * iofopen.c: Likewise.
928         * iofputs.c: Likewise.
929         * iofread.c: Likewise.
930         * iofsetpos.c: Likewise.
931         * ioftell.c: Likewise.
932         * iofwrite.c: Likewise.
933         * iogetdelim.c: Likewise.
934         * iogets.c: Likewise.
935         * ioputs.c: Likewise.
936         * iosetbuffer.c: Likewise.
937         * iosetvbuf.c: Likewise.
938         * ioungetc.c: Likewise.
939         * iovsprintf.c: Likewise.
940         * iovsscanf.c: Likewise.
941
942         * iofflush_u.c: New file.  fflush_unlocked implementation.
943
944         * iostream.h [_G_HAVE_LONG_DOUBLE_IO]: Declare real long double
945         output operator.
946
947         * peekc.c: New file.  Implement _IO_peekc_locked function.
948
949         * stdfiles.c: If we compile for a thread-safe library also define
950         lock variable.
951
952 Tue Aug 26 12:24:01 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
953
954         * testsuite/Makefile.in (check): Don't depend on site.exp.
955         (just-check): Depend on site.exp.
956
957 Wed Aug 20 02:01:34 1997  Jason Merrill  <jason@yorick.cygnus.com>
958
959         * iostream.h: Add copy assignment ops for _IO_?stream_withassign.
960
961 Tue Jul 22 10:31:41 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
962
963         * config.shared (CHECK_SUBDIRS): Use install-sh, not install.sh.
964
965 Wed Jun 25 12:20:55 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
966
967         * config.shared (DOING_GPERF): Look for this, defining TOLIBGXX
968         and LIBS for it.
969
970 Wed Jun 18 11:03:34 1997  Bob Manson  <manson@charmed.cygnus.com>
971
972         * config.shared (FLAGS_TO_PASS): Don't include RUNTEST.
973
974 Tue Jun 17 22:23:48 1997  Bob Manson  <manson@charmed.cygnus.com>
975
976         * config.shared (FLAGS_TO_PASS): Pass RUNTEST and RUNTESTFLAGS.
977
978 Fri May 16 21:08:53 1997  Bob Manson  <manson@charmed.cygnus.com>
979
980         * iovfprintf.c: Declare __cvt_double before use.
981
982         * floatconv.c (d2b): Use _G_int32_t instead of int for the
983         e and bits parameters.
984         (_IO_strtod): Use _G_int32_t.
985
986         * gen-params: Look for NO_USE_DTOA and USE_INT32_FLAGS.
987
988         * strops.c (_IO_str_init_static): use _G_int32_t appropriately.
989
990         * libio.h: If _G_NO_USE_DTOA is set, then don't define
991         _IO_USE_DTOA.
992
993         * config/mn10200.mt: Don't use dtoa, it only works
994         for "real" doubles.
995
996 Thu May 15 17:44:12 1997  Bob Manson  <manson@charmed.cygnus.com>
997
998         * configure.in: Set CHECK_SUBDIRS to testsuite if we're doing
999         a cross compile.
1000
1001         * config.shared(check): Only run make check in the directories
1002         specified by CHECK_SUBDIRS. Set CHECK_SUBDIRS to SUBDIRS
1003         if it has no previous value.
1004
1005 Thu May  1 17:35:19 1997  Jason Merrill  <jason@yorick.cygnus.com>
1006
1007         * Makefile.in (test, tpipe): Add $(CFLAGS).
1008
1009 Wed Apr 30 12:16:29 1997  Jason Merrill  <jason@yorick.cygnus.com>
1010
1011         * configure.in: Don't turn on multilib here.
1012
1013 Sat Apr 26 13:38:21 1997  Bob Manson  <manson@charmed.cygnus.com>
1014
1015         * configure.in (configdirs): Add testsuite directory.
1016
1017         * testsuite/ChangeLog:
1018         * testsuite/Makefile.in:
1019         * testsuite/libio.tests/tiomanip.exp:
1020         * testsuite/libio.tests/tstdiomisc.exp:
1021         * testsuite/libio.tests/tiomisc.exp:
1022         * testsuite/libio.tests/tFile.exp:
1023         * testsuite/libio.tests/tfformat.exp:
1024         * testsuite/libio.tests/tiformat.exp:
1025         * testsuite/libio.tests/hounddog.exp:
1026         * testsuite/libio.tests/putbackdog.exp:
1027         * testsuite/configure.in:
1028         * testsuite/lib/libio.exp:
1029         * testsuite/config/default.exp:
1030         New files for DejaGnu-style testsuite.
1031
1032 Fri Apr  4 03:16:44 1997  Ulrich Drepper  <drepepr@cygnus.com>
1033
1034         * configure.in: Enable multilibing by default.
1035         Update multilib template to read config-ml.in.
1036
1037         * floatconv.c: Enable use in cross targets which use the
1038         newlib ieeefp.h header.
1039
1040 Thu Jan 23 09:16:16 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
1041
1042         * libioP.h (_IO_file_attach): Delete redundant decl.
1043
1044 Tue Jan 21 22:13:45 1997  Brendan Kehoe  <brendan@lisa.cygnus.com>
1045
1046         * streambuf.h (class ios): Take out STREAMSIZE member, since we
1047         only need (and should only have) the global one.
1048
1049 Tue Jan  7 14:02:40 1997  Jason Merrill  <jason@yorick.cygnus.com>
1050
1051         * iostream.h (long long fns): Use __extension__.
1052
1053         * gen-params: Use _G_llong and _G_ullong instead of long long for
1054         deduced types.
1055
1056 Fri Dec  6 13:13:30 1996  Jason Merrill  <jason@yorick.cygnus.com>
1057
1058         * dbz/dbz.c: Use off_t.
1059
1060 Sat Nov 23 15:44:37 1996  Jason Merrill  <jason@yorick.cygnus.com>
1061
1062         * Makefile.in (install): Don't install _G_config.h with other headers.
1063
1064 Mon Nov 18 17:12:41 1996  Jason Merrill  <jason@yorick.cygnus.com>
1065
1066         * config.shared (SUBDIRS): Use -O instead of -O3 for debugging.
1067
1068 Sun Nov  3 12:43:34 1996  Jason Merrill  <jason@yorick.cygnus.com>
1069
1070         * iostream.cc (write_int): Treat string literals as const.
1071
1072 Thu Sep 26 10:09:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
1073
1074         * depend: Regenerate.
1075
1076 Wed Sep 25 22:54:45 1996  Jason Merrill  <jason@yorick.cygnus.com>
1077
1078         * config.shared (depend.new): Deal with headers that don't end in .h.
1079
1080 Thu Aug 29 17:05:53 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
1081
1082         * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
1083
1084 Mon Aug  5 01:26:32 1996  Jason Merrill  <jason@yorick.cygnus.com>
1085
1086         * config{ure.in,.shared} (DISTCLEAN): Add multilib.out.
1087
1088 Fri Aug  2 17:39:35 1996  Jason Merrill  <jason@yorick.cygnus.com>
1089
1090         * libio.h (NULL): Use __null.
1091         * libioP.h (NULL): Ditto.
1092         * streambuf.h (NULL): Ditto.
1093         * ioextend.cc (get_array_element): Use NULL instead of (void*)0.
1094
1095 Fri Jul  5 18:26:41 1996  Jim Wilson  <wilson@cygnus.com>
1096
1097         * strfile.h (struct _IO_streambuf): New struct type.
1098         (struct _IO_strfile): Use it.
1099
1100 Tue Jun 18 18:24:21 1996  Jason Merrill  <jason@yorick.cygnus.com>
1101
1102         * fstream.h (fstreambase): Make __my_fb mutable.
1103         From Joe Buck.
1104
1105 Tue Jun 18 11:03:53 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
1106
1107         * dbz/fake.c (main): Set return type to int.
1108         * dbz/dbzmain.c (main): Likewise.
1109         * dbz/byteflip.c (main): Likewise.
1110
1111 Mon Jun 17 14:05:36 1996  Jason Merrill  <jason@yorick.cygnus.com>
1112
1113         * gen-params: Check if clog conflicts with system libraries.
1114         * stdstreams.cc: If it does, use __IO_clog.
1115         * iostream.h: Likewise.
1116
1117 Tue Jun 11 13:39:31 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
1118
1119         * stdiostream.h (istdiostream (FILE*)): Put istream base
1120         initializer before init for __f.
1121         (ostdiostream (FILE*)): Likewise for ostream base init.
1122
1123 Tue May 14 11:47:21 1996  Per Bothner  <bothner@andros.cygnus.com>
1124
1125         * strfile.h (_IO_str_fields):  Removed _len field.
1126         (_IO_STR_DYNAMIC, _IO_STR_FROZEN):  new macros.
1127         * strstream.h (strstreambuf::is_static):  Removed.
1128         (strstreambuf::frozen):  Use _IO_STR_DYNAMIC instead of is_static.
1129         * strstream.h, strstream.cc:  Remove support for !_IO_NEW_STREAMS.
1130         * strstream.cc (strstreambuf::init_dynamic):  Don't set _s._len.
1131         * strops.c (_IO_str_init_static):  Better handling of the
1132         negative (== unbounded) size case.
1133         (_IO_str_overflow, _IO_str_underflow, _IO_str_count):  Re-write
1134         to not use _s._len, and otherwise cleanup/fix.
1135         * strstream.h, strstream.cc (strstreambase::strstreambase()):  Call
1136         ios::init here.
1137         (other constructors):  Simplify - init already called.
1138
1139 Tue May 14 10:55:21 1996  Per Bothner  <bothner@deneb.cygnus.com>
1140
1141         Change so that strstreambuf default constructor does no allocation.
1142         * strstream.h (strstreambuf::init_dynamic):  Default initial size = 0.
1143         * strstream.cc (strstreambuf::init_dynamic):  Don't allocate a
1144         buffer (yet) if initial_size is 0.
1145         * strops.c (_IO_str_overflow):  Add 100 to size of re-allocated
1146         buffer, to handle case when initial size is 0.
1147
1148         * iostdio.h (remove, rename, tmpfile, tempnam):  Comment out.
1149
1150 Mon May 13 23:19:39 1996  Per Bothner  <bothner@deneb.cygnus.com>
1151
1152         * fileops.c (_IO_file_close_it):  Just call _IO_do_flush rather
1153         than _IO_file_sync, to avoid useless lseek.
1154
1155 Tue May 14 10:48:48 1996  Jason Merrill  <jason@yorick.cygnus.com>
1156
1157         * floatconv.c (_IO_strtod): Force rv into the stack.
1158
1159         * config.shared (gxx_includedir): Now $(includedir)/g++.
1160
1161 Sat Apr 27 02:37:49 1996  Jason Merrill  <jason@yorick.cygnus.com>
1162
1163         * libioP.h (JUMP*): Implement for thunks.
1164         (_IO_jump_t): Add second dummy field for thunks.
1165
1166 Thu Apr 25 13:20:00 1996  Jason Merrill  <jason@yorick.cygnus.com>
1167
1168         * config.shared (CXX): Use gcc, not g++.
1169
1170 Wed Apr 24 10:29:50 1996  Doug Evans  <dje@blues.cygnus.com>
1171
1172         * config.shared (depend.new): Delete $(srcdir)/ from foo.{c,cc}
1173         for SunOS VPATH.
1174         * depend: Regenerated.
1175
1176 Fri Apr 19 17:24:51 1996  Jason Merrill  <jason@yorick.cygnus.com>
1177
1178         * Version 2.8.0b3.
1179
1180 Wed Apr 10 17:16:01 1996  Jason Merrill  <jason@yorick.cygnus.com>
1181
1182         * configure.in (ALL): Don't build iostream.a.
1183
1184 Mon Apr  8 14:44:11 1996  Per Bothner  <bothner@kalessin.cygnus.com>
1185
1186         * iosetvbuf.c (_IO_setvbuf):  Clear _IO_UNBUFFERED unless _IONBF.
1187
1188 Mon Apr  8 15:08:23 1996  Ian Lance Taylor  <ian@cygnus.com>
1189
1190         * configure.in: Permit --enable-shared to specify a list of
1191         directories.
1192
1193 Fri Apr  5 17:48:56 1996  Per Bothner  <bothner@kalessin.cygnus.com>
1194
1195         * config.shared (MOSTLYCLEAN):  Also remove ${EXTRA_MOSTLYCLEAN}.
1196
1197 Fri Mar 22 23:25:00 1996 Ulrich Drepper  <drepepr@gnu.ai.mit.edu>
1198
1199         * genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag if putsh
1200         back was successful.
1201
1202 Wed Mar 27 11:54:08 1996  Jason Merrill  <jason@yorick.cygnus.com>
1203
1204         * Version 2.8.0b2.
1205
1206 Fri Mar 22 15:39:36 1996  Per Bothner  <bothner@kalessin.cygnus.com>
1207
1208         * fileops.c (_IO_do_write):  Revert previous fix.  (It fails to
1209         handle the case that fp->_IO_read_end != fp->_IO_write_base.)
1210         (_IO_file_overflow):  Instead, if _IO_read_ptr is at the end of
1211         the buffer, reset all the read pointers to _IO_buf_base.
1212
1213 Tue Mar 12 12:03:17 1996  Per Bothner  <bothner@kalessin.cygnus.com>
1214
1215         * fileops.c (_IO_do_write):  Even if to_do==0, must re-set buffer
1216         pointers.  Bug and solution from Luke Blanshard <luke@cs.wisc.edu>.
1217
1218 Wed Feb 28 10:00:24 1996  Jason Merrill  <jason@yorick.cygnus.com>
1219
1220         * Version 2.8.0b1.
1221
1222 Tue Feb 27 18:08:16 1996  Per Bothner  <bothner@kalessin.cygnus.com>
1223
1224         * iopopen.c (_IO_proc_open):  Use (char*)0 rather than imprecise NULL.
1225
1226         * streambuf.h (ios):  Add ios::binary;  deprecate ios::bin.
1227         * filebuf.cc (filebuf::open):  Handle ios::binary.
1228
1229 Fri Feb  9 12:40:19 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
1230
1231         * cleanup.c (_IO_cleanup_registration_needed) [!_G_HAVE_ATEXIT]: Init
1232         to NULL.
1233         * filedoalloc.c (_IO_cleanup_registration_needed): Remove decl.
1234
1235 Thu Feb  8 08:12:50 1996  Brendan Kehoe  <brendan@cygnus.com>
1236
1237         * filedoalloc.c (_IO_cleanup_registration_needed): Revert previous
1238         change, since cleanup.c only defines it if _G_HAVE_ATEXIT.
1239
1240 Wed Feb  7 15:10:17 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
1241
1242         * filedoalloc.c (_IO_cleanup_registration_needed): Declare as extern.
1243
1244 Tue Dec 12 17:21:13 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1245
1246         * indstream.h, instream.cc (indirectbuf::uflow):  New method.
1247         * indstream.cc (indirectbuf::underflow):  Fix to use sgetc, not sbumpc.
1248         Fixes bug reported by Kevin Beyer <beyer@cs.wisc.edu>.
1249
1250         * indstream.cc (indirectbuf::seekpos):  Add paranoia test.
1251
1252 Fri Dec  8 14:55:34 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1253
1254         * stream.h:  Add warning to not use these functions.
1255         * stream.cc (str, chr):  Re-implement here (from libg++).
1256
1257 Tue Nov 28 15:07:01 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1258
1259         * config.shared:  Use test instead of [ to avoid DEC Unix lossage.
1260
1261 Thu Nov 23 14:51:43 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1262
1263         * iopopen.c: Move #include <sys/types.h> ahead of #include <signal.h>
1264         to deal with BSDI's literal implementation of Posix.
1265
1266 Sat Nov 25 11:21:55 1995  Doug Evans  <dje@canuck.cygnus.com>
1267
1268         * Makefile.in (install): Set rootme.
1269         * config.shared (TOPDIR): Set with ${foo-...} rather than ${foo=...}.
1270         (INSTALL): Handle absolute, dot, relative-not-dot values of srcdir.
1271         (TEXIDIR): Likewise.
1272
1273 Tue Nov 21 14:12:05 1995  Ian Lance Taylor  <ian@cygnus.com>
1274
1275         * configure.in: Check ${with_cross_host} rather than comparing
1276         ${host} and ${target}.
1277
1278 Mon Nov 20 13:55:29 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
1279
1280         * configure.in: Match *-sco3.2v[45]*.
1281
1282 Wed Nov 15 20:19:31 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
1283
1284         * config.shared (FLAGS_TO_PASS): Also pass SHLIB and SHCURSES.
1285
1286 Tue Nov 14 01:41:08 1995  Doug Evans  <dje@canuck.cygnus.com>
1287
1288         * config.shared (TO_REAL_TOPDIR): Define.
1289         (MULTITOP): Deleted.
1290         (MULTISRCTOP, MULTIBUILDTOP): New.
1291         (TOPDIR): Change MULTITOP to MULTIBUILDTOP, and use TO_REAL_TOPDIR.
1292         (INSTALL): Add with_multisrctop, TO_REAL_TOPDIR.
1293         (TEXIDIR): Use TO_REAL_TOPDIR.
1294         (LIBS): Delete MULTITOP.
1295         (FLAGS_TO_PASS): Add NM.
1296         (CXXINCLUDES): Delete MULTITOP.
1297         (depend.new): Delete adding MULTITOP to ../ build tree references.
1298         Add MULTISRCTOP to ../ source tree references.
1299         * configure.in: Delete call to cfg-ml-com.in.  Call config-ml.in
1300         instead of cfg-ml-pos.in.
1301
1302 Sun Nov 12 16:30:48 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1303
1304         * Makefile.in (VERSION):  Set to 2.7.1.
1305         * configure.in:  Add warning for Linux.
1306         * config.shared (DISTCLEAN):  Add EXTRA_DISTCLEAN.
1307
1308         * editbuf.h (edit_mark::index_in_buffer):  Avoid unused param warning.
1309
1310         * iostream.cc (istream::operator>> (char*)):  Improve ANSI compliance.
1311
1312 Fri Nov 10 08:41:37 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
1313
1314         * config.shared (check): Add missing semicolon.
1315
1316 Thu Nov  9 17:27:22 1995  Jason Merrill  <jason@yorick.cygnus.com>
1317
1318         * configure.in (ALL): Remove $(OSPRIM_OBJECTS).
1319         * config.shared (check): Set LD_LIBRARY_PATH.
1320         * NEWS: Fix typo.
1321         * iogetdelim.c (_IO_getdelim): Index *lineptr, rather than lineptr.
1322         From alan@spri.levels.unisa.edu.au (Alan Modra).
1323
1324 Mon Nov  6 15:03:33 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1325
1326         * streambuf.cc, editbuf.cc, isgetline.cc, parsestream.cc:
1327         Fixes to avoid -Wall warnings.
1328
1329 Fri Nov  3 16:41:41 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
1330
1331         * gen-params [!__STDC__]: Include varargs.h instead of stdarg.h.
1332
1333 Thu Nov  2 15:04:03 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1334
1335         * config.shared:  Re-write if X then Y else true fi to (not X) || Y.
1336
1337 Wed Nov  1 13:26:44 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1338
1339         * iostream.h (istream::ipfx):  Add default argument value.
1340         Reported by Yotam Medini <yotam_medini@tmai.com>.
1341
1342         * libioP.h (_IO_blen):  Fix typo.
1343         Reported by Bryan T. Vold <btv@ldl.healthpartners.com>.
1344
1345 Fri Oct 27 19:26:20 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1346
1347         * Makefile.in (_G_config.h):  Set CC to $(CC) rather than to $(CXX),
1348         now that CXX defaults to g++ and CC default to gcc (when found).
1349         * config.shared:  Simplify CXX and CC, since they get overridden
1350         by ../configure anyway.
1351
1352 Wed Oct 25 19:45:50 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
1353
1354         * iostdio.h: Wrap including the file with #ifndef _IOSTDIO_H.
1355
1356 Wed Oct 25 11:14:25 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1357
1358         * libio.h (_IO_seekoff, _IO_seekpos):  New declarations.
1359         * libioP.h (_IO_seekoff, _IO_seekpos):  Remove declarations.
1360         * libioP.h:  Cleanup;  remove old !_IO_UNIFIED_JUMPTABLES stuff.
1361
1362         * filebuf.cc (filebuf::~filebuf):  Only call SYSYCLOSE if currently
1363         open.  Bug found by Martin Gerbershagen <ger@ezis-ulm.de>.
1364
1365         * streambuf.h (streambuf::pubseekoff, streambuf::pubseekpos):
1366         Added, from ANSI draft.
1367         * filebuf.cc (filebuf::open), iostream.cc (variables places), SFile.cc:
1368         Use pubseekoff/pubseekpos rather than sseekoff/sseekpos.
1369
1370         * Makefile.in (install):  Don't install libiostream.a.
1371
1372         * filedoalloc.c:  Also #include <unistd.h>.
1373
1374 Mon Oct  9 18:09:54 1995  Jason Molenda  <crash@phydeaux.cygnus.com>
1375
1376         * config.shared (SUFFIXES): add .c.
1377
1378 Tue Sep 26 16:08:01 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1379
1380         * procbuf.cc:  Move #pragma implementation to beginning.
1381
1382 Wed Sep 20 17:53:33 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1383
1384         * procbuf.h, procbuf.cc:  Add #pragma interface/implementation stuff.
1385
1386 Wed Sep 20 18:59:00 1995  John Eaton  <jwe@bevo.che.wisc.edu>
1387
1388         * procbuf.h: Protect from being included multiple times.
1389
1390 Wed Sep 20 15:47:14 1995  John Eaton <jwe@bevo.che.wisc.edu>
1391
1392         * procbuf.h (procbuf):  Add '_next' pointer field for compatibility
1393         with _IO_proc_file.
1394
1395 Wed Sep 20 13:54:02 1995  Ian Lance Taylor  <ian@cygnus.com>
1396
1397         * config.shared: Add support for maintainer-clean target as a
1398         synonym for realclean.
1399         * dbz/Makefile.in: Likewise.
1400
1401 Mon Sep 11 12:11:19 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1402
1403         * iopopen.c:  #include <sys/types.h> before <sys/wait.h>.
1404         This is in accordance with Posix, and needed for ISC.
1405
1406 Fri Sep  8 00:11:55 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
1407
1408         * gen-params: Use double quotes in the eval setting $TYPE to
1409         $VALUE, to preserve any single quotes in $VALUE.
1410
1411 Mon Aug 21 11:39:09 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
1412
1413         * gen-params: Test for an appropriate version of gcc before using
1414         mode attributes.
1415
1416         * config.shared: Add $(PICDIR) to $ALL.
1417
1418 Mon Aug  7 17:51:40 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1419
1420         * gen-params:  Generate new macro _G_HAVE_SYS_CDEFS.
1421         * libio.h:  If _G_HAVE_SYS_CDEFS, get __P from <sys/cdefs.h>.
1422
1423 Fri Aug  4 23:21:17 1995  Paul Eggert  <eggert@twinsun.com>
1424
1425         * gen-params: When following typedef changes, allow typedefs
1426         that do not have a space before the defined type name,
1427         e.g. `typedef void *__gnuc_va_list;' as in Linux.  Also,
1428         not require a space in the definiens, e.g. `typedef void*foo;'.
1429
1430 Thu Aug  3 17:54:15 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1431
1432         * iostream.h, iostream.cc (istream::sync):  Added missing method.
1433
1434 Thu Aug  3 17:49:34 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1435
1436         * configure.in:  Remove netbsd special case.
1437         * config/netbsd.mt:  Removed;  no longer used.
1438
1439 Tue Jun 20 16:07:12 1995  Paul Eggert  <eggert@twinsun.com>
1440
1441         * gen-params: Take transitive closure of `typedef' relation.
1442         This is needed for BSD/OS 2.0, which has
1443         fpos_t -> off_t -> quad_t -> long long.
1444
1445 Mon Jul 24 18:28:10 1995  Doug Evans  <dje@canuck.cygnus.com>
1446
1447         * config.shared (TOPDIR): Delete extra '/', $rootme may be empty.
1448
1449 Sat Jul 22 13:27:45 1995  Doug Evans  <dje@canuck.cygnus.com>
1450
1451         * config.shared (depend.new): Fix quoting in DO NOT EDIT line.
1452
1453         * Makefile.in (_G_config.h): Add multilib support.
1454         (install): Likewise.
1455         * config.shared: Likewise.
1456         * configure.in: Likewise.
1457
1458 Wed Jun 28 17:40:25 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
1459
1460         * PlotFile.h, SFile.h, builtinbuf.h, editbuf.h, fstream.h,
1461         indstream.h, iomanip.h, iostream.h, parsestream.h, pfstream.h,
1462         procbuf.h, stdiostream.h, stream.h, streambuf.h, strstream.h: Wrap
1463         with extern "C++".
1464
1465 Thu Jun 22 04:34:01 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
1466
1467         * gen-params: Surround attributes with __.
1468
1469 Mon Jun 19 00:33:22 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
1470
1471         * config.shared (SUBDIRS): Massage broken shells that require
1472         'else true'.
1473
1474 Sat Jun 17 11:25:38 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
1475
1476         * streambuf.h: Declare inline members inline in class.
1477
1478 Thu Jun 15 20:45:13 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1479
1480         * Makefile.in (VERSION):  Update to version 2.7.0.
1481
1482 Wed Jun 14 21:41:11 1995  Jason Merrill  <jason@python.cygnus.com>
1483
1484         * Makefile.in (STDIO_WRAP_OBJECTS): Remove stdfiles.o.
1485         (LIBIO_OBJECTS): Add stdfiles.o.
1486
1487 Wed Jun  7 16:11:36 1995  Jason Merrill  <jason@python.cygnus.com>
1488
1489         * config.shared (all): Appease bash.
1490
1491 Wed Jun  7 11:16:38 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
1492
1493         * configure.in (MOSTLYCLEAN): Remove stamp-picdir.
1494
1495         * config.shared (MOSTLYCLEAN): Ditto.
1496         (CLEAN): Don't.
1497
1498 Mon Jun  5 18:29:39 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
1499
1500         * config/mh-*pic: Removed.
1501
1502         * configure.in (MOSTLYCLEAN): Remove pic objects.
1503         (frags): Use toplevel pic fragments.
1504
1505         * config.shared (CXXFLAGS): Use -O3.
1506         (PICFLAG, PICDIR): New macros.
1507         (all): Depend on $(PICDIR).
1508         (FLAGS_TO_PASS): Pass PICFLAG.
1509         (.x.o): Also build pic object.
1510         (stamp-picdir): Create directory for pic objects.
1511         (MOSTLYCLEAN): Remove pic objects.
1512         (CLEAN): Remove stamp-picdir.
1513
1514         * Makefile.in (iostream.list): Depend on stamp-picdir.
1515         (c++clean): Don't remove _G_config.h.
1516
1517 Mon Jun  5 15:03:47 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1518
1519         * strstream.h, strstream.cc (strstream::strstream()):  Re-implement to
1520         be like ostrstream::ostrestream(), and not leak memory.
1521
1522         * streambuf.h:  Use #if !_IO_UNIFIED_JUMPTABLES instead of #ifndef.
1523
1524         * iolibio.h (_IO_rewind):  Add missing flags when calling _IO_seekoff.
1525
1526 Thu May 25 22:30:21 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
1527
1528         * config/netbsd.mt (G_CONFIG_ARGS): Add defn for off_t.  Another
1529           layer of typedefs has been added and the gen-params script can
1530           not handle it.
1531
1532 Wed May 10 03:02:58 1995  Jason Merrill  <jason@python.cygnus.com>
1533
1534         * iolibio.h (_IO_rewind): Add new argument to _IO_seekoff.
1535
1536         * config/linux.mt (LIBIOSTREAM_OBJECTS): Include $(STDIO_WRAP_OBJECTS).
1537         (LIBIOSTREAM_DEP): Include stdio.list.
1538         (LIBIOSTREAM_USE): Include `cat stdio.list`.
1539
1540         * Makefile.in (LIBIOSTREAM_DEP): New variable.
1541         (LIBIOSTREAM_USE): Ditto.
1542         (libiostream.a): Use them.
1543         (iostream.list): Ditto.
1544         (stdio.list): New rule.
1545         (stdio/stdio.list): Ditto.
1546
1547 Tue May  9 18:29:38 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
1548
1549         * libioP.h (_IO_jump_t): Change TYPE for __dummy from int to
1550         _G_size_t.
1551
1552 Sat May  6 13:50:37 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1553
1554         * libio.h (_IO_UNIFIED_JUMPTABLES):  #define as true.
1555         (_IO_FILE):  Remove _jumps field (#if _IO_UNIFIED_JUMPTABLES).
1556
1557         * libioP.h (enum _IO_seekflags_):  Removed.
1558
1559         * libioP.h (_IO_setbuf_t):  Change return value of setpos jumptable
1560         function to match C++ streambuf::setpos.  (Return NULL on failure.)
1561         * fileops.c (_IO_file_setbuf), genops.c (_IO_default_setbuf),
1562         filebuf.cc, iosetvbuf.c:  Update to use new setbuf conventions.
1563
1564         * streambuf.h (streambuf):  Re-order virtual functions more logically.
1565         * streambuf.cc (streambuf::uflow), streambuf.h:  New virtual.
1566         * libioP.h (struct _IO_jump_t):  Define using new JUMP_FIELD macro.
1567         And re-order in more logical order consistent with streambuf vtable.
1568         * fileops.c (_IO_file_jumps), iopopen.c (_IO_proc_jumps), iovfprintf.c
1569         (_IO_helper_jumps), streambuf.cc (_IO_streambuf_jumps), strops.c
1570         (_IO_str_jumps):  Update accordingly, using JUMP_INIT macro.
1571         * stdfiles.c:  Set vtable to point to _IO_file_jumps.
1572         * filebuf.cc, iopopen.c, iovfprintf.c (helper_vfprintf), iovsprintf.c,
1573         iovsscanf.c:  Use macros and #if to set jumptables.
1574
1575         * streambuf.c:  _IO_streambuf_jumps and the _IO_sb_* methods are not
1576         needed #if _IO_UNIFIED_JUMPTABLES.
1577         * filebuf.cc (filebuf::__new):  Also no longer needed.
1578         * fstream.cc (fstreambase::__fb_init, fstreambase::fstreambase):  Fix.
1579         * stdstrbufs.c:  Use filebuf vtable instead of builtinbuf's.
1580         * builtinbuf.h, builtinbuf.cc (builtinbuf):  Commented out #if
1581         _IO_UNIFIED_JUMPTABLES - no longer needed.
1582         * strstream.cc (SET_STR_JUMPS):  Does nothing now.
1583
1584         * builtinbuf.cc, fileops.c, genops.c, iofgetpos.c, iofsetpos.c,
1585         ioftell.c, iopopen.c, ioseekoff.c, ioseekpos.c, iosetvbuf.c,
1586         iovfprintf.c, iovfscanf.c, strops.c:  Use DEFUN and DEFUN_VOID.
1587         * filebuf.cc, fileops.c, genops.c, iopopen.c, ioseekoff.c, ioseekpos.c,
1588         iosetvbuf.c, iovfscanf.c:  Use new JUMP_* and IO_OVERFLOW/... macros.
1589
1590         * libioP.h (_IO_seekpos_t):  Third arg is now an int (using _IOS_INPUT
1591         and _IOS_OUTPUT), not an enum _IO_seekflags_.  Flags values are
1592         changed, and their sense inverted (to match streambuf::seekpos).
1593         * libioP.h (_IO_seekoff_t):  Similarly match streambuf::seekoff.
1594         * filebuf.cc, fileops.c (_IO_file_fopen, _IO_file_seekoff), genops.c
1595         (_IO_default_seekpos, _IO_default_seekpos), iofgetpos.c, iofsetpos.c,
1596         iolibio.h (_IO_fseek), ioftell.c, ioseekoff.c, ioseekpos.c,
1597         iostream.cc, streambuf.cc, strops.c (_IO_str_seekoff), strstream.cc:
1598         New seekpos/seekoff conventions.
1599         * iostreamP.h (convert_to_seekflags):  Removed - no longer needed.
1600
1601         * iolibio.h (_IO_fread):  New declaration.
1602
1603         * dbz/Makefile.in:  Re-arrange for cleaner dependencies.
1604
1605 Fri May  5 15:55:22 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1606
1607         * libioP.h (_IO_JUMPS. JUMP_FIELD, JUMP0, JUMP1, JUMP2, JUMP3,
1608         JUMP_INIT, _IO_FINISH, _IO_OVERFLOW, ... _IO_SYSSTAT):  New macros
1609         in preparation for new unified jumptable/vtable implementation.
1610         * cleanup.c, filedoalloc.c, iofclose.c, iofflush.c, iofiledoalloc.c,
1611         ioprims.c, iosetbuffer.c, iostrerror.c, ioungetc.c:  Use DEFUN.
1612         * filedoalloc.c, iofclose, iofflush, iosetbuffer.c:  Use new macros.
1613
1614         * iofopen.c, iofdopen.c:  Use macros and #if for new jumptables.
1615
1616         * gen-params:  Do not #include <sys/types.h>.
1617         Add missing quote in 'eval'.
1618         Do add #include <sys/types.h> in test for <sys/resource.h>.
1619         * config/netbsd.mt:  New file, defining _G_CONFIG_ARGS (for fpos_t).
1620         * configure.in:  Use netbsd.mt for NetBSD.
1621
1622 Wed May  3 15:03:47 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1623
1624         * libioP.h (DEFUN, DEFUN_VOID, AND):  New macros, from ansidecl.h.
1625         * iofdopen.c, iofgets.c, iofopen.c, iofputs.c, iofread.c, iofwrite.c,
1626         iogetdelim.c, iogetline.c, iogets.c, ioignore.c, iopadn.c, ioperror.c,
1627         ioputs.c, iovsprintf.c, iovsscanf.c, outfloat.c:  Use DEFUN.
1628
1629 Mon May  1 16:22:30 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
1630
1631         * gen-params: #include <sys/types.h>.  Don't use __WCHAR_TYPE__ in
1632         definition of _G_wchar_t.  Use __attribute__ ((mode)) to get
1633         specific-sized ints under gcc, don't worry about int8 or int64
1634         otherwise.  Provide defaults if deduction fails.
1635
1636 Thu Apr 27 18:27:53 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1637
1638         * streambuf.h (ios::~ios):  Delete _arrays.
1639         (_IO_NEW_STREAMS):  Turn on.
1640         * libio.h (__adjust_column):  Remove bogus declaration.
1641         * genops.c (_IO_set_column):  Fix typo (in commented-out code).
1642
1643 Tue Apr 25 17:14:29 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
1644
1645         * config.shared (CXXINCLUDES): Use a shell variable with a
1646         different name from the make variable.
1647         * configure.in: Update accordingly.
1648
1649 Mon Apr 17 17:19:40 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1650
1651         * streambuf.h (__adjust_column):  Remove redundant declaration.
1652
1653 Sat Apr 15 11:39:25 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1654
1655         * config.shared (do-clean-dvi):  Also remove *.cps.
1656
1657         * gen-params:  Use ${SED} instead of sed.
1658
1659         * libio.h:  Remove #if'd out stuff (confuses makedepend).
1660
1661         * stdstreams.cc (STD_STR):  Standard streams start with ios::dec set.
1662
1663 Fri Apr 14 23:46:31 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1664
1665         * iostream.h, iostream.cc (istream::read, ostream::write):
1666         Use streamsize for the length parameter.
1667
1668         * streambuf.h:  Removed redundant __overflow and __underflow.
1669
1670         * fstream.h, fstream.cc: Add void fstreambase::attach(int).
1671
1672         * iosscanf.c (_IO_sscanf):  Fix non-__STDC__ missing declaration.
1673
1674 Mon Apr  3 15:40:55 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
1675
1676         * indstream.*: Fix prototypes of xsputn and xsgetn.
1677
1678         * fileops.c: Avoid ??? trigraph.
1679
1680 Mon Mar 27 16:16:38 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
1681
1682         * iomanip.h (operator<< (ostream&, const omanip<TP>&): Define
1683         separately.
1684         (operator>> (istream&, const imanip<TP>&): Ditto.
1685
1686 Mon Mar 27 08:56:00 1995  Brendan Kehoe  (brendan@lisa.cygnus.com)
1687
1688         * builtinbuf.cc (builtinbuf::setbuf): Cast NULL to streambuf*, to
1689         avoid warning/error about conversion from void*.
1690         * indstream.cc (indirectbuf::seekoff): Likewise.
1691         (indirectbuf::seekpos): Likewise.
1692         * filebuf.cc (filebuf::setbuf): Likewise.
1693         (filebuf::close): Cast NULL to filebuf*.
1694
1695 Wed Mar  1 14:23:18 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1696
1697         * configure.in (DISTCLEAN):  Add, with target-mkfrag.
1698
1699 Fri Feb 24 01:01:08 1995  Jason Merrill  <jason@python.cygnus.com>
1700
1701         * configure.in (frags): Don't require so many dashes in the
1702         canonical target name.
1703
1704 Sat Feb 18 13:18:30 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1705
1706         * streambuf.cc (streambuf::sync):  Always return 0, even for
1707         non-flushed output.  This is required by the ANSI/ISO draft.
1708         * genops.c (_IO_sync):  Likewise always return 0.
1709
1710 Fri Feb 17 16:33:28 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1711
1712         * fileops.c (_IO_file_close_it):  Call _IO_file_sync, rather
1713         than _IO_do_flush, because we want to adjust the file pointer
1714         if reading and not at end (as in SVR4, and as in fflush).
1715         Also, make sure to return error indication if sync fails.
1716         (_IO_file_sync):  Ignore seek error if it is ESPIPE.
1717         (_IO_file_seekoff):  If not readable, do dumb lseek.
1718         * iofclose.c (_IO_fclose):  If closing a non-filebuf, return -1
1719         if _IO_ERR_SEEN.
1720
1721 Fri Feb 17 19:31:00 1995  Ian Lance Taylor  <ian@cygnus.com>
1722
1723         * gen-params: Check for struct tms in <sys/times.h>, defining
1724         HAVE_SYS_TIMES accordingly.
1725
1726 Wed Feb 15 21:05:11 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1727
1728         * strops.c (_IO_str_count):  Use LEN macro.
1729         (_IO_str_seekoff):  Update _len field.
1730
1731 Mon Feb  6 19:29:00 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
1732
1733         * gen-params: Default to short, long and long long for 16, 32 and
1734         64 bit types, in case detection fails.
1735
1736 Wed Jan 25 18:07:30 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
1737
1738         * gen-params (_G_wint_t): Allow for broken promotions.
1739
1740 Tue Jan 24 16:15:40 1995  Per Bothner  <bothner@kalessin.cygnus.com>
1741
1742         * stdstrbufs.cc (_IO_fake_stdiobufs):  Add an extra layer of struct,
1743         to force correct alignment on i960s.
1744         (DEF_STDIOBUF, _IO_{stdin,stdout,stderr}_buf):  Update accordingly.
1745
1746 Thu Jan 19 18:30:53 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
1747
1748         * config.shared (CXXINCLUDES): Add libstdc++ to includes for
1749         building libg++.
1750         (LIBS): Also link with libstdc++ when building libg++ toys.
1751         Don't set EXPORT_ALL_VARIABLES; users will have to set
1752         LD_LIBRARY_PATH themselves.
1753
1754 Fri Dec 30 16:38:13 1994  Mike Stump  <mrs@cygnus.com>
1755
1756         * config/linux.mt: Fix build problem on linux 1.0.8.
1757
1758 Thu Dec 22 11:49:45 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
1759
1760         * config/netware.mt: Use gcc to pre-link iostream.nlm's objects
1761           instead of using nlmconv, so that references to functions in
1762           libgcc.a are resolved.
1763
1764         * configure.in: Append .mt to target makefile fragment file names.
1765
1766         * floatconv.c (tens, tinytens, bigtens): Added const qualifier.
1767
1768 Tue Dec 20 09:59:50 1994  Mike Stump  <mrs@cygnus.com>
1769
1770         * gen-params (VTABLE_LABEL_PREFIX): Since some systems have GNU nm
1771         as nm, and they demangle by default, we have to notice this, and
1772         try --no-cplus (linux) or --no-demangle when running nm.
1773
1774 Wed Dec 14 18:13:58 1994  Per Bothner  <bothner@kalessin.cygnus.com>
1775
1776         * gen-params:  To determine vt-name-mangling using dummy.C add
1777         #include and #prama interface/implementation to avoid problem with
1778         assemblers that don't emit local symbols.  Reported under HPUX 8
1779         by Thomas Arend <arend@blasius.Chemietechnik.Uni-Dortmund.DE>.
1780
1781         * streambuf.h (ios::ios):  Move inline definition after
1782         that of ios::init (which ios::ios calls).
1783
1784 Sun Dec  4 19:50:32 1994  Per Bothner  <bothner@kalessin.cygnus.com>
1785
1786         * fileops.c (_IO_file_init, _IO_file_close_it, _IO_file_sync):
1787         Set _offset to _IO_pos_BAD, to support applications that follow
1788         POSIX.1 rules on mixing file handles.
1789
1790         * fileops.c (_IO_file_overflow):  Handle case that buffer was
1791         allocated (perhaps by setvbuf) but _IO_write_base is still 0.
1792
1793         * iostdio.h (setbuffer):  #define as _IO_setbuffer.
1794         * streambuf.h, filebuf.cc:  Removed filebuf::do_write.
1795
1796 Tue Nov 29 23:38:57 1994  Per Bothner  (bothner@rtl.cygnus.com)
1797
1798         * floatconv.c (setword0, setword1):  Fix typo.
1799
1800 Tue Nov 29 15:37:29 1994  Per Bothner  <bothner@kalessin.cygnus.com>
1801
1802         * config.shared:  Move -fno-implicit-template from CXXFLAGS
1803         to LIBCXXFLAGS.  Tests are better run without it.
1804
1805         * floatconv.c (word0, word1):  Re-place/re-implement using unions
1806         instead of casts to avoid optimizer problems.
1807
1808         * dbz/dbzmain.c:  Renamed dirname -> dir_name to avoid OSF
1809         header file braindamage.
1810
1811 Sat Nov  5 19:44:00 1994  Jason Merrill  (jason@phydeaux.cygnus.com)
1812
1813         * config.shared (LIBCFLAGS): Define.
1814         (LIBCXXFLAGS): Define.
1815         (DOING_LIBGXX): Define TOLIBGXX.  Change LIBS to use -lg++.  Add
1816         LD_LIBRARY_PATH and .EXPORT_ALL_VARIABLES:.
1817         (FLAGS_TO_PASS): Add LIBC{,XX}FLAGS.
1818         (XC{,XX}FLAGS): Set to LIBCFLAGS or CFLAGS depending on $LIBDIR.
1819         (COMPILE.c): Define, use in .c.o rule.
1820         (COMPILE.cc): Define, use in .cc.o rule.
1821
1822 Sat Nov  5 15:12:12 1994  Per Bothner  <bothner@kalessin.cygnus.com>
1823
1824         * Makefile.in (VERSION):  Update to 0.67.
1825
1826         * streambuf.h (ios::dont_close):  Is now set by default.
1827         * fstream.h, fstream.cc (__fb_init):  New function.  Clears
1828         ios::dont_close.  Change fstreambase constructors to call it.
1829         * strstream.cc:  *strstream constructors must clear ios::dont_close.
1830         * iostream.cc:  Simplify - don't need to set ios::dont_close.
1831         * ioassign.cc:  Simplify - assume ios::dont_close is always set.
1832
1833         * fstream.h, fstream.cc:  If _IO_NEW_STREAMS, put the
1834         filebuf as a member __my_fb.
1835         * strstream.{h,cc}:  Likewile use a strstreambuf member __my_sb.
1836         * streambuf.h, stdstreams.cc, ioextend.cc:
1837         Fix if _IO_NEW_STREAMS to not use ios::dont_close.
1838
1839         * streambuf.h (class ios):  Move rdbuf later, to avoid
1840         inability of g++ to inline.
1841         * filebuf.cc (filebuf::~filebuf):  Call _IO_do_flush.
1842
1843         * config.shared:  Emit rules to make depend.
1844         * depend:  New file.
1845
1846 Fri Nov  4 17:19:11 1994  Per Bothner  <bothner@kalessin.cygnus.com>
1847
1848         * README:  Fix typos.
1849         * libio.h:  Add comment.  Update Copyright notice.
1850
1851 Fri Nov  4 21:46:30 1994  Paul Eggert  <eggert@twinsun.com>
1852
1853         * libio.h (__P): Change argument name spelling from
1854         `paramlist' to `protos' for compatibility with BSDI 1.1.
1855
1856 Thu Nov  3 00:45:16 1994  Jason Merrill  (jason@phydeaux.cygnus.com)
1857
1858         * config.shared (CXXFLAGS): Add -fno-implicit-templates.
1859
1860 Mon Oct 24 15:57:35 1994  Per Bothner  <bothner@kalessin.cygnus.com>
1861
1862         * config.shared:  Define NOSTDIC and use it for libio too.
1863
1864 Thu Oct 20 19:45:35 1994  Jason Merrill  (jason@phydeaux.cygnus.com)
1865
1866         * iogetdelim.c: #include <stdlib.h>.
1867
1868 Thu Oct 20 17:09:52 1994  Per Bothner  <bothner@kalessin.cygnus.com>
1869
1870         * iostream.h:  Add classes _IO_istream_withassign and
1871         _IO_ostream_withassign.  Re-type cin, cout, cerr, clog.
1872         (class iostream):  Don't add extra _gcount field.
1873         * ioassign.cc:  New file.  Implement operator= for cin etc.
1874         * streambuf.h (class ios):  Change return type of operator=.
1875         * Makefile.in (IOSTREAM_OBJECTS):  Add ioassign.o.
1876
1877         * Makefile.in:  Re-arrange, so linux.mt overrides can work.
1878
1879         * fileops.c (_IO_file_seekoff):  Optimize seeks within buffer.
1880
1881 Wed Oct 19 14:25:47 1994  Jason Merrill  (jason@phydeaux.cygnus.com)
1882
1883         * gen-params (wint_t): Return to using __WCHAR_TYPE__ for
1884         compatibility with gcc versions prior to 2.6.1.
1885
1886 Tue Oct 18 17:08:18 1994  Per Bothner  <bothner@kalessin.cygnus.com>
1887
1888         * Makefile.in:  Define _G_CONFOG_H as _G_config.h for Linux.  Use it.
1889         (IO_OBJECTS):  Add iogetdelim.o.
1890         * config/linux.mt:  New file.
1891         * configure.in:  Select config/linux.mt if Linux.
1892         * iogetdelim.c:  Verious cleanups, many from
1893         Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>.
1894         * libioP.h: Add _IO_getdelim.  Use (void) for no-parameter functions.
1895
1896 Thu Oct 13 16:30:56 1994  Per Bothner  (bothner@kalessin.cygnus.com)
1897
1898         * libio.h:  Rename USE_DTOA to _IO_USE_DTOA for namespace reasons.
1899         * iostream.cc, iovfscanf.c, iovfprintf, floatconv.c:
1900         Update USE_DTOA -> _IO_USE_DTOA.
1901
1902         * libio.h (_IO_feof, _IO_ferror):  Move to here ...
1903         * iolibio:  ... from here
1904
1905         * iostream.cc (istream::get, istream::ignore, istream::read):
1906         Set _gcount to 0 if ipfx0 failed.
1907
1908         * iostream.cc (flush):  Do virtual function call, rather than
1909         going through jumptable.  (To get correct method in derived class.)
1910         Bug and fix from John Wiegley <jw@cis.ohio-state.edu>.
1911
1912         * iofdopen.c (O_ACCMODE):  Define using O_RDWR, not O_RDWRITE.
1913
1914         * streambuf.h (ios::rdbuf(streambuf*)):  New.
1915         * streambuf.h (ios::operator=):  Make private (i.e. dis-allow).
1916
1917 Wed Oct 12 19:09:20 1994  Jason Merrill  (jason@phydeaux.cygnus.com)
1918
1919         * gen-params: Define _G_NO_NRV and _G_NO_EXTERN_TEMPLATES if not
1920         compiling with g++.
1921
1922 Thu Oct  6 16:03:43 1994  Per Bothner  (bothner@kalessin.cygnus.com)
1923
1924         * iostream.texi (ostrstream::str):  Note that NUL is not written
1925         automatically.
1926
1927 Wed Oct  5 17:28:29 1994  Per Bothner  (bothner@kalessin.cygnus.com)
1928
1929         * iogetdelim.c (_IO_getdelim):  New function.
1930
1931 Wed Oct  5 15:40:22 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
1932
1933         * config/netware.mt: New file, first cut at Netware NLM support.
1934         * configure.in (*-*-netware*): Use config/netware.mt.
1935
1936         * config.shared (NLMCONV, LD): New definition.
1937
1938         * gen-params: check for nm in ${binutils}/nm.new.
1939         * config.shared: Likewise.
1940
1941 Tue Oct  4 12:20:01 1994  Per Bothner  (bothner@kalessin.cygnus.com)
1942
1943         * iomanip.h (omanip::operator<<):  Make 2nd arg be const.
1944         Bug and fix reported by Greg McGary <gkm@magilla.cichlid.com>.
1945
1946         * strstream.cc (strstreambuf::pcount):  Simplify, to match
1947         ANSI/ISO specification.
1948
1949 Mon Sep 26 15:19:52 1994  Jason Merrill  (jason@deneb.cygnus.com)
1950
1951         * gen-params: Include <wchar.h> and <wctype.h> if they exist.
1952
1953 Thu Sep  8 14:41:41 1994  Jason Merrill  (jason@deneb.cygnus.com)
1954
1955         * iostream.h (class istream): Declare operator>>(long double&).
1956         (class ostream): Define operator<<(long double).
1957
1958         * iostream.cc (istream::operator>>(long double&)): Define.
1959
1960 Wed Sep  7 14:42:29 1994  Per Bothner  (bothner@kalessin.cygnus.com)
1961
1962         * iostream.texi (Overflow):  Fix bugs in example.
1963
1964 Fri Sep  2 17:45:57 1994  Per Bothner  (bothner@kalessin.cygnus.com)
1965
1966         * iostream.tex:  Document a little on how to write your
1967         own streambuf-derived class, with an example.
1968
1969 Tue Aug 30 13:03:57 1994  Brendan Kehoe  (brendan@lisa.cygnus.com)
1970
1971         * floatconv.c (s2b): Declare X and Y to be _G_int32_t.
1972         (diff, quorem): Declare BORROW, Y, and Z likewise.
1973         (ulp): Declare L likewise.
1974         (_IO_strtod): Declare L and AADJ likewise.
1975         (_IO_dtoa): Declare L and D likewise.  Cast division of D by DS to
1976         _G_int32_t.
1977
1978 Mon Aug 29 16:01:54 1994  Per Bothner  (bothner@kalessin.cygnus.com)
1979
1980         * iosetvbuf.c (_IO_setvbuf):  If setting _IOFBF and no
1981         buffer was specified, call __doallocate.
1982
1983         * fileops.c, floatconv.c:  Add a bunch of parentheses to
1984         shut up gcc warnings.  Patch from H.J.Lu.
1985
1986         * stdiostream.cc (stdiobuf::sys_read):  Inline call to getc
1987         for the normal case (size==1).
1988
1989 Sat Aug 20 12:14:52 1994  Per Bothner  (bothner@kalessin.cygnus.com)
1990
1991         * Makefile.in (VERSION):  Increase to 0.66.
1992
1993 Fri Aug 19 17:28:41 1994  Per Bothner  (bothner@kalessin.cygnus.com)
1994
1995         * iolibio.h:  Added _IO_printf prototype.
1996         Added extern "C" { ... } wrappers #ifdef __cplusplus.
1997         Bugs reported by Neal Becker <neal@ctd.comsat.com>.
1998
1999 Wed Aug 17 18:17:15 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2000
2001         * fileops.c (_IO_file_seekoff):  For _IO_seek_cur, adjust for
2002         read-ahead before jumping to label dumb.
2003
2004 Wed Aug  3 13:15:01 1994  H.J. Lu  (hjl@nynexst.com)
2005
2006         * libioP.h (CHECK_FILE(FILE,RET)): new, which checks for
2007           FILE == NULL and _IO_MAGIC_MASK.
2008           (COERCE_FILE(FILE)): merged into CHECK_FILE(FILE,RET)
2009           with typo fixes.
2010
2011         * iofread.c, iofwrite.c: add CHECK_FILE(fp, 0);
2012         * iofclose.c: add CHECK_FILE(fp, EOF); remove _IO_MAGIC_MASK check.
2013
2014         * iofflush.c, iofgetpos.c, iofputs.c, iofscanf.c,
2015         iofsetpos.c, iofvbuf.c, ioungetc.c:
2016         Add CHECK_FILE(fp, EOF) and remove COERCE_FILE(fp).
2017
2018         * iofgets.c: add CHECK_FILE(fp, NULL) and remove COERCE_FILE(fp).
2019         * iofprintf.c: add CHECK_FILE(fp, -1) and remove COERCE_FILE(fp).
2020         * ioftell.c: add CHECK_FILE(fp, -1L) and remove COERCE_FILE(fp).
2021         * iosetbuffer.c: add CHECK_FILE(fp, ) and remove COERCE_FILE(fp).
2022
2023 Fri Aug 12 15:35:39 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2024
2025         * iofdopen.c (_IO_fdopen):  #define O_ACCMODE if it isn't.
2026         Still set O_APPEND if "a" is given, but don't unset it
2027         if it isn't.  Added comment.
2028
2029 Mon Aug  8 13:11:00 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2030
2031         * gen-params (VTABLE_LABEL_PREFIX):  Changes in the implementation.
2032         For look for _*vt[$_.]7*filebuf in the nm output, because that
2033         matches what g++ produces and has produced.  Thus it should be
2034         somewhat more robust.
2035
2036 Sun Aug  7 22:52:49 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2037
2038         * gen-params (CC):  Remove no-longer-needed -I options
2039         passed to xgcc (now they are implied by the -B options).
2040
2041 Wed Jul 20 16:41:13 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2042
2043         * Makefile.in (tooldir):  Added definition, so we can do
2044         'make install' in this directory.
2045         Bug reported by Klamer Schutte <schutte@tpd.tno.nl>.
2046
2047 Mon Jul 18 18:02:34 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2048
2049         * gen-params (VTABLE_LABEL_PREFIX):  Remove filename sppearing
2050         by itself.  Add comment explaining what is going on.
2051
2052 Tue Dec 21 13:02:48 1993  H.J. Lu  (hjl@jalod)
2053
2054         * libio.h: define _IO_uid_t and _IO_HAVE_ST_BLKSIZE
2055           as _G_xxxxxxxx.
2056
2057 Tue Dec 21 13:02:48 1993  H.J. Lu  (hjl@jalod)
2058
2059         * iopopen.c:  Don't include <errno.h>. It is included in "libioP.h".
2060
2061         * iopopen.c (_IO_proc_close) : check if fp is on the list
2062           before close it.
2063
2064 Thu Jul 14 16:38:47 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2065
2066         * gen-params (CONFIG_NM):  Make sed scripts to find vtable name
2067         mangling more robost for different forms of nm output.
2068
2069 Tue Dec 21 13:02:48 1993  H.J. Lu  (hjl@jalod)
2070
2071         * iofopen.c (_IO_fopen): don't check [redundantly] fp == NULL after
2072           IO_file_init(&fp->_file).
2073
2074         * iomanip.h (template<class TP> class iapp):
2075           change ostream to istream.
2076
2077 Tue Jul 12 14:09:02 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2078
2079         * Makefile.in (VERSION):  Increase to 0.65.
2080         * libioP.h (builtinbuf_vtable):  Only define #ifdef __cplusplus.
2081
2082         * gen-params (_G_int8_t):  Only define if defined(__STDC__),
2083         because K&R C compilers don't have signed char.
2084         (_G_int64_t, _G_uint64_t):  Only define if defined(__GNUC__)
2085         because other compilers may not have long long.
2086
2087 Sun Mar 06 13:10:21 1994  H.J. Lu  (hjl@nynexst.com)
2088
2089         * floatconv.c (_IO_dtoa ()): fix a small memory leak, set the
2090           "on_stack" field to be 0 if "result" is not NULL.
2091
2092 Sat Mar 05 13:18:20 1994  H.J. Lu  (hjl@nynexst.com)
2093
2094         * floatconv.c (_IO_dtoa ()): if the number of digits of the
2095           floating point number is more than the previous one, free the
2096           old string and allocate a new one.
2097           [Minor optimization to avoid Bcopy. -PB]
2098
2099 Mon Jul 11 10:53:41 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2100
2101         * fileops.c (_IO_file_underflow):  'count' should be unsigned,
2102         since it contains the return value of read.  Reported by
2103         Teemu Torma <tot@trema.fi>.
2104
2105 Tue Dec 21 13:02:48 1993  H.J. Lu  (hjl@nynexst.com)
2106
2107         * floatconv.c (_IO_strtod ()): make "+" and "-" as error.
2108
2109 Sat Jul  9 15:09:21 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2110
2111         Make sure _IO_FILE::_flags is always initialized correctly, for the
2112         C functions (fopen, fdopen, popen), and not just the C++ functions.
2113         * fileops.c (_IO_file_init):  Set _flags to CLOSED_FILEBUF_FLAGS.
2114         * fileops.c (_IO_file_fopen):  Remove bogus assignment.
2115         * filebuf.cc (filebuf constructors):  Don't pass CLOSED_FILEBUF_FLAGS
2116         to streambuf constructor - _IO_file_init does it instead.
2117         * filebuf.cc (CLOSED_FILEBUF_FLAGS):  Removed.
2118         * iopopen.c (_IO_proc_open):  Use _IO_mask_flags.
2119
2120 Thu Jun 30 08:49:53 1994  Jason Merrill  (jason@deneb.cygnus.com)
2121
2122         * dbz/Makefile.in (mostlyclean): Add target.
2123
2124 Wed Jun 29 09:30:12 1994  Jason Merrill  (jason@deneb.cygnus.com)
2125
2126         * gen-params: Woops, can't run a C program to determine target
2127         characteristics.  Sigh.
2128
2129 Tue Jun 28 03:11:33 1994  Jason Merrill  (jason@deneb.cygnus.com)
2130
2131         * gen-params: Add _G_{,u}int{8,16,64}_t, use a short C program to
2132         determine what all these should be rather than trying to compare
2133         the MAX numbers in the shell.
2134
2135 Sun Jun 26 21:04:24 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2136
2137         * stdiostream.h, stdiostream.cc (stdiobuf::xsgetn):  Removed.
2138         Too hairy.  If we want to optimize it, we should do so in
2139         filebuf::xsgetn (or rather _IO_file_xsgetn).
2140
2141         * stdiostream.h (class stdiobuf), stdiostream.cc:  Fix parameter
2142         and return types of virtual function to matcher base types (Oops!).
2143         * streamstream.cc (stdiobuf::xsgetn, stdiobuf::xsputn):
2144         Optimize to call fread.fwrite directly if !buffered.
2145         * fileops.c:  Fix comment.
2146
2147 Fri Jun 24 11:28:18 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2148
2149         * stdiostream.h (istdiostream, ostdiostream):  New classes.
2150
2151         More robust final cleanup.
2152         * cleanup.c (_IO_register_cleanup):  Register _IO_cleanup,
2153         rather than _IO_flush_all.
2154         * filedoalloc.c: Update comment.
2155         * genops.c (_IO_unbuffer_all):  New.  Makes all files unbuffered.
2156         * genops.c (_IO_cleanup), libioP.h:  New function.  Call
2157         _IO_flush_all, and then _IO_unbuffer_all.  This is in case C++
2158         destructors try to do output *after* _IO_cleanup is called.
2159
2160         Construct standard stdiobufs statically (using type punning).
2161         * stdstrbufs.c;  Unless _STDIO_USES_IOSTREAM declare standard
2162         stdiobufs (for stdin, stdout, and stderr), using type punning
2163         (struct _IO_fake_stdiobuf).  This avoids constructor-time problems.
2164         * stdstreams.cc:  Remove the declarations of the stdiobufs.
2165         Instead use the new (fake) ones in stdstrbufs.cc.  We no longer
2166         have to call ios::sync_with_stdio at constructor time.
2167
2168         Preliminary support for new ANSI streambuf::uflow virtual.
2169         * libioP.h (struct _IO_jump_t):  Add __uflow field.
2170         * genops.c (_IO_default_uflow), libioP.h:  New function.
2171         * fileops.c (_IO_file_jumps), iopopen.c (IO_proc_jumps),
2172         iovfprintf.c (_IO_helper_jumps), strops.c (_IO_str_jumps),
2173         streambuf.cc (_IO_streambuf_jumps):  Add _IO_default_uflow.
2174         * genops.c (__uflow):  New function.
2175         (save_for_backup):  New function.  Some code shared by
2176         __underflow and __uflow, moved out from the former.
2177         (_IO_default_uflow):  New function.
2178         * libio.h (_IO_getc):  Call __uflow, not __underflow.
2179
2180 Wed Jun 22 20:22:49 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2181
2182         Make sure that the vtable of a streambuf is always valid,
2183         which makes ios::rdbuf simpler and faster.
2184         * gen-params:  Add code to determine _G_VTABLE_LABEL_HAS_LENGTH,
2185         _G_VTABLE_LABEL_PREFIX, _G_VTABLE_LABEL_PREFIX_ID, and
2186         _G_USING_THUNKS, which describe how virtual function tables are named.
2187         * stdfiles.c (FILEBUF_LITERAL):  Moved to libioP.h.
2188         * libioP.h (builtinbuf_vtable):  New (complicated) declaration.
2189         * filebuf.cc (filebuf::__new), strstream.cc (SET_STR_JUMPS):
2190         Initialize vtable to builtinbuf_vtable, not NULL.
2191         * stdstrbufs.cc:  New file.  Same as stdfiles.c, except that
2192         vtable is initialized to builtinbuf_vtable, not NULL.
2193         * streambuf.h (ios::rdbuf):  Can now simplify/optimize, due to
2194         above changes.  Always, just return _strbuf.
2195         * builtinbuf.h, builtinbuf.cc (builtinbuf::vtable,
2196         builtinbuf::get_builtin_vtable):  Removed.  No longer needed.
2197         * streambuf.h, builtinbuf.cc (ios::_IO_fix_vtable):  No longer needed.
2198         Only defined #ifdef _STREAM_COMPAT, for binary compatibility.
2199         * Makefile.in:  Move stdfiles.o from IO_OBJECTS to STDIO_WRAP_OBJECTS.
2200         (IOSTREAM_OBJECT):  Add stdstrbufs.o.
2201         * Makefile.in (_G_config.h):  Pass $(CXXFLAGS) as part of $(CXX).
2202
2203 Fri Feb 11 11:08:01 1994  SBPM Marc GINGOLD (marc@david.saclay.cea.fr)
2204
2205         * iovfprintf.c (helper_vfprintf): add
2206           hp->_IO_file_flags = _IO_MAGIC|(_IO_IS_FILEBUF+_IO_NO_READS);
2207         [This is needed because _IO_vfprintf checks for _IO_UNBUFFERED. -PB]
2208         [Actually:  don't set _IO_IS_FILEBUF. -PB]
2209
2210 Wed Jun 22 13:49:22 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2211
2212         * stdiostream.cc, stdiostream.h (stdiobuf::buffered):  New methods.
2213
2214         * iofdopen.c (_IO_fdopen):  Various minor improvements.
2215
2216         * iovfscanf.c:  Don't return EOF on control_failure.
2217
2218 Tue Dec 21 13:02:48 1993  H.J. Lu  (hjl@nynexst.com)
2219
2220         * iovfscanf.c:  Enforce the sequence of the conversion specifications.
2221
2222 Fri Jun 17 20:57:22 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2223
2224         * iofdopen.c:  Use fcntl to check that requested access mode is
2225         compatible with existing access mode, and to change the
2226         O_APPEND file status flag if need be.
2227
2228 Thu Jun 16 17:33:50 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2229
2230         * streambuf.h (ios::init):  Initialize all the fields.
2231         This may be overkill, but the current ANSI working paper requires it.
2232         * streambuf.h (ios::ios):  Reimplement in terms of ios::init.
2233         * iostream.cc (Non-default constructors istream::istream,
2234         ostream::ostream, iostream::iostream):  Cannot use a mem-initializer,
2235         because it is ignored if initializing a derived class.  Instead,
2236         call ios::init.
2237
2238 Wed Jun 15 13:35:37 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2239
2240         * stdstreams.cc (ISTREAM_DEF):  Fix typo (it's a _fake_istream, not
2241         a _fake_ostream).  Reported by Jason Shirk <jshirk@gomez.intel.com>.
2242
2243         * stdiostream.h, stdiostream.cc (stdiobuf::~stdiobuf):  New.
2244         Call _IO_do_flush.
2245         * stdiostream.cc (stdiobuf::sync):  Call _IO_do_flush rather
2246         than filebuf::sync (to avoid bad seeks).
2247
2248         * libioP.h (_IO_do_flush):  Add missing parentheses.
2249
2250 Fri Jun  3 19:16:57 1994  Jason Merrill  (jason@deneb.cygnus.com)
2251
2252         * config.shared (CXXFLAGS): Remove -fno-implicit-templates.
2253
2254         * iomanip.h: Add explicit external instantiations.
2255
2256 Wed Jun  1 14:14:44 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2257
2258         * libio.h (struct _IO_FILE_plus):  Move definition from here ...
2259         * libioP.h (struct _IO_FILE_plus):  ... to here.  Since this
2260         file is private to the implementation, we can rename the fields
2261         from the implementor's to the user's name anme space.
2262         (This avoids a lossage on SCO, whose stdio.h has a #define _file.)
2263         * iofdopen.c, iofopen.c, stdfiles.c:  Fix field references accordingly.
2264         * iopopen.c (struct_IO_proc_file):  Rename fields from
2265         implementor's name space to user's, and update usages.
2266         * streambuf.h (streambuf::_vtable):  Re-implement to not need
2267         struct _IO_FILE_plus.
2268         * strfile.h (struct _IO_strfile_): Likewise.
2269
2270 Wed Jun  1 13:57:48 1994  Jason Merrill  (jason@deneb.cygnus.com)
2271
2272         * config.shared (CXXFLAGS): Use -fno-implicit-templates instead of
2273         -fexternal-templates.
2274
2275 Tue May 31 08:49:28 1994  Mike Stump  (mrs@cygnus.com)
2276
2277         * genops.c, iofclose.c, iofdopen.c, iofopen.c, iopopen.c: Be
2278         consistent about protecting #include <stdlib.h>.
2279
2280         * ioputs.c: Add #include <string.h>, to avoid warning on alpha.
2281
2282         * iofdopen.c: Add #include <stdlib.h>, so that malloc works on
2283         machines where sizeof(int) != sizeof(void *).
2284
2285 Mon May 30 17:26:49 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2286
2287         * pfstream.cc (ipfstream::ipfstream, opfstream::opfstream):
2288         Reverse sense of test of return value of procbuf::open.
2289         (It returns NULL on failure.)
2290
2291         * filedoalloc.c (_IO_file_doallocate):  Remove dead code for
2292         USE_MALLOC_BUF.  Add code to return EOF if ALLOC_BUF fails.
2293
2294 Sat May 28 13:47:47 1994  Jason Merrill  (jason@deneb.cygnus.com)
2295
2296         * iomanip.cc: Explicitly instantiate smanip<int> and
2297         smanip<ios::fmtflags>.
2298
2299 Wed May 25 16:04:12 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2300
2301         * strfile.h:  Use __P instead of _PARAMS.
2302
2303 Fri May 20 11:42:17 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2304
2305         * libio.h: Rename _PARAMS macro to __P for better glibc and BSD
2306         compatibility.  (Also define _PARAMS for backwards compatibility.)
2307         * cleanup.c, iolibio.h, ioperror.c, iovfprintf.c, iovfscanf.c,
2308         libioP.h: Use __P instead of _PARAMS.
2309         * iostdio.h: Use __P instead of _ARGS.
2310
2311         * fileops.c (_IO_file_read):  Minor stylistic tweak.  (It is
2312         preferable to test errno *after* the error return.)
2313
2314 Fri May 13 15:25:36 1994  Jason Merrill  (jason@deneb.cygnus.com)
2315
2316         * iostream.*: Add insertor and extractor for bool (just pretend
2317         it's an int).
2318
2319 Fri May 13 14:12:03 1994  Mike Stump  (mrs@cygnus.com)
2320
2321         * gen-params: Check for builtin bool support.
2322
2323 Wed May 11 00:48:35 1994  Jason Merrill  (jason@deneb.cygnus.com)
2324
2325         Make libg++ build with gcc -ansi -pedantic-errors
2326         * gen-params: #ifdef __STRICT_ANSI__, #define _G_NO_NRV.
2327         * pfstream.cc (ipfstream::ipfstream): Wrap use of variable-size
2328         array in #ifndef __STRICT_ANSI__.
2329
2330 Fri May  6 12:42:21 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2331
2332         * Makefile.in (VERSION):  Increase to 0.64.
2333
2334         * isgetline.cc (istream::getline):  The delimiter should *not*
2335         be included in the gcount().
2336
2337         * filedoalloc.c:  #include <stdlib.h> (If __STDC__) to get malloc.
2338         * iostream.h (ostream::put):  Remove overloaded versions, to match
2339         new working paper.  (Actually just put inside _STREAM_COMPAT, for now.)
2340
2341 Tue May  3 14:14:57 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2342
2343         * genops.c (_IO_default_finish):  Make robust when called
2344         multiple times on the same _IO_FILE*.  (One way this can
2345         happen is by the builtinbuf destructor being followed by the
2346         streambuf destructor.)
2347
2348 Mon May  2 13:55:26 1994  Jason Merrill  (jason@deneb.cygnus.com)
2349
2350         * gen-params: Actually determine wint_t rather than depending on
2351         cpp to provide it or defaulting to the underlying type for
2352         wchar_t.
2353
2354 Sat Apr 30 14:47:30 1994  Jason Merrill  (jason@deneb.cygnus.com)
2355
2356         * gen-params: Add _G_wint_t, allow __*_TYPE__ to override values
2357         at compile time, fix definition of _G_ARGS.
2358
2359 Fri Apr 29 16:55:37 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2360
2361         * libio.h: Remove #pragma interface.  (There is no implementation.)
2362
2363 Mon Mar 28 14:22:26 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2364
2365         * iostream.cc (ostream::operator<<(double)):  Add/fix support
2366         for printing '+' when ios::showpos is set.
2367         (Fixes bug reported by Doug Moore <dougm@cs.rice.edu>.)
2368         * iostream.cc (istream::read):  Set eofbit as well as failbit on eof.
2369         * iostream.cc (ostream::operator<<(int)):  Fix conversion
2370         to unsigned (used to lose on INT_MIN).
2371         * iostream.cc (ostream::operator<<(long)):  Use (unsigned long),
2372         rather than (unsigned) for temporary.
2373
2374         * config.shared, Makefile.in:  Remove definitions and uses
2375         of XTRAFLAGS.  It is no longer needed, since it is
2376         now implied by the -B flag.
2377
2378 Fri Mar 25 00:31:22 1994  Jason Merrill  (jason@deneb.cygnus.com)
2379
2380         * builtinbuf.h: Add put /**/ around comment on trailing #endif.
2381
2382         * Makefile.in (c++clean): Make clean in tests subdir, too.
2383
2384 Wed Mar 23 16:42:09 1994  Doug Evans  (dje@canuck.cygnus.com)
2385
2386         * configure.in: Remove Makefile.tem before creating it.
2387         Needed when configuring from read-only source trees.
2388
2389 Wed Mar 16 14:06:42 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2390
2391         * stdstreams.cc:  Fix so that stdiobuf are used for cin/cout/cerr,
2392         unless _STDIO_USES_IOSTREAM is defined.
2393         * filebuf.cc (filebuf::setbuf):  Fix confusion about return
2394         value from _IO_file_setbuf.
2395
2396 Sun Mar 13 00:54:12 1994  Paul Eggert  (eggert@twinsun.com)
2397
2398         * config.shared: Ensure that `all' precedes `.PHONY';
2399         BSDI 1.1 needs this.
2400
2401 Sat Mar 12 03:58:00 1994  Paul Eggert  (eggert@twinsun.com)
2402
2403         * config.shared: Output a definition of INSTALL that uses
2404         $${rootme}, not ${rootme}.  Most `make's don't care, but BSDI
2405         1.1 `make' does.
2406
2407 Fri Mar  4 17:33:01 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2408
2409         * iopopen.c:  #define _POSIX_SOURCE.
2410         * isgetline.c (istream::getline):  Various fixes.
2411
2412 Thu Mar  3 17:58:20 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2413
2414         * iostream.cc (write_int):  Fix test for when to add initial '0'
2415         when ios::oct and ios::showbase are set.
2416         For hex, showbase adds initial 0x (or 0X) regardless of val==0.
2417         Bugs reported by Phil Roth <proth@cs.uiuc.edu>.
2418
2419 Mon Feb 21 13:18:20 1994  H.J. Lu  (hjl@nynexst.com)
2420
2421         * libio.h (_IO_PENDING_OUTPUT_COUNT(_fp)): return the
2422         pending output count in _fp.
2423
2424 Fri Feb 25 09:26:57 1994  Ian Lance Taylor  (ian@cygnus.com)
2425
2426         * gen-params: For HAVE_SYS_WAIT, compile dummy.c, not dummy.C.
2427
2428 Tue Feb 22 11:19:09 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2429
2430         * streambuf.h, genops.c, libioP.h:  Rename references to
2431         _IO_FILE fields other_gbase => _IO_save_base,
2432         _aux_limit => _IO_backup_base, and _other_egptr => _IO_save_end.
2433         * libio.h:  Remove no-longer needed macros _other_gbase,
2434         _aux_limit, and _other_egptr.
2435         * genops.c (__underflow, _IO_default_finishh, _IO_unsave_markers):
2436         Check _IO_save_base for NULL before FREEing it or calling
2437         _IO_free_backup_area.
2438
2439 Thu Feb 17 15:26:59 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2440
2441         * gen-params:  Improve deduction of _G_uint32 and _G_int32.
2442         Should now work for 16-bit, 32-bit, or 64-bit targets.
2443         * gen-params:  Check for sys/wait.h using ${CC}, since it's
2444         now used in a C file, not a C++ file.
2445         * floatconv.c:  Typedef _G_uint32_t as unsigned32, and use
2446         unsigned32 in place of unsigned long.  (Needed for Alpha.)
2447
2448 Tue Feb  8 13:40:15 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2449
2450         * fileops.c (_IO_file_close_it):  Simplify by using _IO_do_flush.
2451         * fileops.c (_IO_file_finish):  Don't call _IO_file_close_it -
2452         do it inline.  Call _IO_do_flush even if _IO_DELETE_DONT_CLOSE.
2453         * fileops.c (_IO_file_attach):  Set _IO_DELETE_DONT_CLOSE.
2454         * genops.c (_IO_flush_all):  Only call overflow if there is
2455         something to write.
2456         * iofclose.c (_IO_fclose):  Check that magic number is correct,
2457         and clear it when done.  Avoids crashing some buggy applications.
2458         * iogetline.c (_IO_getline):  Don't gratuitously increment old_len.
2459         * iogets.c (_IO_gets):  Take care to get required ANSi semantics.
2460
2461 Sun Feb  6 19:50:39 1994  Jason Merrill  (jason@deneb.cygnus.com)
2462
2463         * iomanip.cc: Explicitly instantiate operator<< and >>.
2464
2465 Fri Feb  4 12:28:22 1994  Jason Merrill  (jason@deneb.cygnus.com)
2466
2467         * config.shared (CXXFLAGS): Use -fexternal-templates.
2468
2469         * iomanip.h: Uncomment #pragma interface.
2470
2471 Thu Jan 20 13:48:40 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2472
2473         If no characters are read by fgets, ANSI C doesn't allow '\0' to
2474         be written to the buffer, but it is required by ANSI C++
2475         for istream::get and istream::getline.  Both use _IO_getline ...
2476         * iogetline.c (_IO_getline):  Don't write a '\0' at the end
2477         of the read data.  The input buffer length does not include
2478         space for a '\0'.
2479         * iofgets.c, iogets.c:  Change appropriately.
2480         Also check for _IO_ERR_SEEN, as required by ANSI.
2481         * isgetline.cc:  Update accordingly.
2482
2483 Mon Jan 17 13:24:26 1994  Jason Merrill  (jason@deneb.cygnus.com)
2484
2485         * Makefile.in (c++clean): Added target for compiler testing
2486         (i.e. make c++clean all).
2487
2488 Mon Jan 10 11:20:42 1994  Per Bothner  (bothner@kalessin.cygnus.com)
2489
2490         * libio.h (_IO_putc):  Add parentheses.
2491         Patch from Rik Faith <faith@cs.unc.edu>.
2492
2493 Tue Jan  4 01:32:28 1993  Hongjiu Lu (hjl@nynexst.com)
2494
2495         * genops.c (_IO_default_xsputn):
2496           (_IO_default_xsgetn):
2497         * ioignore.c: change "_IO_size_t count" to
2498           "_IO_ssize_t count".
2499         * iogetline.c: change "_IO_size_t len" to
2500           "_IO_ssize_t len".
2501
2502 Mon Dec 20 00:31:21 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2503
2504         * config.shared (CXXINCLUDES):  Fix quoting of $(NOSTDINC).
2505
2506 Sun Dec 19 21:03:45 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2507
2508         * Makefile.in (VERSION):  Increase to 0.63.
2509
2510 Fri Dec 17 13:02:44 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2511
2512         * iofread.c (_IO_fread):  Return 0 if either size or count is 0.
2513         * iofwrite.c (_IO_fwrite):  Return 0 if either size or count is 0.
2514         (This is consistent with fread, and most implementations, but not
2515         with a literal reading of the ANSI spec.)
2516         * iovfscanf.c (_IO_vfscanf):  If got EOF while skipping spaces,
2517         set seen_eof and break (instead of returning).
2518         * sbscan.cc (streambuf::vscan):  Set error state before returning.
2519         * streambuf.h:  Add a forward declarations for class istream
2520         to work around a g++ vtable name mangling bug.  (Patch from
2521         harry@pdsrc.hilco.com via Jeffrey A Law <law@snake.cs.utah.edu>.)
2522         * NEWS:  New file.
2523
2524 Sat Dec 11 16:21:08 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2525
2526         * iovfprintf.c (struct helper_file, _IO_helper_overflow,
2527         helper_vfprintf, _IO_helper_jumps):  New structs and functions.
2528         (_IO_vfprintf):  Use helper_vfprintf to make printing to
2529         unbuffered files more efficient.
2530         * genops.c (_IO_default_underflow), libioP.h:  New function.
2531
2532         * iovsscanf.c (_IO_vsscanf):  The input string's length marks
2533         its logical end-of-file.
2534
2535 Wed Dec  8 13:20:46 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2536
2537         * indstream.cc (indirectbuf::sync()):  Don't crash if get_stream()
2538         or put_stream() are NULL;  sync() both streams even if error.
2539
2540 Sun Dec  5 19:24:29 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
2541
2542         * iostreamP.h (convert_to_seekflags): Use _IO_seek_set instead of
2543         0 inside the conditial expressions.
2544
2545         * iofsetpos.c (_IO_fsetpos): Delete unused var `pos'.
2546
2547 Sat Dec  4 15:57:26 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2548
2549         * filedoalloc.c (_IO_file_doallocate):  Change type of couldbetty
2550         to int, and type of size to _IO_size_t, instead of size_t.
2551         (Change needed for Ultrix, which incorrectly deliberately doesn't
2552         define size_t in <sys/types.h> if _POSIX_SOURCE is defined.)
2553
2554 Thu Dec  2 22:43:03 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2555
2556         * fileops.c (_IO_file_finish):  Remove redundant call to _IO_un_link.
2557         * iofclose.c (_IO_fclose):  Don't call fp->_jumps->__close;  it's
2558         too low-level.  Instead call _IO_file_close_it.
2559         * dbz/Makefile.in (rclean, distclean):  Add some missing files.
2560
2561 Wed Dec  1 13:19:14 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2562
2563         * config/hpux.mt (MATH_H_INLINES): No longer define.
2564         Patch from Jeffrey A Law <law@snake.cs.utah.edu>.
2565
2566 Fri Nov 26 13:28:36 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2567
2568         * config.shared (CINCLUDES):  Define default if libg++.
2569         * iofread.c:  Use _IO_sgetn.c.
2570         * iolibio.h (_IO_clearerr):  Fix typo.
2571         * genops.c (_IO_seekmark):  Return 0 on success.
2572         * floactconv.c (Binit):  Change to static.
2573         * iofclose.c (_IO_fclose):  Check if file is _IO_stdin, _IO_stdout,
2574         or _IO_stderr;  if so don't try to free it.  Fix from hjl@nynexst.com.
2575
2576         * genops.c (_IO_default_sync), libioP.h:  New function.
2577         * libioP.h (_IO_default_close):  Use _IO_default_sync -same interface.
2578
2579         * Makefile.in:  Increase version to 0.62.
2580         * iopopen.c (_IO_proc_close):  Use waitpid (available in libibarty,
2581         if needed), rather than wait.  Don't block/ignore SIGINT etc,
2582         as this is counter to Posix.2.
2583         * iopopen.c:  Chain open proc_files, and have the child close
2584         the ones that are open (as required by Posix.2).
2585
2586         * fstream.h (fstreambase::rdbuf), strstream.h (strstreambase
2587         ::rdbuf):  Call ios::rdbuf() instead of getting _strbuf directly.
2588
2589         * sbscan.cc (streambuf::vscan):  Comment out duplicate default arg.
2590         * floatconv.c:  Recognize Alpha and i860 as little-endian.
2591         * streambuf.cc:  Return two bogus value returns from void functions.
2592         * iolibio.h, iofwrite.c:  Fix buffer type to (const void*).
2593         * libio.h:  Predefine of struct _IO_FILE to help non-g++-compilers.
2594         * libioP.h, pfstream.cc, stdfiles.c, iovfscanf.c: Cleanup syntax junk.
2595         * stdstreams.cc:  Minor simplification.
2596         * streambuf.h, builtinbuf.cc:  Add non-const ios::_IO_fix_vtable()
2597         for temporary binary compatibility.
2598
2599         * filedoalloc.c, fileops.c:  Add _POSIX_SOURCE.
2600         * fileops.c, iofopen.c, iofputs.c, iostream.cc, strops.c,
2601         strstream.cc, genops.c:  Add some missing #includes.
2602         * iofopen.c, iofdopen.c:  Return NULL if malloc fails.
2603         * iovfscanf.c:  Fix return type in strtol prototype.
2604         * fwrite.c:  Remove bogus file.
2605
2606 Wed Nov 17 14:09:42 1993  Per Bothner  (bothner@cygnus.com)
2607
2608         * builtinbuf.cc (ios::_IO_fix_vtable), streambuf.h:  Make method
2609         const, to reduce problems with -Wcast-qual.
2610
2611 Tue Nov 16 19:30:42 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
2612
2613         * config.shared (CXXINCLUDE): use ${} instead of $() for NOSTDINC
2614
2615 Tue Nov 16 14:15:45 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2616
2617         * iopopen.c (_IO_proc_close):  Re-structure to avoid
2618         declarations after statements.
2619         * floatconv.c:  If not __STDC__, #define DBL_MANT_DIG.
2620         * config/isc.mt (G_CONFIG_ARGS): Remove bogus spaces.
2621         Patch from David A. Avery <daa@nic.cerf.net>.
2622
2623 Tue Nov 16 15:58:31 1993  Mark Eichin  (eichin@cygnus.com)
2624
2625         * Makefile.in (_G_config.h): explicitly use $(SHELL) to run
2626         gen-params, since we know it is a script (we're explicitly looking
2627         in ${srcdir} for it) and /bin/sh might not be good enough.
2628
2629 Mon Nov 15 13:26:22 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2630
2631         * builtinbuf.cc:  Don't depend on initialization of static
2632         variable builtinbuf::vtable, since that might happen after
2633         we need it (for a static constructor).  Instead, initialize
2634         it when needed by inlining the code from get_builtin_vtable
2635         into ios::_IO_fix_vtable().
2636
2637         * floatconv.c:  Avoid using #elif, which some C compilers lack.
2638         * iogetline.c, libioP.h:  Make char parameter be int, to avoid
2639         some default promotion anomalies.
2640
2641 Fri Nov  5 11:49:46 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2642
2643         * config.shared (do-clean-dvi):  Remove TeX work files.
2644         * iopopen.c (extern _IO_fork):  Don't use parameter type void.
2645         * strops.c (_IO_str_init_static):  Clear the allocate_buffer
2646         function pointer, to mark the strfile as being static.
2647         Bug fix from Mike Raisbeck <mike@pudding.rtr.COM>.
2648
2649 Thu Nov  4 10:44:24 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2650
2651         * filebuf.cc (filebuf:): Use sseekoff rather than seekoff
2652         (which loses if vtable pointer is NULL).
2653
2654         * iostream.cc (ostream::operator<<(long long n)):  Fix thinko.
2655
2656         * Makefile.in (VERSION):  Increase to 0.60.
2657         * Makefile.in (IO_OBJECTS):  Added iopopen.o.
2658         * config.shared (DISTCLEAN):  Also remove Make.pack.
2659         * config.shared (CXXINCLUDES):  Add $(NOSTDINC).
2660
2661         * config.shared (INSTALL):  Fix so it ues the correct install.sh
2662         whether $srcdir is absolute or relative.
2663
2664         * floatconv.c (DBL_MAX_10_EXP): Fix default value.
2665
2666 Wed Nov  3 10:20:49 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2667
2668         * gen-params:  Make more robust to allow random junk (NeXT
2669         has spaces) before typedefs.
2670
2671         * fileops.c (_IO_file_overflow):  Reduce code duplication.
2672         * Makefile.in (IO_OBJECTS):  Remove ioputs.o.
2673
2674         * iovfscanf.c, libio.h:  Extra parameter to _IO_vfscanf,
2675         for optionally setting an error indication..
2676         * iofscanf.c, ioscanf.c, iofscanf.c, iovsscanf.c:  Fix calls to
2677         _IO_vfscanf to pass an extra NULL.
2678         * sbscan.cc (streambuf::vscan):  If passed an extra stream,
2679         set its error state (using new _IO_vfscanf parameter.
2680
2681         * filedoalloc.c, fileops.c, genops.c, iogetline.c, ioignore.c,
2682         libio.h, libioP.h, streambuf.cc streambuf.h, strfile.h, strops.c,
2683         strstream.cc:  Replace macros (_base, _ebuf, _eback, _gptr, _egptr,
2684         _pbase, _pptr, _epptr) by field names (_IO_buf_base, _IO_buf_end,
2685         _IO_read_base, _IO_read_pre, IO_read_end, _IO_write_base,
2686         _IO_write_ptr, _IO_write_end).
2687         * libio.h:  Remove the old macros (which fixes a conflict.
2688
2689 Mon Nov  1 15:22:12 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2690
2691         * iostream.cc:  Use _IO_sputn instead of sputn.  _IO_sputn does
2692         not require a vtable pointer, and is also slightly faster.
2693
2694         * builtinbuf.{h,cc} (builtinbuf::setbuf):  Fix return and
2695         parameter types.
2696
2697 Mon Oct 25 12:56:33 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2698
2699         Kludge to make sure _IO_FILE buffers get flushed before exit.
2700         * dbz/dbzmain.c, dbz/fake.c, dbz/byteflip.c:
2701         Invoke DBZ_FINISH macro (if defined) before (normal) exits.
2702         * dbz/Makefile.in (CFLAGS):  Define DBZ_FINISH to call _IO_flush_all.
2703
2704 Sat Oct 23 22:10:53 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2705
2706         * Makefile.in (VERSION):  Set to 0.60 for libg++ release.
2707         * fileops.c (_IO_file_attach):  Set _offset to _IO_pos_BAD.
2708         * iostream.cc (ostream::flush):  Fix thinkp.
2709         * editbuf.cc, isgetsb.cc, isscan.cc, osform.cc, parsestream.cc,
2710         pfstream.cc, sbform.cc, sbscan.cc, stdstreams.cc, stream.cc:
2711         Replace #include "ioprivate.h" by #include "libioP.h" (and
2712         sometimes stdarg.h, stdlib.h and/or string.h).
2713         * ioprivate.h:  Removed.
2714
2715
2716 Thu Oct 21 19:24:02 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2717
2718         * PlotFile.h, SFile.h, editbuf.cc, editbuf.h, filebuf.cc,
2719         fstream.cc, fstream.h, indstream.cc, indstream.h, iomanip.cc,
2720         iomanip.h, ioprivate.h, iostream.cc, iostream.h, isgetline.cc,
2721         isgetsb.cc, parsestream.cc, parsestream.h, pfstream.cc,
2722         pfstream.h, procbuf.cc, procbuf.h, stdiostream.cc, stdiostream.h,
2723         stdstreams.cc, streambuf.cc, streambuf.h, strstream.cc,
2724         strstream.h:  Remove old (duplicate) copyright notices.
2725
2726         * iostream.cc:  Fix calls to sync() to be safe in the presence
2727         of vtable-less streambufs.
2728
2729 Wed Oct 20 15:22:04 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2730
2731         * streambuf.h (streambuf::underflow, streambuf::overflow):
2732         Don't make virtual functions pure.
2733         * streambuf.cc (streambuf::underflow, streambuf::overflow):
2734         Default definitions (return EOF).
2735         * fstream.h:  Add new (int fd, char* buf, int len) constructors.
2736         These are deprecated, but added for AT&T compatibility.
2737         * fstream.cc fstreambase::fstreambase(int fd, char *p, int l): New.
2738
2739 Thu Oct 14 14:57:01 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
2740
2741         * configure.in: use 'mv -f' instead of 'mv'
2742
2743 Tue Oct 12 05:01:44 1993  Mike Stump  (mrs@cygnus.com)
2744
2745         * floatconv.c: Fix typo, change __STDC to __STDC__.
2746
2747 Mon Oct 11 17:03:12 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2748
2749         * cleanup.c:  It should be #if _G_HAVE_ATEXIT, not #ifdef.
2750
2751         * floatconv.c, iostrerror.c, iovfprintf.c, iovfscanf.c, libioP.h:
2752         Bunch of fixes to allow use of non-ANSI (K&R) C compilers.
2753
2754         * Makefile.in (iostream.list):  Use CC=$(CXX) to force use of gcc.
2755         * README:  New file.
2756
2757 Fri Oct  8 16:19:58 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2758
2759         * Makefile.in:  Move ioungetc.o from STDIO_WRAP_OBJECTS to
2760         IO_OBJECTS (since it is needed for iovfscanf.c).
2761         * iostrerror.c:  Add declaration of strerror.
2762
2763 Thu Oct  7 12:02:28 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2764
2765         * cleanup.c:  New file, to cause flushing at exit.
2766         * filedoalloc.c:  Cause flushing on exit.
2767         * Makefile.in (OSPRIM_OBJECTS):  Add cleanup.o.
2768         * gen-params:  Check for atexit.
2769
2770 Tue Oct  5 19:11:14 1993  Mike Stump  (mrs@cygnus.com)
2771
2772         * ioperror.c (_IO_strerror): Add missing ()s in _PARAMS usage.
2773
2774 Tue Oct  5 10:33:37 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2775
2776         * iofprintf.c, iofscanf.c, ioprintf.c, ioscanf.c, iosprintf.c,
2777         iosscanf.c:  Remove bogus semi-colon after va_dcl.
2778         * ioperror.c:  Fix typos in declaration.
2779
2780 Mon Oct  4 17:12:22 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2781
2782         * configure.in (CLEAN):  Define (as _G_config.h *.a).
2783
2784         * fileops.c (_IO_file_read):  Don't assume EINTR is defined.
2785         * iosetbuf.c:  Replace by generalized ...
2786         * iosetbuffer.c:  ... variant, derived from BSD.
2787         * Makefile.in (STDIO_WRAP_OBJECTS):  Change correspondingly.
2788         * iosetvbuf.c (iosetvbuf):  Minor ANSI tweak.
2789         * iostdio.h (setbuf, setlinebuf):  New #defines.
2790         * iolibio.h (_IO_setbuf, _IO_setlinebuf):  (Re-)define as macros.
2791         * Makefile.in (LIBIO_OBJECTS):  New macro.
2792
2793 Tue Sep 28 14:15:52 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2794
2795         * libioP.h (_IO_proc_open, _IO_proc_close): Add missing return types.
2796         * procbuf.cc:  Belated fixes.
2797
2798 Mon Sep 27 14:04:47 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2799
2800         * Makefile.in: List new files.  Add STDIO_WRAP_OBJECTS macro.
2801         * floatconv.c (d2b):  Use Exp_msk11 instead of Exp_msk1.
2802         * iofgetpos.c (_IO_fgetpos), iofsetpos.c (_IO_fsetpos):  Clean up.
2803         * iolibio.h:  New file.  Declarations of _IO_foo, for most foo
2804         where foo is a stdio function.  (Remove these from libio.h.)
2805         * iostream.h (istream::istreambuf, ostream::ostreambuf):  Move
2806         obsolete functions inside #ifdef _STREAM_COMPAT.
2807         * libio.h, libioP.h, streambuf.h, parsestream.h, stdiostream.h:
2808         Use _IO_fpos_t rather than _IO_pos_t.
2809         * iopopen.c:  New file type, for pipe (popen-like) streams.
2810         * procbuf.cc:  Now just a C++ wrapper for the files in iopopen.c.
2811         * streambuf.h (ios::unsetf):  Return complete old value of flags.
2812         * iogets.c (_IO_gets(), ioungetc.c (_IO_ungetc), ioperror.c
2813         (_IO_perror), iostrerror.c (_IO_strerror):  New files and
2814         functions, for stdio implementation.
2815         * iostdio.h:  Add declarations for various recently-added functions.
2816
2817 Sun Sep 12 14:24:55 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2818
2819         * streambuf.h (ios::showpos):: Fix typo.
2820
2821 Fri Aug 27 12:05:47 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2822
2823         * iopadn.c (_IO_padn):  Change to return count of chars written.
2824         * outfloat.c, iovfprintf.c:  Change for new _IO_padn interface.
2825         * iostream.cc (ostream::operator<<):  Make sure to set badbit
2826         on a failure (many places).  Use _IO_padn more.
2827         * iostream.cc (ostream& ostream::operator<<(const void *p):  Move to
2828         * osform.cc:  ... here, to reduce linking-in-the-world syndrome.
2829         * osform.cc: Use rdbuf(), instead of _strbuf directly.
2830
2831         * genops.c (_IO_sgetn), libio.h:  New function.
2832         * streambuf.h (streambuf.h::sgetn):  Use _IO_sgetn.
2833         * SFile.cc (SFile::operator[]):  Use sseekoff, not seekoff.
2834
2835 Thu Aug 26 10:16:31 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
2836
2837         * config.shared (SUBDIRS): only recurse if the directory is configured
2838
2839 Wed Aug 25 12:56:12 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2840
2841         * config/{hpux.mt, isc.mt, sco4.mt}:
2842         Moved from ../libg++/config (since they affect _G_config.h).
2843         * configure.in:  Set target_make_frag to one of the above files.
2844
2845 Fri Aug 20 00:53:14 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2846
2847         * iofopen.c (iofopen):  Fix type passed to _IO_un_link().
2848         * Makefile.in (_G_config.h):  Pass $CC (not $CXX) as CC.
2849
2850         * configure.in (configdirs):  Add dbz and stdio.
2851         * fileops.c (_IO_file_seekoff):  Convert more old functionality.
2852         * iofdopen.c:  Use mode parameter to set _flags.
2853         * iofscanf.c, ioputs.c, ioscanf.c, iosprintf.c:  New files.
2854         * Makefile.in (IO_OBJECTS):  Added new objects.
2855         * iostdio.h:  Add feof. fscanf, puts, sprintf, vsprintf.
2856         * libio.h:  Add _IO_vprintf macro.
2857         * iofopen.c:  Invoke _IO_un_link if failure.
2858         * iovsprintf.c:  Write terminating NUL.
2859
2860         * libioP.h:  Add COERCE_FILE macro (by default does nothing).
2861         * iofclose.c, iofflush.c, iofgets.c, iofprintf.c, iofputs.c,
2862         iofread.c, ioftell.c, iofwrite.c, iosetbuf.c, iosetvbuf.c:
2863         Invoke COERCE_FILE macro.
2864         * ioftell.c:  Use _IO_seekoff.
2865
2866 Wed Aug 18 22:49:56 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2867
2868         * sbform.cc (streambuf::form), sbscan.cc (streambuf::scan):
2869         Remove cast to _IO_va_list.  (Loses if array type.)
2870
2871         * libio.h:  Handle _IO_va_list for systems that need <stdarg.h>.
2872         * floatconv.h:  Fix typo (reported by H.J.Lu).
2873
2874 Wed Aug 18 19:34:04 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
2875
2876         * configure.in (INSTALLDIR): handle native vs. cross case
2877
2878         * Makefile.in (install): don't use $TARGETLIB, set INSTALLDIR to
2879         $(libdir)
2880
2881 Wed Aug 18 12:10:03 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2882
2883         * Makefile.in:  Rename iostream-files to iostream.list.
2884         * configure.in:  Add iostream.list to MOSTLYCLEAN.
2885
2886 Tue Aug 17 18:56:59 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2887
2888         * Makefile.in:  Depend on _G_config.h where appropriate.
2889         * config.shared (CXXINCLUDES):  If doing libg++, search ../libio.
2890
2891 Tue Aug 17 17:34:24 1993  Per Bothner  (bothner@kalessin.cygnus.com)
2892
2893         New directory.  Based on old libg++/iostream code,
2894         but extensively re-written.