📄 changelog
字号:
1999-01-15 Gary Thomas <gthomas@cygnus.co.uk> * include/pkgconf/libc.h (CYGNUM_LIBC_MAIN_STACK_SIZE): (CYGNUM_LIBC_MALLOC_MEMPOOL_SIZE): Change defaults to be more reasonable on small systems.1999-01-04 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/support/clibdata.cxx: Minor bug with environ not being initialised correctly by default1998-12-24 Bart Veer <bartv@cygnus.co.uk> * src/clibincl/stream.inl (Cyg_StdioStream): check_this() member functions should now be const1998-12-22 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/string/memchr.cxx (_memchr): treat search value parameter to memchr as an unsigned byte, not a signed int - copied fix from newlib PR 184711998-12-21 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/stdlib/realloc.c: * tests/stdlib/malloc3.c: * tests/stdlib/malloc2.c: Warning cleanup1998-12-14 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/stdlib/malloc2.c, tests/stdlib/malloc3.c, tests/stdlib/realloc.c: Only run these tests when we have a coalescing memory allocator1998-12-14 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/stdio/common/stream.cxx: Only check buffer init success if buffering * src/stdio/common/streambuf.cxx (set_buffer): Check for diff of requested size against buffer_size, not get_buffer_size(), since this may return -1, which won't be equal to size, and will cause malloc to be called1998-12-01 Jesper Skov <jskov@cygnus.co.uk> * tests/stdlib/getenv.c (main): Don't declare variables when they are not used.Thu Nov 26 17:59:12 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/string/strncpy1.c: Fix off-by-one error since it called my_strcmp() and not my_strncmp(), which meant in included the trailing NULL when it shouldn't have.1998-11-26 Jesper Skov <jskov@cygnus.co.uk> * src/stdlib/qsort.cxx (_qsort): * src/stdlib/rand.cxx (_srand): Changed CYG_REPORT_FUNCNAMETYPE to CYG_REPORT_FUNCNAME in void functions.Mon Oct 26 18:49:00 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/support/cstartup.cxx (cyg_libc_dummy_main): Silence compiler warning with cast of char * to CYG_ADDRWORDWed Oct 28 17:31:21 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/time/clock.cxx (_clock): Reorder scaling expression as it was both incorrect and risked overflow. Fix for PR 18076Mon Oct 19 14:40:06 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/stdio.h (EOF): Change from -64 to (-1), to allow broken code to work :-/ Also change other negative defines to be within parentheses1998-10-19 Mark Galassi <rosalia@cygnus.com> * include/pkgconf/libc.h: updated the doc URLThu Oct 15 21:33:44 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/clibincl/clibdata.hxx: Only include kernel thread headers when we're in thread-safe mode * src/time/clock.cxx: Only include kernel clock headers if there's a kernel with the right functionality available * tests/time/clock.c: Remove unnecessary inclusion of <pkgconf/kernel.h> Above changes are required for PR 17229Wed Oct 14 16:38:55 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/clibincl/clibdata.hxx, src/clibincl/clibdata.inl: Conditionalise inclusion of clibincl/stdiosupp.hxx and clibincl/stream.hxx. Tidying up PR 17502Wed Oct 14 14:08:56 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/pkgconf/libc.h: Rename CYGPKG_LIBC_STRING_OPTIMISATIONS to CYGPKG_LIBC_STRING_OPTIMIZATIONS to make it truely merkin.Tue Oct 13 19:34:41 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * include/pkgconf/libc.h (CYGDAT_LIBC_ARGUMENTS): Add a default argv[0] of "" as many programs assume argc>0 The standard allows argv[0] to be "" if the program name is not available1998-09-26 Bart Veer <bartv@cygnus.co.uk> * src/clibincl/stdiosupp.hxx: PR 17502: this header file now does nothing if the stdio option is disabled completely. This is the same behaviour is clibincl/stream.hxx, although arguably the #ifdef protection should happen wherever the header file is #include'd rather than in the header file itself. * src/clibincl/clibdata.hxx: PR 17502: this header file still #include's internal stdio-related header files and references the FILE structure, even if stdio is disabled. There were some #ifdef's for CYGPKG_LIBC_STDIO already. One more has been added for _fopen() and _fclose().1998-09-25 Bart Veer <bartv@cygnus.co.uk> * src/clibincl/streambuf.inl (Cyg_StdioStreamBuffer): PR 17487: Reorder the calls to initialize member fields, to eliminate a compiler warning.Fri Sep 25 19:04:29 1998 Jonathan Larmour <jlarmour@peshwari.cygnus.co.uk> * src/errno/errno.cxx, src/stdlib/bsearch.cxx, src/stdlib/qsort.cxx, src/stdlib/rand.cxx, src/string/strtok.cxx, src/time/clock.cxx: Only define tracing variable and tracing level macro when the relevant tracing level config options are set. Otherwise keep the tracing level fixed at 0 Fix for PR 17476 * include/pkgconf/libc.h: Define trace levels only if parent CYGPKG_LIBC_TRACE is defined for consistency with Configuration Tool Fri Sep 25 17:24:45 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/stdio/common/stdioinlines.cxx: Make definition of vscanf() dependent on CYGFUN_LIBC_STDIO_ungetc otherwise _vfscanf() won't be compiled. This therefore would cause a link fail iff selective linking is not enabled. Fix for PR 17455Fri Sep 25 17:23:17 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/stdlib/rand.cxx: Make compilation dependent on CYGPKG_LIBC_RAND Fix for PR 17473 * tests/stdlib/srand.c: Make definition of dummy test pass conditional on CYGPKG_LIBC_RAND not being defined, as well as CYGPKG_LIBC Caused compilation failure when testing PR 17473 fixMon Sep 21 17:11:04 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/stdio/sscanf.c: Make sscanf test conditional on CYGFUN_LIBC_STDIO_ungetc since _vfscanf() only gets compiled if this is defined Fix for PR 173461998-09-20 Mark Galassi <rosalia@cygnus.com> * include/pkgconf/libc.h: updated CDL doc strings.Fri Sep 18 22:18:47 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/clibincl/clibdata.inl (get_errno_p): Rather than this function only being available in thread-safe mode, instead make what it returns be either the per-thread errno, or global errno depending on the configuration. Include <errno.h> (conditionally) to support this changeWed 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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -