Age | Commit message (Collapse) | Author |
|
* 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.
|
|
|
|
|
|
* misc/error.c [_LIBC]: Include <stdbool.h> and <stdint.h>.
|
|
|
|
call.
* gmon/gmon.c (write_gmon): Use __snprintf rather than snprintf.
|
|
around a pair of new, generalized functions. 22% size reduction.
|
|
Rearrange code. This reduces the code size 10%.
|
|
Patch by Gyuro Lehel <lehel@freemail.hu>.
|
|
|
|
|
|
* misc/error.c (error_tail): Fix a comment typo.
|
|
|
|
* 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
|
|
test.
|
|
|
|
only return value.
Add a few cassts to avoid warnings.
|
|
Add a few cassts to avoid warnings.
|
|
|
|
2005-07-24 Ulrich Drepper <drepper@redhat.com>
|
|
bz tag
[BZ #1125]
|
|
* 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/tst-wchar-h.c: New file.
|
|
* stdio-common/fxprintf.c (__fxprintf): Define variable more local.
|
|
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 Roland McGrath <roland@redhat.com>
[BZ #869]
* Makerules ($(objpfx)stubs): Fix last change.
|
|
|
|
* wcsmbs/Makefile (headers): ... here. Add bits/wchar2.h too.
|
|
* stdlib/Makefile (headers): Move bits/wchar.h to ...
* wcsmbs/Makefile (headers): ... here. Add bits/wchar2.h too.
|
|
* 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/powerpc/fpu/libm-test-ulps: Likewise.
* sysdeps/s390/fpu/libm-test-ulps: Likewise.
Darin Petkov <darin@tensilica.com>
|
|
Darin Petkov <darin@tensilica.com>
* sysdeps/ieee754/flt-32/e_atan2f.c (pi_lo): Correct exponent value.
|
|
* 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.
|
|
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/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.
|
|
* 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-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-18 Roland McGrath <roland@redhat.com>
[BZ #869]
* Makerules ($(objpfx)stubs): Do cd into $(objdir) to reduce size of
objdump command line.
|
|
* nscd/connections.c: Fix a few wur warnings.
|
|
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.
|
|
|
|
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]
|
|
#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): Add dir-add.texi.
|
|
* manual/Makefile (libc/index.html): Add dir-add.texi.
|
|
* wcsmbs/bits/wchar2.h: Likewise.
|
|
where necessary.
|