summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * misc/bits/syslog.h: New file.Ulrich Drepper2005-07-306-20/+55
| | | | | | | | | | | | | * misc/sys/syslog.h: Include <bits/syslog.h> for fortification. * misc/Makefile (headers): Add bits/syslog.h. * include/sys/syslog.h: Add __vsyslog_chk prototype and hidden_proto. * sysdeps/generic/syslog.c: Change vsyslog function to __vsyslog_chk. Call __vfprintf_chk if necessary. Make vsyslog a wrapper. Add __syslog_chk. * misc/Versions: Export __syslog_chk and __vsyslog_chk. * nis/nis_xdr.c: Help gcc to avoid generating unnecessary wrapper functions.
* Fortification definitions for syslog functions.Ulrich Drepper2005-07-301-0/+39
|
* * misc/error.c [_LIBC]: Include <stdbool.h> and <stdint.h>. cvs/fedora-glibc-20050729T1531Roland McGrath2005-07-281-0/+4
|
* 2005-07-28 Thomas Schwinge <schwinge@nic-nac-project.de>Roland McGrath2005-07-281-0/+2
| | | | * misc/error.c [_LIBC]: Include <stdbool.h> and <stdint.h>.
* * nis/nis_xdr.c: Help gcc to generate unnecessary wrapper functions.Ulrich Drepper2005-07-282-2/+6
|
* * stdio-common/fxprintf.c (__fxprintf): Add INTUSE to _IO_vfprintfUlrich Drepper2005-07-283-2/+8
| | | | | call. * gmon/gmon.c (write_gmon): Use __snprintf rather than snprintf.
* * nis/nis_file.c: Rewrite the two pairs of functions into wrappersUlrich Drepper2005-07-282-58/+40
| | | | around a pair of new, generalized functions. 22% size reduction.
* * nis/nis_xdr.c: Remove unnecessary cast which might hide bugs.Ulrich Drepper2005-07-282-245/+264
| | | | Rearrange code. This reduces the code size 10%.
* * locales/hu_HU: Better collation.Ulrich Drepper2005-07-261-0/+5
| | | | Patch by Gyuro Lehel <lehel@freemail.hu>.
* Better collation.Ulrich Drepper2005-07-261-8/+41
|
* * misc/error.c (error_tail): Fix a comment typo.Roland McGrath2005-07-261-0/+4
|
* 2005-07-26 Jakub Jelinek <jakub@redhat.com>Roland McGrath2005-07-261-1/+1
| | | | * misc/error.c (error_tail): Fix a comment typo.
* * po/zh_TW.po: Update from translation team.Ulrich Drepper2005-07-262-4099/+4619
|
* * debug/mbstowcs_chk.c: New file.Ulrich Drepper2005-07-257-4/+126
| | | | | | | | | | | * debug/wcstombs_chk.c: New file. * debug/Makefile (routines): Add mbstowcs_chk and wcstombs_chk. * debug/Versions: Add __mbstowcs_chk and __wcstombs_chk. * stdlib/bits/stdlib.h: Add definitions for mbstowcs and wcstombs. * wcsmbs/bits/wchar2.h (mbsrtowcs): Pretty printing. * string/test-memset.c (test_main): Use negative byte value in
* * string/test-memset.c (test_main): Use negative byte value is cvs/fedora-glibc-20050725T0627Ulrich Drepper2005-07-252-2/+4
| | | | test.
* Add a few casts to avoid warnings.Ulrich Drepper2005-07-241-1/+1
|
* * string/test-memset.c (do_one_test): Compare effect of call, notUlrich Drepper2005-07-241-0/+7
| | | | | | only return value. Add a few cassts to avoid warnings.
* (do_one_test): Compare effect of call, not only return value.Ulrich Drepper2005-07-241-7/+9
| | | | Add a few cassts to avoid warnings.
* * sysdeps/sh/memset.S (memset): Correct 2nd argument handling.Roland McGrath2005-07-242-0/+5
|
* typoRoland McGrath2005-07-241-1/+1
| | | | 2005-07-24 Ulrich Drepper <drepper@redhat.com>
* [BZ #1125]Roland McGrath2005-07-241-0/+1
| | | | | bz tag [BZ #1125]
* [BZ #1125]Ulrich Drepper2005-07-244-7/+51
| | | | | | | | | | | | | * posix/Makefile (tests): Add tst-execvp4. * posix/tst-execvp4.c: New file. 2005-07-24 Jakub Jelinek <jakub@redhat.com> [BZ #1125] * posix/execvp.c (execvp): Change path_malloc to char *, free that pointer on failure. -2005-07-24 Ulrich Drepper <drepper@redhat.com>
* * wcsmbs/Makefile: Add rules to build and run tst-wchar-h.Ulrich Drepper2005-07-243-1/+13
| | | | * wcsmbs/tst-wchar-h.c: New file.
* * wcsmbs/bits/wchar2.h: Use __FILE not FILE.Ulrich Drepper2005-07-242-9/+13
| | | | * stdio-common/fxprintf.c (__fxprintf): Define variable more local.
* * stdio-common/fxprintf.c (__fxprintf): Declare functions more local.Ulrich Drepper2005-07-222-2/+11
| | | | | | | 2005-07-22 Jakub Jelinek <jakub@redhat.com> * wcsmbs/bits/wchar2.h (__vfwprintf_chk, __vwprintf_chk): Use __gnuc_va_list rather than _G_va_list.
* (__vfwprintf_chk, __vwprintf_chk): Use __gnuc_va_list rather than _G_va_list.Ulrich Drepper2005-07-221-2/+2
|
* [BZ #869]Roland McGrath2005-07-222-1/+6
| | | | | | 2005-07-22 Roland McGrath <roland@redhat.com> [BZ #869] * Makerules ($(objpfx)stubs): Fix last change.
* * nscd/Makefile ($(objpfx)nscd): Pass $(nscd-cflags) to $(LINK.o).Roland McGrath2005-07-222-1/+3
|
* * stdlib/Makefile (headers): Move bits/wchar.h to ... cvs/fedora-glibc-20050722T0433Roland McGrath2005-07-221-0/+5
| | | | * wcsmbs/Makefile (headers): ... here. Add bits/wchar2.h too.
* 2005-07-21 Roland McGrath <roland@redhat.com>Roland McGrath2005-07-222-3/+3
| | | | | * stdlib/Makefile (headers): Move bits/wchar.h to ... * wcsmbs/Makefile (headers): ... here. Add bits/wchar2.h too.
* * wcsmbs/bits/wchar2.h (swprintf): Remove format argument.Ulrich Drepper2005-07-215-5/+21
| | | | | | | | | | | * debug/tst-chk1.c (do_test): Add test for swprintf with format being the last argument. 2005-07-21 Thorsten Kukuk <kukuk@suse.de> * debug/getgroups_chk.c (__getgroups_chk): Fix return value. * stdio-common/fxprintf.c: Include string.h.
* * sysdeps/x86_64/fpu/libm-test-ulps: Adjust expected atan2f results. cvs/fedora-glibc-20050721T0814Ulrich Drepper2005-07-204-28/+25
| | | | | | | * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. * sysdeps/s390/fpu/libm-test-ulps: Likewise. Darin Petkov <darin@tensilica.com>
* 2005-07-20 Bob Wilson <bob.wilson@acm.org>Ulrich Drepper2005-07-202-1/+6
| | | | | | Darin Petkov <darin@tensilica.com> * sysdeps/ieee754/flt-32/e_atan2f.c (pi_lo): Correct exponent value.
* * include/stdio.h (__fxprintf): Remove wfmt argument.Ulrich Drepper2005-07-2031-97/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * stdio-common/fxprintf.c: Include assert.h, ctype.h and wchar.h. (__fxprintf): Remove wfmt argument, create wfmt format string on the fly from fmt. * argp/argp-fmtstream.c: Adjust all __fxprintf callers. * argp/argp-help.c: Likewise. * assert/assert-perr.c: Likewise. * assert/assert.c: Likewise. * gmon/gmon.c: Likewise. * inet/rcmd.c: Likewise. * malloc/obstack.c: Likewise. * misc/error.c: Likewise. * misc/getpass.c: Likewise. * posix/getopt.c: Likewise. * resolv/res_hconf.c: Likewise. * stdio-common/perror.c: Likewise. * stdio-common/psignal.c: Likewise. * stdlib/fmtmsg.c: Likewise. * sunrpc/auth_unix.c: Likewise. * sunrpc/clnt_perr.c: Likewise. * sunrpc/clnt_tcp.c: Likewise. * sunrpc/clnt_udp.c: Likewise. * sunrpc/clnt_unix.c: Likewise. * sunrpc/svc_simple.c: Likewise. * sunrpc/svc_tcp.c: Likewise. * sunrpc/svc_udp.c: Likewise. * sunrpc/svc_unix.c: Likewise. * sunrpc/xdr.c: Likewise. * sunrpc/xdr_array.c: Likewise. * sunrpc/xdr_rec.c: Likewise. * sunrpc/xdr_ref.c: Likewise. * sysdeps/generic/wordexp.c: Likewise.
* * wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs,Ulrich Drepper2005-07-2037-508/+581
| | | | | | | | | | | | | | | | wcsrtombs, mbsnrtowcs, and wcsnrtombs. * debug/Makefile (routines): Add wcrtomb_chk, mbsrtowcs_chk, wcsrtombs_chk, mbsnrtowcs_chk, and wcsnrtombs_chk. * debug/Versions: Add __wcrtomb_chk, __mbsrtowcs_chk, __wcsrtombs_chk, __mbsnrtowcs_chk, and __wcsnrtombs_chk. * debug/tst-chk1.c: Add tests for new functions. * debug/mbsnrtowcs_chk.c: New file. * debug/mbsrtowcs_chk.c: New file. * debug/wcrtomb_chk.c: New file. * debug/wcsnrtombs_chk.c: New file. * debug/wcsrtombs_chk.c: New file. * include/stdio.h: Add declaration for __fxprintf.
* * stdio-common/Makefile (aux): Add fxprintf.Ulrich Drepper2005-07-198-36/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * stdio-common/fxprintf.c: New file. * include/stdio.h: Add declaration for stdio.h. * argp/argp-fmtstream.c: Use __fxprintf instead of inline stream orientation test and two separate function calls. * argp/argp-help.c: Likewise. * assert/assert-perr.c: Likewise. * assert/assert.c: Likewise. * gmon/gmon.c: Likewise. * inet/rcmd.c: Likewise. * malloc/obstack.c: Likewise. * misc/error.c: Likewise. * misc/getpass.c: Likewise. * posix/getopt.c: Likewise. * resolv/res_hconf.c: Likewise. * stdio-common/perror.c: Likewise. * stdio-common/psignal.c: Likewise. * stdlib/fmtmsg.c: Likewise. * sunrpc/auth_unix.c: Likewise. * sunrpc/clnt_perr.c: Likewise. * sunrpc/clnt_tcp.c: Likewise. * sunrpc/clnt_udp.c: Likewise. * sunrpc/clnt_unix.c: Likewise. * sunrpc/svc_simple.c: Likewise. * sunrpc/svc_tcp.c: Likewise. * sunrpc/svc_udp.c: Likewise. * sunrpc/svc_unix.c: Likewise. * sunrpc/xdr.c: Likewise. * sunrpc/xdr_array.c: Likewise. * sunrpc/xdr_rec.c: Likewise. * sunrpc/xdr_ref.c: Likewise. * sysdeps/generic/wordexp.c: Likewise. * misc/Makefile: Add rules to build and run tst-error1. * misc/tst-error1.c: New file. * misc/error.c: Fix memory leak and possibly endless loop.
* * configure.in: Check for -fstack-protector gcc option.Ulrich Drepper2005-07-194-0/+27
| | | | | | | * config.make.in (have-ssp): Add template. * nscd/Makefile (nscd-cflags): Add -fstack-protector if supported. * nscd/nscd.c (main): Don't ignore result of chdir call.
* (main): Don't ignore result of chdir call.Ulrich Drepper2005-07-191-1/+3
|
* [BZ #869, BZ #1113]Roland McGrath2005-07-191-0/+7
| | | | | | | | | 2005-07-18 Roland McGrath <roland@redhat.com> [BZ #869] * Makerules ($(objpfx)stubs): Do cd into $(objdir) to reduce size of objdump command line. [BZ #1113]
* [BZ #869]Roland McGrath2005-07-191-1/+1
| | | | | | | 2005-07-18 Roland McGrath <roland@redhat.com> [BZ #869] * Makerules ($(objpfx)stubs): Do cd into $(objdir) to reduce size of objdump command line.
* * nscd/Makefile (nscd-cflags): Add _FORTIFY_SOURCE.Ulrich Drepper2005-07-183-6/+16
| | | | * nscd/connections.c: Fix a few wur warnings.
* * nscd/grpcache.c (cache_addgr): Use correct maximum for group IDUlrich Drepper2005-07-1812-2/+366
| | | | | | | | | | | | | | | | | | | length. Patch by Ivan Gyurdiev <ivg2@cornell.edu>. * debug/confstr_chk.c: New file. * debug/getdomainname_chk.c: New file. * debug/getgroups_chk.c: New file. * debug/gethostname_chk.c: New file. * debug/getlogin_r_chk.c: New file. * debug/ttyname_r_chk.c: New file. * posix/bits/unistd.h: Add definitions for new debug versions. * debug/tst-chk1.c: Add tests for new functions. * debug/Versions: Export new functions. * debug/Makefile (routines): Add new files. * stdlib/bits/stdlib.h: Fix typo. * manual/Makefile (libc/index.html): Depend on dir-add.texi.
* Fix typo.Ulrich Drepper2005-07-181-2/+2
|
* [BZ #1104, BZ #1105, BZ #1106, BZ #1107, BZ #1108, BZ #1109, BZ #1110, BZ #1111]Roland McGrath2005-07-183-0/+19
| | | | | | | | | | | | | | | | BZ tags [BZ #1106] [BZ #1106] [BZ #1111] [BZ #1109] [BZ #1106] [BZ #1104] [BZ #1106] [BZ #1105] [BZ #1110] [BZ #1110] [BZ #1107] [BZ #1108]
* [BZ #549, BZ #653, BZ #1079, BZ #1080, BZ #1081, BZ #1082, BZ #1083, BZ ↵Roland McGrath2005-07-181-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #1085, BZ #1086, BZ #1087, BZ #1088, BZ #1090, BZ #1093, BZ #1094, BZ #1095, BZ #1096, BZ #1097, BZ #1098, BZ #1099, BZ #1100, BZ #1101, BZ #1103] BZ tags [BZ #1079] [BZ #1080] [BZ #1101] [BZ #1097] [BZ #653] [BZ #1088] [BZ #1088] [BZ #1085] [BZ #1096] [BZ #1086] [BZ #1086] [BZ #1086] [BZ #1083] [BZ #1093] [BZ #1094] [BZ #1081] [BZ #1090] [BZ #1082] [BZ #1087] [BZ #1098] [BZ #549] [BZ #1101] [BZ #1095] [BZ #1100] [BZ #1103] [BZ #1100] [BZ #1099]
* * manual/Makefile (libc/index.html): Depend on dir-add.texi.Roland McGrath2005-07-181-1/+1
|
* 2005-07-13 Thorsten Kukuk <kukuk@suse.de>Roland McGrath2005-07-181-0/+4
| | | | * manual/Makefile (libc/index.html): Add dir-add.texi.
* 2005-07-13 Thorsten Kukuk <kukuk@suse.de>Roland McGrath2005-07-181-1/+1
| | | | * manual/Makefile (libc/index.html): Add dir-add.texi.
* * stdlib/bits/stdlib.h: Use __REDIRECT_NTH instead of __REDIRECTUlrich Drepper2005-07-162-9/+10
| | | | * wcsmbs/bits/wchar2.h: Likewise.
* * wcsmbs/bits/wchar2.h: Use __REDIRECT_NTH instead of __REDIRECTUlrich Drepper2005-07-152-40/+44
| | | | where necessary.