OSDN Git Service

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