📄 changelog.libc
字号:
Thu Aug 27 01:12:42 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/sys/file_if.h: Fix comments and remove cyg_get_file_star()Wed Aug 26 20:24:32 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/pkgconf/libc.h: Remove #define CYGPKG_LIBC is that is meant to live in <pkgconf/system.h> after allWed Aug 26 19:39:23 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/pkgconf/libc.h: More fixes to CDL stuff to make it work better, and look better on the screenTue Aug 25 20:21:41 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/pkgconf/libc.h: Make some fixes after running the ConfigToolTue Aug 25 16:46:28 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/pkgconf/libc.h (CYGNUM_LIBC_STDIO_BUFSIZE): Fix typo of CYGNUM_LIBC_STDIO_BUFSIZETue Aug 25 15:10:57 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/pkgconf/libc.h: Tidy up CDL stuff a bit more, prior to checking it actually works.Tue Aug 25 11:38:52 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/stdlib/malloc2.c (main): Prevent calls to CYG_TEST_STILL_ALIVE for nowTue Aug 25 05:39:28 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/pkgconf/libc.h: Change cosmetic paragraph alignment. Tue Aug 25 03:11:34 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/support/clibdata.cxx: Make stderr initialise with buffer size 0. For PR 16955Mon Aug 24 17:38:46 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/pkgconf/libc.h: First pass at CDL-ifying the C library configuration. Currently deliberately disabled as there a few outstanding issues.Mon Aug 24 16:14:22 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/stdio/output/vfnprintf.cxx (_vfnprintf): clear up warning for unused argument * tests/stdlib/malloc2.c (NUM_ITERATIONS): Lower to 100 from 50000 so it won't take too long under the simulatorThu Aug 20 17:48:43 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/stdlib/malloc.cxx: Remove now unnecessary inclusion of kernel/ktypes.hWed Aug 19 19:19:14 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/stdio/sprintf1.c, tests/stdio/sprintf2.c, tests/stdio/sscanf.c, tests/stdlib/atoi.c, tests/stdlib/atol.c, tests/stdlib/rand1.c, tests/stdlib/rand2.c, tests/stdlib/rand3.c, tests/stdlib/srand.c, tests/stdlib/strtol.c, tests/stdlib/strtoul.c, tests/string/strtok.c, tests/time/clock.c: Add parameters to "main()" to silence warningsWed Aug 19 18:52:59 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/stdio/common/stream.cxx (refill_read_buffer): Put conditional error check into same #ifdef and if as what was being checked in the first place!Wed Aug 19 18:49:19 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/clibincl/stream.inl: Reorder Cyg_StdioStream::check_this() to be first to silence warningsTue Aug 18 16:10:03 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * ecc/language/c/libc/current/src/clibincl/clibdata.hxx, ecc/language/c/libc/current/src/errno/errno.cxx, ecc/language/c/libc/current/src/stdio/common/fopen.cxx, ecc/language/c/libc/current/src/stdlib/rand.cxx, ecc/language/c/libc/current/src/string/strtok.cxx: Rename CYGIMP_LIBC_INTERNAL_DATA_PREAMBLE, CYGIMP_LIBC_INTERNAL_DATA_ALLOC_CHECK_PREAMBLE, CYGVAR_LIBC_INTERNAL_DATA, and CYGIMP_LIBC_INTERNAL_DATA_CHECK to all have CYGPRI_ prefix instead as recommended by the config name rulesTue Aug 18 14:31:19 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/stdio/common/setvbuf.cxx (_setvbuf): Rename variable names in assert line, otherwise doesn't build with asserts on!Sun Aug 16 18:15:12 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/stdio/input/vfscanf.cxx (_vfscanf): Fix some bugs, although there are some left to fix still. Unrelated to the rest of the checkins, so I will check the partial fix in now. * src/clibincl/stream.hxx, src/clibincl/stream.inl, src/stdio/common/stream.cxx: Add parameters to constructor to allow more things to be done at construction time. Now we have "new", remove separate "construct" method Add more documentation on constructor As requested by code review, where possible, move boolean flags into separate packed bitfield structure for space efficiency Make readbuf_char be usable all the time rather than when configured not to be buffering, as it is also needed for non-buffered mode i.e. _IONBF * src/stdio/common/fopen.cxx: Change to use new method of construction from above, using new Use thread-specific data, rather than global. And so change errnos to access errno entry specifically Make process_mode() check for append mode too Reformat for coding standards to have { in same line as "verb" * src/stdio/common/setvbuf.cxx: Change to cope with different way of dealing with buffering policy flags etc. in Cyg_StdioStream * src/stdio/common/vsnprintf.cxx, src/stdio/common/vsscanf.cxx, src/support/clibdata.cxx: Change construction of streams to use new parameters added above, and change to use _IONBF mode for string stdio functions, otherwise its a waste of memory. And use _IONBF for stderr as the ISO standard tells us to! Reformat for coding standards to have { in same line as "verb" * src/clibincl/streambuf.hxx, src/clibincl/streambuf.inl: Change constructor so that it can be set with default size and dynamic buffer (if applicable) Fix minor bug in destructor - should only call free when allocated dynamically Change get_buffer_size to return -1 if the buffer was not allowed to be set up * src/stdio/common/streambuf.cxx: Remove unnecessary stdio.h include and add extra comment to whether to free bit in set_buffer() * src/stdio/common/freopen.cxx: Change @@@ to standard fix me string * src/stdio/output/fputc.cxx: Remove unnecessary "written" variableThu Aug 13 15:37:28 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/stdlib/_exit.cxx: Included use of "fix me" line to ensure this is discussed before release * include/stdlib.h, src/stdlib/abort.cxx, src/PKGconf.mak: Add abort.cxx to implement abort(), albeit naivelyThu Jul 30 18:03:09 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/stdio/common/vsscanf.cxx (_vsscanf), src/stdio/common/vsnprintf.cxx (_vsnprintf): Fix initialiser of pseudo string device table that didn't get updated when the table changed (Bad proven, no biscuit). * src/clibincl/stream.inl (~Cyg_StdioStream): Move invalidation of magic_validity_word to after unlock_me(), otherwise it always fails!Tue Jul 28 21:29:53 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/clibincl/clibdata.hxx: Shorten over-long linesTue Jul 28 20:28:23 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/clibincl/stream.hxx (class Cyg_StdioStream), src/clibincl/stream.inl, src/stdio/common/stream.cxx: Clarify some comments and get the CYGDBG_DEFINE_CHECK_THIS and CYG_ASSERTCLASS stuff going * src/clibincl/stream.inl: Put '{'s on same line as "action" as per coding standards Shorten over-long linesTue Jul 28 15:31:06 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/clibincl/streambuf.inl, src/stdio/common/streambuf.cxx: Move set_buffer() from streambuf.inl to new file streambuf.cxx * src/PKGconf.mak (COMPILE): Build new file streambuf.cxx * src/clibincl/streambuf.hxx (class Cyg_StdioStreamBuffer): Add METHODS comment * src/stdio/common/stream.cxx: Put '{'s on same line as "action" as per coding standards Shorten over-long linesTue Jul 28 00:26:36 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/stdlib.inl, src/stdio/input/vfscanf.cxx, src/stdio/output/vfnprintf.cxx, src/stdlib/div.cxx, src/stdlib/ldiv.cxx, src/stdlib/qsort.cxx, src/stdlib/strtol.cxx, src/stdlib/strtoul.cxx, src/string/strtok.cxx: Include proper Berkeley license inline in the file, rather than referring to an external file * doc/COPYING.UCB: Remove, now that it isn't referred to any moreMon Jul 27 23:34:26 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/ctype.h, include/ctype.inl, include/errno.h, include/stdio.h, include/stdio.inl, include/stdlib.h, include/stdlib.inl, include/string.h, include/string.inl, include/time.h, include/sys/file_if.h, src/PKGconf.mak, src/clibincl/clibdata.hxx, src/clibincl/clibdata.inl, src/clibincl/ctypesupp.hxx, src/clibincl/stdiosupp.hxx, src/clibincl/stream.hxx, src/clibincl/streambuf.hxx, src/clibincl/streambuf.inl, src/clibincl/stringsupp.hxx, src/clibincl/timesupp.hxx, src/ctype/isalnum.cxx, src/ctype/isalpha.cxx, src/ctype/iscntrl.cxx, src/ctype/isdigit.cxx, src/ctype/isgraph.cxx, src/ctype/islower.cxx, src/ctype/isprint.cxx, src/ctype/ispunct.cxx, src/ctype/isspace.cxx, src/ctype/isupper.cxx, src/ctype/isxdigit.cxx, src/ctype/tolower.cxx, src/ctype/toupper.cxx, src/errno/errno.cxx, src/stdio/common/snprintf.cxx, src/stdio/common/sprintf.cxx, src/stdio/common/sscanf.cxx, src/stdio/common/stdioinlines.cxx, src/stdio/common/stream.cxx, src/stdio/common/ungetc.cxx, src/stdio/common/vsnprintf.cxx, src/stdio/common/vsscanf.cxx, src/stdio/input/fgetc.cxx, src/stdio/input/fgets.cxx, src/stdio/input/fscanf.cxx, src/stdio/input/gets.cxx, src/stdio/input/scanf.cxx, src/stdio/output/fnprintf.cxx, src/stdio/output/fprintf.cxx, src/stdio/output/fputc.cxx, src/stdio/output/fputs.cxx, src/stdio/output/printf.cxx, src/stdlib/_exit.cxx, src/stdlib/abs.cxx, src/stdlib/atof.cxx, src/stdlib/atoi.cxx, src/stdlib/atol.cxx, src/stdlib/div.cxx, src/stdlib/labs.cxx, src/stdlib/ldiv.cxx, src/stdlib/rand.cxx, src/stdlib/strtod.cxx, src/string/memchr.cxx, src/string/memcmp.cxx, src/string/memmove.cxx, src/string/strcat.cxx, src/string/strchr.cxx, src/string/strcmp.cxx, src/string/strcoll.cxx, src/string/strcpy.cxx, src/string/strcspn.cxx, src/string/strlen.cxx, src/string/strncat.cxx, src/string/strncmp.cxx, src/string/strncpy.cxx, src/string/strpbrk.cxx, src/string/strrchr.cxx, src/string/strspn.cxx, src/string/strstr.cxx, src/string/strsuppt.cxx, src/string/strtok.cxx, src/string/strxfrm.cxx, src/support/clibdata.cxx, src/time/clock.cxx: UntabifyMon Jul 27 23:14:18 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/errno/errno.cxx, src/stdio/input/vfscanf.cxx, src/stdio/output/vfnprintf.cxx, src/stdlib/strtol.cxx, src/stdlib/strtoul.cxx, src/stdlib/malloc.cxx, src/stdlib/qsort.cxx, tests/ctype/ctype.c, tests/stdlib/rand3.c, tests/stdlib/malloc3.c: Remove all mentions of "register" in variable declarations. Also untabify where needed * src/stdlib/bsearch.cxx: Untabify this too Mon Jul 27 22:18:51 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/stdio/output/fputc.cxx (_fputc): Replace call to stream write() with call to write_byte() * src/clibincl/stream.inl (write_byte): Add asserts for stream write() returning odd values for how much has been written (bytes_available_to_read): Remove "register" def for variable declarationMon Jul 27 22:06:22 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/stdio/common/stdiosupp.cxx: Remove #if 0'd cyg_get_file_star() and unnecessary pseudo string device definitionMon Jul 27 21:57:25 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/pkgconf/libc.h, src/support/clibdata.cxx: Change CYGXXX_LIBC_STDIO_DEFAULT_CONSOLE to CYGDAT_LIBC_STDIO_DEFAULT_CONSOLEMon Jul 27 21:49:23 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/clibincl/clibdata.hxx, src/clibincl/clibdata.inl, src/clibincl/ctypesupp.hxx, src/clibincl/setjmpsupp.hxx, src/clibincl/stdiosupp.hxx, src/clibincl/stdlibsupp.hxx, src/clibincl/stream.hxx, src/clibincl/stream.inl, src/clibincl/streambuf.hxx, src/clibincl/streambuf.inl, src/clibincl/stringsupp.hxx, src/clibincl/timesupp.hxx: Change CYGONCE_LIBC_*_{HXX,INL} to CYGONCE_LIBC_CLIBINCL_*_{HXX,INL}Mon Jul 27 21:34:05 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/pkgconf/libc.h: Change #define XXXXX 1 to #define XXXXX where applicable as per code review Also remove obsolete CYGIMP_LIBC_THREAD_START_SUSPENDS_SELFMon Jul 27 19:42:27 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/stdio/common/fopen.cxx (_fopen): Use #ifdef, not #if for config optionsMon Jul 27 15:01:51 BST 1998 Chris Provenzano <proven@cygnus.com> * src/stdio/common/stream.cxx, src/stdio/common/vsnprintf.cxx * src/stdio/common/vsscanf.cxx: Fixes to compile with the new Cyg_IORB field names. Thu Jul 9 03:40:21 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/stdlib/atoi.c, tests/stdlib/atol.c, tests/stdlib/strtol.c, tests/stdlib/strtoul.c: Adjust starting of tests to possibly start scheduler since strtol/stroul rely on errno, which may be a per-thread variableThu Jul 9 03:06:25 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/clibincl/stream.hxx, src/clibincl/stream.inl, src/stdio/common/stream.cxx, src/stdio/common/setvbuf.cxx: Consolidate read and write buffers into single buffer, as it should have been all along * src/clibincl/streambuf.hxx, src/clibincl/streambuf.inl: Add drain_buffer() method to speed up the case when we want the buffer completely emptiedTue Jul 7 21:26:33 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/stdio/sprintf1.c: Add a couple of new tests that check that very long strings work tooWed Jul 1 19:52:39 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/clibincl/stream.hxx, src/clibincl/streambuf.hxx: Do not permit copy constructors * src/clibincl/stream.inl, src/stdio/common/fclose.cxx: Make sure we use #ifdef and not #if * src/clibincl/streambuf.inl: Use member initialisation list rather than explicit initialisation to reduce warningsWed Jul 1 19:17:55 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/pkgconf/libc.h and all files using config options: Rename configuration defines to make them more standardThu Jun 25 20:09:30 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/string/strcat.cxx: Add parentheses on check to silence warning (Verified by proven)Thu Jun 25 19:30:01 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/stdlib/malloc.cxx: Make sure that the malloc pool is initialised before other things can use it. This is
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -