OSDN Git Service

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