OSDN Git Service

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