📄 changelog.libc
字号:
cause a link fail iff selective linking is not enabled.
Fix for PR 17455
Fri 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 fix
Mon 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 17346
1998-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 change
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 before
Tue 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 removed
1998-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 functionsa
Fri 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.h
Fri 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 17144
Fri 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 test
Fri 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 columns
Fri 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 16954
Thu 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 not
Wed 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 columns
Wed Sep 2 15:41:15 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
* src/stdio/input/vfscanf.cxx:
Reformat to 76 columns
Wed 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 columns
Wed 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 header
Tue 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 header
Tue 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 columns
Tue 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 test
Mon 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 names
Fri 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.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -