OSDN Git Service

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