|
|
1.1 root 1: Mon Dec 20 00:31:21 1993 Per Bothner ([email protected]) 2: 3: * config.shared (CXXINCLUDES): Fix quoting of $(NOSTDINC). 4: 5: Sun Dec 19 21:03:45 1993 Per Bothner ([email protected]) 6: 7: * Makefile.in (VERSION): Increase to 0.63. 8: 9: Fri Dec 17 13:02:44 1993 Per Bothner ([email protected]) 10: 11: * iofread.c (_IO_fread): Return 0 if either size or count is 0. 12: * iofwrite.c (_IO_fwrite): Return 0 if either size or count is 0. 13: (This is consistent with fread, and most implementations, but not 14: with a literal reading of the ANSI spec.) 15: * iovfscanf.c (_IO_vfscanf): If got EOF while skipping spaces, 16: set seen_eof and break (instead of returning). 17: * sbscan.cc (streambuf::vscan): Set error state before returning. 18: * streambuf.h: Add a forward declarations for class istream 19: to work around a g++ vtable name mangling bug. (Patch from 20: [email protected] via Jeffrey A Law <[email protected]>.) 21: * NEWS: New file. 22: 23: Sat Dec 11 16:21:08 1993 Per Bothner ([email protected]) 24: 25: * iovfprintf.c (struct helper_file, _IO_helper_overflow, 26: helper_vfprintf, _IO_helper_jumps): New structs and functions. 27: (_IO_vfprintf): Use helper_vfprintf to make printing to 28: unbuffered files more efficient. 29: * genops.c (_IO_default_underflow), libioP.h: New function. 30: 31: * iovsscanf.c (_IO_vsscanf): The input string's length marks 32: its logical end-of-file. 33: 34: Wed Dec 8 13:20:46 1993 Per Bothner ([email protected]) 35: 36: * indstream.cc (indirectbuf::sync()): Don't crash if get_stream() 37: or put_stream() are NULL; sync() both streams even if error. 38: 39: Sun Dec 5 19:24:29 1993 Brendan Kehoe ([email protected]) 40: 41: * iostreamP.h (convert_to_seekflags): Use _IO_seek_set instead of 42: 0 inside the conditial expressions. 43: 44: * iofsetpos.c (_IO_fsetpos): Delete unused var `pos'. 45: 46: Sat Dec 4 15:57:26 1993 Per Bothner ([email protected]) 47: 48: * filedoalloc.c (_IO_file_doallocate): Change type of couldbetty 49: to int, and type of size to _IO_size_t, instead of size_t. 50: (Change needed for Ultrix, which incorrectly deliberately doesn't 51: define size_t in <sys/types.h> if _POSIX_SOURCE is defined.) 52: 53: Thu Dec 2 22:43:03 1993 Per Bothner ([email protected]) 54: 55: * fileops.c (_IO_file_finish): Remove redundant call to _IO_un_link. 56: * iofclose.c (_IO_fclose): Don't call fp->_jumps->__close; it's 57: too low-level. Instead call _IO_file_close_it. 58: * dbz/Makefile.in (rclean, distclean): Add some missing files. 59: 60: Wed Dec 1 13:19:14 1993 Per Bothner ([email protected]) 61: 62: * config/hpux.mt (MATH_H_INLINES): No longer define. 63: Patch from Jeffrey A Law <[email protected]>. 64: 65: Fri Nov 26 13:28:36 1993 Per Bothner ([email protected]) 66: 67: * config.shared (CINCLUDES): Define default if libg++. 68: * iofread.c: Use _IO_sgetn.c. 69: * iolibio.h (_IO_clearerr): Fix typo. 70: * genops.c (_IO_seekmark): Return 0 on success. 71: * floactconv.c (Binit): Change to static. 72: * iofclose.c (_IO_fclose): Check if file is _IO_stdin, _IO_stdout, 73: or _IO_stderr; if so don't try to free it. Fix from [email protected]. 74: 75: * genops.c (_IO_default_sync), libioP.h: New function. 76: * libioP.h (_IO_default_close): Use _IO_default_sync -same interface. 77: 78: * Makefile.in: Increase version to 0.62. 79: * iopopen.c (_IO_proc_close): Use waitpid (available in libibarty, 80: if needed), rather than wait. Don't block/ignore SIGINT etc, 81: as this is counter to Posix.2. 82: * iopopen.c: Chain open proc_files, and have the child close 83: the ones that are open (as required by Posix.2). 84: 85: * fstream.h (fstreambase::rdbuf), strstream.h (strstreambase 86: ::rdbuf): Call ios::rdbuf() instead of getting _strbuf directly. 87: 88: * sbscan.cc (streambuf::vscan): Comment out duplicate default arg. 89: * floatconv.c: Recognize Alpha and i860 as little-endian. 90: * streambuf.cc: Return two bogus value returns from void functions. 91: * iolibio.h, iofwrite.c: Fix buffer type to (const void*). 92: * libio.h: Predefine of struct _IO_FILE to help non-g++-compilers. 93: * libioP.h, pfstream.cc, stdfiles.c, iovfscanf.c: Cleanup syntax junk. 94: * stdstreams.cc: Minor simplification. 95: * streambuf.h, builtinbuf.cc: Add non-const ios::_IO_fix_vtable() 96: for temporary binary compatibility. 97: 98: * filedoalloc.c, fileops.c: Add _POSIX_SOURCE. 99: * fileops.c, iofopen.c, iofputs.c, iostream.cc, strops.c, 100: strstream.cc, genops.c: Add some missing #includes. 101: * iofopen.c, iofdopen.c: Return NULL if malloc fails. 102: * iovfscanf.c: Fix return type in strtol prototype. 103: * fwrite.c: Remove bogus file. 104: 105: Wed Nov 17 14:09:42 1993 Per Bothner ([email protected]) 106: 107: * builtinbuf.cc (ios::_IO_fix_vtable), streambuf.h: Make method 108: const, to reduce problems with -Wcast-qual. 109: 110: Tue Nov 16 19:30:42 1993 david d `zoo' zuhn ([email protected]) 111: 112: * config.shared (CXXINCLUDE): use ${} instead of $() for NOSTDINC 113: 114: Tue Nov 16 14:15:45 1993 Per Bothner ([email protected]) 115: 116: * iopopen.c (_IO_proc_close): Re-structure to avoid 117: declarations after statements. 118: * floatconv.c: If not __STDC__, #define DBL_MANT_DIG. 119: * config/isc.mt (G_CONFIG_ARGS): Remove bogus spaces. 120: Patch from David A. Avery <[email protected]>. 121: 122: Tue Nov 16 15:58:31 1993 Mark Eichin ([email protected]) 123: 124: * Makefile.in (_G_config.h): explicitly use $(SHELL) to run 125: gen-params, since we know it is a script (we're explicitly looking 126: in ${srcdir} for it) and /bin/sh might not be good enough. 127: 128: Mon Nov 15 13:26:22 1993 Per Bothner ([email protected]) 129: 130: * builtinbuf.cc: Don't depend on initialization of static 131: variable builtinbuf::vtable, since that might happen after 132: we need it (for a static constructor). Instead, initialize 133: it when needed by inlining the code from get_builtin_vtable 134: into ios::_IO_fix_vtable(). 135: 136: * floatconv.c: Avoid using #elif, which some C compilers lack. 137: * iogetline.c, libioP.h: Make char parameter be int, to avoid 138: some default promotion anomalies. 139: 140: Fri Nov 5 11:49:46 1993 Per Bothner ([email protected]) 141: 142: * config.shared (do-clean-dvi): Remove TeX work files. 143: * iopopen.c (extern _IO_fork): Don't use parameter type void. 144: * strops.c (_IO_str_init_static): Clear the allocate_buffer 145: function pointer, to mark the strfile as being static. 146: Bug fix from Mike Raisbeck <[email protected]>. 147: 148: Thu Nov 4 10:44:24 1993 Per Bothner ([email protected]) 149: 150: * filebuf.cc (filebuf:): Use sseekoff rather than seekoff 151: (which loses if vtable pointer is NULL). 152: 153: * iostream.cc (ostream::operator<<(long long n)): Fix thinko. 154: 155: * Makefile.in (VERSION): Increase to 0.60. 156: * Makefile.in (IO_OBJECTS): Added iopopen.o. 157: * config.shared (DISTCLEAN): Also remove Make.pack. 158: * config.shared (CXXINCLUDES): Add $(NOSTDINC). 159: 160: * config.shared (INSTALL): Fix so it ues the correct install.sh 161: whether $srcdir is absolute or relative. 162: 163: * floatconv.c (DBL_MAX_10_EXP): Fix default value. 164: 165: Wed Nov 3 10:20:49 1993 Per Bothner ([email protected]) 166: 167: * gen-params: Make more robust to allow random junk (NeXT 168: has spaces) before typedefs. 169: 170: * fileops.c (_IO_file_overflow): Reduce code duplication. 171: * Makefile.in (IO_OBJECTS): Remove ioputs.o. 172: 173: * iovfscanf.c, libio.h: Extra parameter to _IO_vfscanf, 174: for optionally setting an error indication.. 175: * iofscanf.c, ioscanf.c, iofscanf.c, iovsscanf.c: Fix calls to 176: _IO_vfscanf to pass an extra NULL. 177: * sbscan.cc (streambuf::vscan): If passed an extra stream, 178: set its error state (using new _IO_vfscanf parameter. 179: 180: * filedoalloc.c, fileops.c, genops.c, iogetline.c, ioignore.c, 181: libio.h, libioP.h, streambuf.cc streambuf.h, strfile.h, strops.c, 182: strstream.cc: Replace macros (_base, _ebuf, _eback, _gptr, _egptr, 183: _pbase, _pptr, _epptr) by field names (_IO_buf_base, _IO_buf_end, 184: _IO_read_base, _IO_read_pre, IO_read_end, _IO_write_base, 185: _IO_write_ptr, _IO_write_end). 186: * libio.h: Remove the old macros (which fixes a conflict. 187: 188: Mon Nov 1 15:22:12 1993 Per Bothner ([email protected]) 189: 190: * iostream.cc: Use _IO_sputn instead of sputn. _IO_sputn does 191: not require a vtable pointer, and is also slightly faster. 192: 193: * builtinbuf.{h,cc} (builtinbuf::setbuf): Fix return and 194: parameter types. 195: 196: Mon Oct 25 12:56:33 1993 Per Bothner ([email protected]) 197: 198: Kludge to make sure _IO_FILE buffers get flushed before exit. 199: * dbz/dbzmain.c, dbz/fake.c, dbz/byteflip.c: 200: Invoke DBZ_FINISH macro (if defined) before (normal) exits. 201: * dbz/Makefile.in (CFLAGS): Define DBZ_FINISH to call _IO_flush_all. 202: 203: Sat Oct 23 22:10:53 1993 Per Bothner ([email protected]) 204: 205: * Makefile.in (VERSION): Set to 0.60 for libg++ release. 206: * fileops.c (_IO_file_attach): Set _offset to _IO_pos_BAD. 207: * iostream.cc (ostream::flush): Fix thinkp. 208: * editbuf.cc, isgetsb.cc, isscan.cc, osform.cc, parsestream.cc, 209: pfstream.cc, sbform.cc, sbscan.cc, stdstreams.cc, stream.cc: 210: Replace #include "ioprivate.h" by #include "libioP.h" (and 211: sometimes stdarg.h, stdlib.h and/or string.h). 212: * ioprivate.h: Removed. 213: 214: 215: Thu Oct 21 19:24:02 1993 Per Bothner ([email protected]) 216: 217: * PlotFile.h, SFile.h, editbuf.cc, editbuf.h, filebuf.cc, 218: fstream.cc, fstream.h, indstream.cc, indstream.h, iomanip.cc, 219: iomanip.h, ioprivate.h, iostream.cc, iostream.h, isgetline.cc, 220: isgetsb.cc, parsestream.cc, parsestream.h, pfstream.cc, 221: pfstream.h, procbuf.cc, procbuf.h, stdiostream.cc, stdiostream.h, 222: stdstreams.cc, streambuf.cc, streambuf.h, strstream.cc, 223: strstream.h: Remove old (duplicate) copyright notices. 224: 225: * iostream.cc: Fix calls to sync() to be safe in the presence 226: of vtable-less streambufs. 227: 228: Wed Oct 20 15:22:04 1993 Per Bothner ([email protected]) 229: 230: * streambuf.h (streambuf::underflow, streambuf::overflow): 231: Don't make virtual functions pure. 232: * streambuf.cc (streambuf::underflow, streambuf::overflow): 233: Default definitions (return EOF). 234: * fstream.h: Add new (int fd, char* buf, int len) constructors. 235: These are deprecated, but added for AT&T compatibility. 236: * fstream.cc fstreambase::fstreambase(int fd, char *p, int l): New. 237: 238: Thu Oct 14 14:57:01 1993 david d `zoo' zuhn ([email protected]) 239: 240: * configure.in: use 'mv -f' instead of 'mv' 241: 242: Tue Oct 12 05:01:44 1993 Mike Stump ([email protected]) 243: 244: * floatconv.c: Fix typo, change __STDC to __STDC__. 245: 246: Mon Oct 11 17:03:12 1993 Per Bothner ([email protected]) 247: 248: * cleanup.c: It should be #if _G_HAVE_ATEXIT, not #ifdef. 249: 250: * floatconv.c, iostrerror.c, iovfprintf.c, iovfscanf.c, libioP.h: 251: Bunch of fixes to allow use of non-ANSI (K&R) C compilers. 252: 253: * Makefile.in (iostream.list): Use CC=$(CXX) to force use of gcc. 254: * README: New file. 255: 256: Fri Oct 8 16:19:58 1993 Per Bothner ([email protected]) 257: 258: * Makefile.in: Move ioungetc.o from STDIO_WRAP_OBJECTS to 259: IO_OBJECTS (since it is needed for iovfscanf.c). 260: * iostrerror.c: Add declaration of strerror. 261: 262: Thu Oct 7 12:02:28 1993 Per Bothner ([email protected]) 263: 264: * cleanup.c: New file, to cause flushing at exit. 265: * filedoalloc.c: Cause flushing on exit. 266: * Makefile.in (OSPRIM_OBJECTS): Add cleanup.o. 267: * gen-params: Check for atexit. 268: 269: Tue Oct 5 19:11:14 1993 Mike Stump ([email protected]) 270: 271: * ioperror.c (_IO_strerror): Add missing ()s in _PARAMS usage. 272: 273: Tue Oct 5 10:33:37 1993 Per Bothner ([email protected]) 274: 275: * iofprintf.c, iofscanf.c, ioprintf.c, ioscanf.c, iosprintf.c, 276: iosscanf.c: Remove bogus semi-colon after va_dcl. 277: * ioperror.c: Fix typos in declaration. 278: 279: Mon Oct 4 17:12:22 1993 Per Bothner ([email protected]) 280: 281: * configure.in (CLEAN): Define (as _G_config.h *.a). 282: 283: * fileops.c (_IO_file_read): Don't assume EINTR is defined. 284: * iosetbuf.c: Replace by generalized ... 285: * iosetbuffer.c: ... variant, derived from BSD. 286: * Makefile.in (STDIO_WRAP_OBJECTS): Change correspondingly. 287: * iosetvbuf.c (iosetvbuf): Minor ANSI tweak. 288: * iostdio.h (setbuf, setlinebuf): New #defines. 289: * iolibio.h (_IO_setbuf, _IO_setlinebuf): (Re-)define as macros. 290: * Makefile.in (LIBIO_OBJECTS): New macro. 291: 292: Tue Sep 28 14:15:52 1993 Per Bothner ([email protected]) 293: 294: * libioP.h (_IO_proc_open, _IO_proc_close): Add missing return types. 295: * procbuf.cc: Belated fixes. 296: 297: Mon Sep 27 14:04:47 1993 Per Bothner ([email protected]) 298: 299: * Makefile.in: List new files. Add STDIO_WRAP_OBJECTS macro. 300: * floatconv.c (d2b): Use Exp_msk11 instead of Exp_msk1. 301: * iofgetpos.c (_IO_fgetpos), iofsetpos.c (_IO_fsetpos): Clean up. 302: * iolibio.h: New file. Declarations of _IO_foo, for most foo 303: where foo is a stdio function. (Remove these from libio.h.) 304: * iostream.h (istream::istreambuf, ostream::ostreambuf): Move 305: obsolete functions inside #ifdef _STREAM_COMPAT. 306: * libio.h, libioP.h, streambuf.h, parsestream.h, stdiostream.h: 307: Use _IO_fpos_t rather than _IO_pos_t. 308: * iopopen.c: New file type, for pipe (popen-like) streams. 309: * procbuf.cc: Now just a C++ wrapper for the files in iopopen.c. 310: * streambuf.h (ios::unsetf): Return complete old value of flags. 311: * iogets.c (_IO_gets(), ioungetc.c (_IO_ungetc), ioperror.c 312: (_IO_perror), iostrerror.c (_IO_strerror): New files and 313: functions, for stdio implementation. 314: * iostdio.h: Add declarations for various recently-added functions. 315: 316: Sun Sep 12 14:24:55 1993 Per Bothner ([email protected]) 317: 318: * streambuf.h (ios::showpos):: Fix typo. 319: 320: Fri Aug 27 12:05:47 1993 Per Bothner ([email protected]) 321: 322: * iopadn.c (_IO_padn): Change to return count of chars written. 323: * outfloat.c, iovfprintf.c: Change for new _IO_padn interface. 324: * iostream.cc (ostream::operator<<): Make sure to set badbit 325: on a failure (many places). Use _IO_padn more. 326: * iostream.cc (ostream& ostream::operator<<(const void *p): Move to 327: * osform.cc: ... here, to reduce linking-in-the-world syndrome. 328: * osform.cc: Use rdbuf(), instead of _strbuf directly. 329: 330: * genops.c (_IO_sgetn), libio.h: New function. 331: * streambuf.h (streambuf.h::sgetn): Use _IO_sgetn. 332: * SFile.cc (SFile::operator[]): Use sseekoff, not seekoff. 333: 334: Thu Aug 26 10:16:31 1993 david d `zoo' zuhn ([email protected]) 335: 336: * config.shared (SUBDIRS): only recurse if the directory is configured 337: 338: Wed Aug 25 12:56:12 1993 Per Bothner ([email protected]) 339: 340: * config/{hpux.mt, isc.mt, sco4.mt}: 341: Moved from ../libg++/config (since they affect _G_config.h). 342: * configure.in: Set target_make_frag to one of the above files. 343: 344: Fri Aug 20 00:53:14 1993 Per Bothner ([email protected]) 345: 346: * iofopen.c (iofopen): Fix type passed to _IO_un_link(). 347: * Makefile.in (_G_config.h): Pass $CC (not $CXX) as CC. 348: 349: * configure.in (configdirs): Add dbz and stdio. 350: * fileops.c (_IO_file_seekoff): Convert more old functionality. 351: * iofdopen.c: Use mode parameter to set _flags. 352: * iofscanf.c, ioputs.c, ioscanf.c, iosprintf.c: New files. 353: * Makefile.in (IO_OBJECTS): Added new objects. 354: * iostdio.h: Add feof. fscanf, puts, sprintf, vsprintf. 355: * libio.h: Add _IO_vprintf macro. 356: * iofopen.c: Invoke _IO_un_link if failure. 357: * iovsprintf.c: Write terminating NUL. 358: 359: * libioP.h: Add COERCE_FILE macro (by default does nothing). 360: * iofclose.c, iofflush.c, iofgets.c, iofprintf.c, iofputs.c, 361: iofread.c, ioftell.c, iofwrite.c, iosetbuf.c, iosetvbuf.c: 362: Invoke COERCE_FILE macro. 363: * ioftell.c: Use _IO_seekoff. 364: 365: Wed Aug 18 22:49:56 1993 Per Bothner ([email protected]) 366: 367: * sbform.cc (streambuf::form), sbscan.cc (streambuf::scan): 368: Remove cast to _IO_va_list. (Loses if array type.) 369: 370: * libio.h: Handle _IO_va_list for systems that need <stdarg.h>. 371: * floatconv.h: Fix typo (reported by H.J.Lu). 372: 373: Wed Aug 18 19:34:04 1993 david d `zoo' zuhn ([email protected]) 374: 375: * configure.in (INSTALLDIR): handle native vs. cross case 376: 377: * Makefile.in (install): don't use $TARGETLIB, set INSTALLDIR to 378: $(libdir) 379: 380: Wed Aug 18 12:10:03 1993 Per Bothner ([email protected]) 381: 382: * Makefile.in: Rename iostream-files to iostream.list. 383: * configure.in: Add iostream.list to MOSTLYCLEAN. 384: 385: Tue Aug 17 18:56:59 1993 Per Bothner ([email protected]) 386: 387: * Makefile.in: Depend on _G_config.h where appropriate. 388: * config.shared (CXXINCLUDES): If doing libg++, search ../libio. 389: 390: Tue Aug 17 17:34:24 1993 Per Bothner ([email protected]) 391: 392: New directory. Based on old libg++/iostream code, 393: but extensively re-written. 394: 395:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.