OSDN Git Service

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