📄 changelog.libc
字号:
Wed Sep 16 11:20:31 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/pkgconf/libc.h: Remove "fix me" comment which I forgot to remove beforeTue Sep 15 19:27:57 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/pkgconf/libc.h: Updated descriptions and a few other minor things after review. Notably though, the NDEBUG config option has been removed1998-09-15 Bart Veer <bartv@cygnus.co.uk> * include/pkgconf/libc.h: PR 17201: removed dependency on CYGPKG_KERNEL in the option CYGNUM_LIBC_MAIN_STACK_SIZE, since the actual dependencies cannot be expressed sensibly in the current system.1998-09-11 Bart Veer <bartv@cygnus.co.uk> * include/pkgconf/libc.h: Sorting out dependencies for error package.1998-09-10 Mark Galassi <rosalia@cygnus.com> * include/pkgconf/libc.h: started adding doc fields to the cdl_package data, as a pilot for now.Wed Sep 9 17:41:23 1998 Hugo Tyson <hmt@cygnus.co.uk> * include/pkgconf/libc.h: Add option CYGIMP_LIBC_MALLOC_CXX_DELETE_CALLS_FREE to explicitly control whether the empty delete functions (currently) in kernel/.../common/delete.cxx are enabled; controls code bloat, see the comments in delete.cxx.Fri Sep 4 16:43:38 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/stdio/stdiooutput.c: Add a default CYG_TEST_PASS() to make sure the test infra doesn't complain. Also remove the unused string functionsaFri Sep 4 15:43:48 1998 Hugo Tyson <hmt@cygnus.co.uk> * src/stdlib/exit.cxx (__libc_exit): * src/stdlib/_exit.cxx (__libc__exit): * src/stdlib/malloc.cxx (_free): * src/stdlib/abort.cxx (abort): * src/support/cstartup.cxx (invoke_main): Tracing system asserted cos it was being called incorrectly; these are void functions so you shouldn't give a type to the function reporting call.Fri Sep 4 15:03:10 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/pkgconf/libc.h: Fix CYGDAT_LIBC_STDIO_DEFAULT_CONSOLE description to refer to the table.cxx file, not table.hFri Sep 4 14:38:52 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/pkgconf/libc.h: Add description for CYGDAT_LIBC_STDIO_DEFAULT_CONSOLE since Proven won't be making any changes to the device driver implementation after all. Fix for PR 17148 * src/clibincl/stream.inl (set_position): Remove "fix me" line. It is obvious that this will have to change with a filesystem interface Fix for PR 17147 * src/stdio/common/freopen.cxx: Remove "fix me" - I know about this issue Fix for PR 17145 * src/stdio/common/stream.cxx (read): Remove "fix me" and change to use memcpy Fix for PR 17144Fri Sep 4 14:36:47 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/stdio/stdiooutput.c: Actually add it this time!Fri Sep 4 13:48:13 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/stdio/stdiooutput.c: Add new tests for misc stdio output functions * tests/PKGconf.mak: Build stdiooutput.c testFri Sep 4 12:52:10 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/clibincl/stream.inl (write_byte): Remove bogus assert * tests/stdlib/getenv.c (main): Check whether str is NULL before doing a strcmp() * tests/stdio/sprintf2.c (main): Reformat to 76 columnsFri Sep 4 02:10:54 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/clibincl/stream.hxx, src/stdio/common/stream.cxx: Add new peek_byte method to Cyg_StdioStream * src/stdio/input/vfscanf.cxx (_vfscanf): Fix up buffer access to work with new peek_byte method above Fix for PR 16954Thu Sep 3 19:40:11 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/stdlib/rand1.c, tests/stdlib/rand2.c, tests/stdlib/rand3.c: Add extra check for CYGPKG_LIBC_RAND to decide whether the test is applicable or not * tests/stdlib/rand2.c (test): Use CYGNUM_LIBC_RAND_SEED for default seed, not 1 * tests/string/strtok.c: Add extra check for CYGFUN_LIBC_strtok to decide whether the test is applicable or notWed Sep 2 19:11:40 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/stdio/input/fread.cxx, src/stdio/output/fwrite.cxx: Add fread() and fwrite() functions * src/PKGconf.mak: Build fread.cxx and fwrite.cxx from above * src/stdio/common/stream.cxx: Reformat to 76 columns In write(), move initialisation of *bytes_written to start In read(), move initialisation of *bytes_read to start * include/stdio.h: Reformat to 76 columns Replace all references to the ANSI standard to instead by the ISO C standard Add commented argument names for "documentation" Add fread() and fwrite() prototypes * src/clibincl/stdiosupp.hxx: Copy the above changes from stdio.h, and add _fread() and _fwrite() prototypes * src/stdio/output/fputs.cxx, src/stdio/input/fgets.cxx: Reformat to 76 columnsWed Sep 2 15:41:15 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/stdio/input/vfscanf.cxx: Reformat to 76 columnsWed Sep 2 14:46:18 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/stdio/common/fflush.cxx: Use trylock_me() instead of lock_me(), and loop to prevent deadlocks * src/clibincl/stream.hxx, src/clibincl/stream.inl: Add trylock_me() method * src/clibincl/stream.hxx, src/clibincl/stream.inl, src/stdio/common/fflush.cxx: Reformat to 76 columnsWed Sep 2 12:24:27 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/pkgconf/libc.h: Change 0x7fff to 0x7fffffff. Oops! give main stack size option a legal_values field Undefine tracing by default Add some more description in the headerTue Sep 1 20:02:07 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/i18n/setlocale.c (cyg_package_start): Fix typo - extra "x" for no reason at all! :-)Tue Sep 1 19:44:58 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/i18n/locale.cxx: Fix bug in find_locale_data() that miscalculated size of all_locales Make find_locale_data() match the locale "" and add some other things in _setlocale() to ensure that "C" gets returned when the default locale "" is passed. Only check the locale pointer when it is non-NULL * tests/i18n/setlocale.c: New tests for setlocale() * tests/PKGconf.mak: Update to build setlocale.c test * src/support/cstartup.cxx: Don't actually call system default main() "main" otherwise GDB gets confused and thinks its the entry point. Instead make a weak alias and call the real function something different.Tue Sep 1 18:31:42 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/i18n/locale.cxx (_setlocale): Fix tracing macro name and remove "str maybe used before initialised" warning * tests/stdlib/qsort.c: Correct file description headerTue Sep 1 17:04:32 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/locale.h, src/clibincl/i18nsupp.hxx, src/i18n/locale.cxx: New files to add support for locales as defined by the ISO C standard. i.e. setlocale() and localeconv() functions and some other bits * include/pkgconf/libc.h: Add CYGNUM_LIBC_MAX_LOCALE_NAME_SIZE config option for locale support * src/PKGconf.mak: build locale.cxx * include/errno.h, src/clibincl/ctypesupp.hxx: Tidy up to 76 columnsTue Sep 1 00:24:22 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/pkgconf/libc.h: Move environment-related options from stdlib into new CYGPKG_LIBC_STARTUP component. Also add options for main()'s arguments (CYGPKG_LIBC_ARGUMENTS), main()'s default stack size (CYGNUM_LIBC_MAIN_STACK_SIZE), number of atexit handlers (CYGNUM_LIBC_ATEXIT_HANDLERS), and whether _exit() stops the system (CYGSEM_LIBC_EXIT_STOPS_SYSTEM). * src/clibincl/stdlibsupp.hxx: Fix a few comment bugs, and add new cyg_libc_invoke_atexit_handlers() function prototype * src/stdlib/_exit.cxx, src/stdlib/atexit.cxx, src/stdlib/exit.cxx: Implement exit(), atexit() and _exit() correctly now. Also includes cyg_libc_invoke_atexit_handlers() in atexit.cxx. Now we get the correct behaviour of atexit(), and exit() invokes the atexit handlers and fflushs all the stdio streams. Add plenty of tracing of asserts too. * src/support/cstartup.cxx: Make main_thread object an exported global. Allow user-settable arguments. Add MUCH more tracing and asserts. Improve comments. Tidy up to 76 columns * tests/stdlib/atexit.c: Add simple test for atexit() and it calling registered functions * tests/PKGconf.mak: Build atexit.c testMon Aug 31 18:54:48 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/stdlib/getenv.cxx, tests/stdlib/getenv.c: Add support for getenv(), and some tests to ensure it works * src/PKGconf.mak, tests/PKGconf.mak: Update to include getenv.cxx and getenv.c test * src/clibincl/clibdata.hxx: remove prototype for environ - we expect files needing it to define it themselves * src/support/clibdata.cxx: Tidy up to 76 columns and add definition of char **environ, but with a configurable initialiser (see libc.h below) * tests/stdlib/abs.c (main): Tidy up to 76 columns * src/stdlib/malloc.cxx: Tidy up to 76 columns and remove warning for undefined _memcpy() by changing to memcpy(), and casting away signedness * include/pkgconf/libc.h: Add CYGPKG_LIBC_ENVIRONMENT and CYGDAT_LIBC_DEFAULT_ENVIRONMENT configuration options * include/pkgconf/libc.h, src/clibincl/clibdata.hxx: Tidy up to 76 columns * include/stdlib.h: Add getenv() prototype and tidy up to 76 columns * src/clibincl/stdlibsupp.hxx: Add _getenv() prototype Mon Aug 31 13:37:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/stdlib/malloc.cxx: Add realloc() * tests/stdlib/realloc.c: Add this file to test new realloc() functionality * tests/PKGconf.mak: Build realloc test * tests/stdlib/malloc3.c (main), tests/stdlib/malloc2.c (main), tests/stdlib/malloc1.c (main): Conditionalise local vars to prevent warnings * tests/stdlib/malloc3.c (fill_with_data): Move '{' into "verb" line * include/pkgconf/libc.h: Require infra tracing support to allow tracing * include/stdlib.h: Add realloc() * src/clibincl/stdlibsupp.hxx: Update the commented argument names from stdlib.h, including realloc()1998-08-28 Bart Veer <bartv@cygnus.co.uk> * include/pkgconf/libc.h: * src/clibincl/clibdata.hxx, src/time/clock.cxx: Updated for new kernel configuration option symbol namesFri Aug 28 19:18:25 1998 Hugo Tyson <hmt@cygnus.co.uk> Changed the entry below to sat "tx39" instead of "mn10300". It's been a long week.Fri Aug 28 18:59:20 1998 Hugo Tyson <hmt@cygnus.co.uk> * src/support/cstartup.cxx: Add a weakly named main to allow the default configuration to link on the tx39 which has no scalextric linking yet. The static Cyg_Thread main_thread object below continues to exist, though unreferenced, so all its descendants must exist too.Fri Aug 28 08:54:29 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/stdlib.h: Add commented argument names Add exit(), and atexit(). And move these along with abort() and _exit() to a new section. * src/stdlib/atexit.cxx, src/stdlib/exit.cxx: Add trivial versions of atexit() and exit() * include/pkgconf/libc.h: Add CYGNUM_LIBC_MAIN_STACK_SIZE config option * include/sys/cstartup.h, src/support/cstartup.cxx, src/PKGconf.mak: New files to provide a new function cyg_iso_c_support(), which invokes main "correctly". * tests/ctype/ctype.c, tests/setjmp/setjmp.c, tests/stdio/sprintf1.c, tests/stdio/sprintf2.c, tests/stdio/sscanf.c, tests/stdlib/abs.c, tests/stdlib/atoi.c, tests/stdlib/atol.c, tests/stdlib/bsearch.c, tests/stdlib/div.c, tests/stdlib/labs.c, tests/stdlib/ldiv.c, tests/stdlib/malloc1.c, tests/stdlib/malloc2.c, tests/stdlib/malloc3.c, tests/stdlib/qsort.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/memchr.c, tests/string/memcmp1.c, tests/string/memcmp2.c, tests/string/memcpy1.c, tests/string/memcpy2.c, tests/string/memmove1.c, tests/string/memmove2.c, tests/string/memset.c, tests/string/strcat1.c, tests/string/strcat2.c, tests/string/strchr.c, tests/string/strcmp1.c, tests/string/strcmp2.c, tests/string/strcoll1.c, tests/string/strcoll2.c, tests/string/strcpy1.c, tests/string/strcpy2.c, tests/string/strcspn.c, tests/string/strlen.c, tests/string/strncat1.c, tests/string/strncat2.c, tests/string/strncpy1.c, tests/string/strncpy2.c, tests/string/strpbrk.c, tests/string/strrchr.c, tests/string/strspn.c, tests/string/strstr.c, tests/string/strtok.c, tests/string/strxfrm1.c, tests/string/strxfrm2.c, tests/time/clock.c: Modify all tests to use new startup mechanism, and cyg_iso_c_start()Fri Aug 28 00:29:38 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/stdio/common/stream.cxx: Add #ifdef CYGSEM_LIBC_STDIO_WANT_BUFFERED_IO around all accesses to flags.last_buffer_op_was_read. Fix for PR 16997
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -