aboutsummaryrefslogtreecommitdiff
path: root/stdlib
AgeCommit message (Collapse)AuthorFilesLines
2011-12-21Fix division by denominator with more than two limbs in strtoldAndreas Schwab1-0/+2
2011-11-11makecontext doens't need __THROWNLUlrich Drepper1-1/+1
2011-11-11Mark setjmp and ucontext functions as non-leafAndreas Schwab1-5/+5
2011-10-07S/390: Fix longlong.h inline asms for zarchAndreas Krebbel1-22/+23
2011-09-10Cleanup of configuration optionsUlrich Drepper2-8/+4
Make several tool features mandatory and simplify the code.
2011-07-08Add test case strtod underflowAndreas Jaeger1-1/+2
2011-07-06Change error code for underflows in strtodUlrich Drepper1-2/+2
2011-06-07S/390 longlong.h: Fix smul_ppmm with -m31 -mzarchAndreas Krebbel1-1/+1
2011-05-23Update longlong.h from GCCAndreas Schwab1-5/+150
2011-05-16Handle long variable names in putenvUlrich Drepper1-4/+21
2011-05-15Use mmap for allocation of buffers used for __abort_msgUlrich Drepper1-2/+3
2011-04-22Remove doubled words.Jim Meyering1-2/+2
2011-04-17Fix FPU context handling in getcontext on x86-64.Ulrich Drepper2-2/+57
fnstenv on x86-64 seems to clear the state. Work around.
2011-04-01Fix typos in comments.Ulrich Drepper1-2/+2
2010-12-09Fix race in qsort_r initialization.Ulrich Drepper1-1/+5
2010-09-01Fix array overflow in floating point parserAndreas Schwab1-1/+3
2010-08-07x86: Add support for frame pointer less mcountAndi Kleen1-0/+3
2010-04-13Fix use of ucontext_t objects in tst-makecontext3Andreas Schwab1-29/+33
Objects of type ucontext_t cannot be copied, only getcontext can properly initialize them. For example, on powerpc the structure contains a pointer into itself, so makecontext modifies the original object by side effect.
2010-02-02Avoid alloca in setenv for long strings.Ulrich Drepper1-30/+64
2010-01-14elax some conditions in stdlib.h.Ulrich Drepper1-4/+4
2010-01-13Add nonnull attribute to unsetenv declaration.Ulrich Drepper1-1/+1
2010-01-13Be a bit more relaxed about obsoleted mktemp symbol.Ulrich Drepper1-2/+2
2010-01-11Fix handling symbols removed in XPG7.Ulrich Drepper1-6/+6
2010-01-09Add support for XPG7 testing.Ulrich Drepper4-39/+45
The header conformance testing code needed extending for XPG7. This exposed a few bugs in the headers. There are more changes to come.
2009-12-24Remove tst-sigcontext test.Ulrich Drepper2-313/+1
It's bogus in many places.
2009-12-24Additional setcontext(), etc. conformance tests.Maciej W. Rozycki4-2/+532
2009-11-24Fix comments in random_r.c.Ulrich Drepper1-2/+2
2009-10-30Avoid two warnings in strtol{,l} tests.Ulrich Drepper2-2/+2
2009-10-30Implement mkostemps and mkostemps64.Ulrich Drepper1-0/+23
2009-10-30Implement mkstemps and mkstemps64.Ulrich Drepper1-2/+25
2009-10-08Remove duplicate __set_errno call in random_r.c.Ulrich Drepper1-4/+2
2009-10-08Typo fix.Ulrich Drepper1-2/+2
2009-08-28More strto{,u}l{,l} tests.Ulrich Drepper2-0/+663
2009-08-10SH: fix clobber list in stdlib/longlong.hSUGIOKA Toshinobu1-3/+4
2009-06-15Preserve message printed before abort.Ulrich Drepper2-1/+7
The terminal output etc is not visible in a core file. The new libc-internal variable __abort_msg will point to a string with the message which has been printed before the abort in case abort is called from inside libc. BZ #10217
2009-05-16Non-code changes to stdlib.h.Ulrich Drepper1-13/+13
2009-05-16Unify __WAIT_INT definition in stdlib.h and sys/wait.h.Ulrich Drepper1-3/+3
This fixes BZ #10159. The stdlib.h definition was out of date.
2009-05-16remove subsumed .gitignore entries and filesJim Meyering1-8/+0
2009-05-16remove mpn-copy.mk from .gitignore filesJim Meyering1-1/+1
2009-05-16remove COPYING* from .gitignore filesJim Meyering1-1/+1
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering1-0/+0
2009-04-26* sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):Ulrich Drepper1-8/+5
Avoid warning by using may_alias attribute on ptrhack.
2009-04-25* stdlib/strtod_l.c (round_and_return): We have to set errno toUlrich Drepper2-4/+5
ERANGE for underflows. * stdlib/tst-strtod.c (tests): Two tests should set errno to ERANGE.
2009-04-24[BZ #9920]cvs/fedora-glibc-20090424T0747Ulrich Drepper1-2/+2
* stdlib/random_r.c (__srandom_r): Change type of word to int32_t to get consistency between 32 and 64 bit architectures.
2009-04-18* stdlib/strfmon_l.c (__vstrfmon_l): Don't wrap when computing width.Ulrich Drepper1-9/+16
Numerically stable check for valid width.
2009-03-10* stdlib/quick_exit.c (quick_exit): Pass &__quick_exit_funcsUlrich Drepper5-6/+6
instead of __quick_exit_funcs to __run_exit_handlers. * stdlib/at_quick_exit.c (at_quick_exit): Add attribute_hidden. * stdlib/exit.h (__run_exit_handlers): Add noreturn attribute. (__cxa_at_quick_exit): Remove attribute_hidden. * stdlib/exit.c (exit): Pass &__exit_funcs instead of __exit_funcs to __run_exit_handlers. * stdlib/cxa_at_quick_exit.c (__cxa_at_quick_exit): Remove attribute_hidden.
2009-03-08* stdlib/Makefile (routines): Add quick_exit, at_quick_exit, andUlrich Drepper11-29/+208
cxa_at_quick_exit. (static-only-routines): Add at_quick_exit. * stdlib/Versions: Export quick_exit and __cxa_at_quick_exit for GLIBC_2.10. * stdlib/quick_exit.c: New file. * stdlib/at_quick_exit.c: New file. * stdlib/cxa_at_quick_exit.c: New file. * stdlib/cxa_atexit.c (__cxa_atexit): Move body to new function. Call it appropriately. (__internal_atexit): New function. (__new_exitfn): Now takes parameter to point to the list to use. * stdlib/cxa_finalize.c: Remove quick_exit handlers, don't call them. * stdlib/exit.c (__run_exit_handlers): New function. Split from... (exit): ...here. Just call __run_exit_handlers appropriately. * stdlib/exit.h: Declare __quick_exit_funcs, __run_exit_handlers, __internal_atexit, __cxa_at_quick_exit. Adjust __new_exitfn. * stdlib/on_exit.c: Adjust call to __new_exitfn. * stdlib/stdlib.h: Declare at_quick_exit and quick_exit.
2009-02-26* wctype/wctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper1-2/+2
* wcsmbs/wchar.h: mbsnrtowcs, open_wmemstream, wcpcpy, wcpncpy, wcscasecmp, wcsdup, wcsncasecmp, wcsnlen, wcsnrtombs, wcscasecmp_l, wcsncasecmp_l, wcscoll_l, and wcsxfrm_l. * sysdeps/mach/hurd/bits/posix_opt.h: Reset value of macros from 200112L to 200809L. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. * posix/getconf.c (vars): Add _SC_THREAD_ROBUST_PRIO_INHERIT and _SC_THREAD_ROBUST_PRIO_PROTECT entries. * bits/confname.h: Add _SC_THREAD_ROBUST_PRIO_INHERIT and _SC_THREAD_ROBUST_PRIO_PROTECT. * posix/unistd.h: fexecve is in POSIX 2008. * time/time.h: strftime_l is in POSIX 2008. * io/sys/stat.h: futimens is in POSIX 2008. * string/strings.h: strcasecmp_l and strncasecmp_l are in POSIX 2008. * string/string.h: stpcpy, stpncpy, strndup, strnlen, strsignal, strcoll_l, strerror_l, and strxfrm_l are in POSIX 2008. * stdlib/stdlib.h: mkdtemp is in POSIX 2008.
2009-02-26* ctype/ctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper1-1/+1
* dirent/dirent.h: alphasort, dirfd, scandir, and fdopendir are in POSIX 2008. /proc/sys/kernel/rtsig_max doesn't exist anymore, use getrlimit
2009-02-16* stdlib/monetary.h: Uglify function parameter names. cvs/fedora-glibc-20090218T1534Jakub Jelinek1-2/+2
* sunrpc/rpc/pmap_clnt.h: Likewise. * sunrpc/rpc/svc.h: Likewise. * sunrpc/rpc/xdr.h: Likewise. * sunrpc/rpc/clnt.h: Likewise. * resolv/netdb.h: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/resolv.h: Likewise. * argp/argp.h: Likewise. * locale/langinfo.h: Likewise. * io/sys/stat.h: Likewise. * posix/spawn.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * malloc/obstack.h: Likewise. * sysdeps/ia64/bits/link.h: Likewise. * sysdeps/i386/bits/link.h: Likewise. * sysdeps/s390/bits/link.h: Likewise. * sysdeps/powerpc/bits/link.h: Likewise. * sysdeps/x86_64/bits/link.h: Likewise. * sysdeps/sparc/bits/link.h: Likewise. * sysdeps/sh/bits/link.h: Likewise. * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise. 2009-02-16 Jakub Jelinek <jakub@redhat.com> * stdlib/monetary.h: Uglify function parameter names. * sunrpc/rpc/pmap_clnt.h: Likewise. * sunrpc/rpc/svc.h: Likewise. * sunrpc/rpc/xdr.h: Likewise. * sunrpc/rpc/clnt.h: Likewise. * resolv/netdb.h: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/resolv.h: Likewise. * argp/argp.h: Likewise. * locale/langinfo.h: Likewise. * io/sys/stat.h: Likewise. * posix/spawn.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * malloc/obstack.h: Likewise. * sysdeps/ia64/bits/link.h: Likewise. * sysdeps/i386/bits/link.h: Likewise. * sysdeps/s390/bits/link.h: Likewise. * sysdeps/powerpc/bits/link.h: Likewise. * sysdeps/x86_64/bits/link.h: Likewise. * sysdeps/sparc/bits/link.h: Likewise. * sysdeps/sh/bits/link.h: Likewise. * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.