aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-07-30* misc/bits/syslog.h: New file.Ulrich Drepper6-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.
2005-07-30Fortification definitions for syslog functions.Ulrich Drepper1-0/+39
2005-07-28* misc/error.c [_LIBC]: Include <stdbool.h> and <stdint.h>.cvs/fedora-glibc-20050729T1531Roland McGrath1-0/+4
2005-07-282005-07-28 Thomas Schwinge <schwinge@nic-nac-project.de>Roland McGrath1-0/+2
* misc/error.c [_LIBC]: Include <stdbool.h> and <stdint.h>.
2005-07-28* nis/nis_xdr.c: Help gcc to generate unnecessary wrapper functions.Ulrich Drepper2-2/+6
2005-07-28* stdio-common/fxprintf.c (__fxprintf): Add INTUSE to _IO_vfprintfUlrich Drepper3-2/+8
call. * gmon/gmon.c (write_gmon): Use __snprintf rather than snprintf.
2005-07-28* nis/nis_file.c: Rewrite the two pairs of functions into wrappersUlrich Drepper2-58/+40
around a pair of new, generalized functions. 22% size reduction.
2005-07-28* nis/nis_xdr.c: Remove unnecessary cast which might hide bugs.Ulrich Drepper2-245/+264
Rearrange code. This reduces the code size 10%.
2005-07-26* locales/hu_HU: Better collation.Ulrich Drepper1-0/+5
Patch by Gyuro Lehel <lehel@freemail.hu>.
2005-07-26Better collation.Ulrich Drepper1-8/+41
2005-07-26* misc/error.c (error_tail): Fix a comment typo.Roland McGrath1-0/+4
2005-07-262005-07-26 Jakub Jelinek <jakub@redhat.com>Roland McGrath1-1/+1
* misc/error.c (error_tail): Fix a comment typo.
2005-07-26* po/zh_TW.po: Update from translation team.Ulrich Drepper2-4099/+4619
2005-07-25* debug/mbstowcs_chk.c: New file.Ulrich Drepper7-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
2005-07-25* string/test-memset.c (test_main): Use negative byte value iscvs/fedora-glibc-20050725T0627Ulrich Drepper2-2/+4
test.
2005-07-24Add a few casts to avoid warnings.Ulrich Drepper1-1/+1
2005-07-24* string/test-memset.c (do_one_test): Compare effect of call, notUlrich Drepper1-0/+7
only return value. Add a few cassts to avoid warnings.
2005-07-24(do_one_test): Compare effect of call, not only return value.Ulrich Drepper1-7/+9
Add a few cassts to avoid warnings.
2005-07-24* sysdeps/sh/memset.S (memset): Correct 2nd argument handling.Roland McGrath2-0/+5
2005-07-24typoRoland McGrath1-1/+1
2005-07-24 Ulrich Drepper <drepper@redhat.com>
2005-07-24[BZ #1125]Roland McGrath1-0/+1
bz tag [BZ #1125]
2005-07-24[BZ #1125]Ulrich Drepper4-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>
2005-07-24* wcsmbs/Makefile: Add rules to build and run tst-wchar-h.Ulrich Drepper3-1/+13
* wcsmbs/tst-wchar-h.c: New file.
2005-07-24* wcsmbs/bits/wchar2.h: Use __FILE not FILE.Ulrich Drepper2-9/+13
* stdio-common/fxprintf.c (__fxprintf): Define variable more local.
2005-07-22* stdio-common/fxprintf.c (__fxprintf): Declare functions more local.Ulrich Drepper2-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.
2005-07-22(__vfwprintf_chk, __vwprintf_chk): Use __gnuc_va_list rather than _G_va_list.Ulrich Drepper1-2/+2
2005-07-22[BZ #869]Roland McGrath2-1/+6
2005-07-22 Roland McGrath <roland@redhat.com> [BZ #869] * Makerules ($(objpfx)stubs): Fix last change.
2005-07-22* nscd/Makefile ($(objpfx)nscd): Pass $(nscd-cflags) to $(LINK.o).Roland McGrath2-1/+3
2005-07-22* stdlib/Makefile (headers): Move bits/wchar.h to ...cvs/fedora-glibc-20050722T0433Roland McGrath1-0/+5
* wcsmbs/Makefile (headers): ... here. Add bits/wchar2.h too.
2005-07-222005-07-21 Roland McGrath <roland@redhat.com>Roland McGrath2-3/+3
* stdlib/Makefile (headers): Move bits/wchar.h to ... * wcsmbs/Makefile (headers): ... here. Add bits/wchar2.h too.
2005-07-21* wcsmbs/bits/wchar2.h (swprintf): Remove format argument.Ulrich Drepper5-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.
2005-07-20* sysdeps/x86_64/fpu/libm-test-ulps: Adjust expected atan2f results.cvs/fedora-glibc-20050721T0814Ulrich Drepper4-28/+25
* sysdeps/powerpc/fpu/libm-test-ulps: Likewise. * sysdeps/s390/fpu/libm-test-ulps: Likewise. Darin Petkov <darin@tensilica.com>
2005-07-202005-07-20 Bob Wilson <bob.wilson@acm.org>Ulrich Drepper2-1/+6
Darin Petkov <darin@tensilica.com> * sysdeps/ieee754/flt-32/e_atan2f.c (pi_lo): Correct exponent value.
2005-07-20* include/stdio.h (__fxprintf): Remove wfmt argument.Ulrich Drepper31-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.
2005-07-20* wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs,Ulrich Drepper37-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.
2005-07-19* stdio-common/Makefile (aux): Add fxprintf.Ulrich Drepper8-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.
2005-07-19* configure.in: Check for -fstack-protector gcc option.Ulrich Drepper4-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.
2005-07-19(main): Don't ignore result of chdir call.Ulrich Drepper1-1/+3
2005-07-19[BZ #869, BZ #1113]Roland McGrath1-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]
2005-07-19[BZ #869]Roland McGrath1-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.
2005-07-18* nscd/Makefile (nscd-cflags): Add _FORTIFY_SOURCE.Ulrich Drepper3-6/+16
* nscd/connections.c: Fix a few wur warnings.
2005-07-18* nscd/grpcache.c (cache_addgr): Use correct maximum for group IDUlrich Drepper12-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.
2005-07-18Fix typo.Ulrich Drepper1-2/+2
2005-07-18[BZ #1104, BZ #1105, BZ #1106, BZ #1107, BZ #1108, BZ #1109, BZ #1110, BZ #1111]Roland McGrath3-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]
2005-07-18[BZ #549, BZ #653, BZ #1079, BZ #1080, BZ #1081, BZ #1082, BZ #1083, BZ ↵Roland McGrath1-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]
2005-07-18 * manual/Makefile (libc/index.html): Depend on dir-add.texi.Roland McGrath1-1/+1
2005-07-182005-07-13 Thorsten Kukuk <kukuk@suse.de>Roland McGrath1-0/+4
* manual/Makefile (libc/index.html): Add dir-add.texi.
2005-07-182005-07-13 Thorsten Kukuk <kukuk@suse.de>Roland McGrath1-1/+1
* manual/Makefile (libc/index.html): Add dir-add.texi.
2005-07-16* stdlib/bits/stdlib.h: Use __REDIRECT_NTH instead of __REDIRECTUlrich Drepper2-9/+10
* wcsmbs/bits/wchar2.h: Likewise.
2005-07-15* wcsmbs/bits/wchar2.h: Use __REDIRECT_NTH instead of __REDIRECTUlrich Drepper2-40/+44
where necessary.