Commit Graph

13864 Commits

Author SHA1 Message Date
Ulrich Drepper 4978fb0cdb * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Restart system
call if it returned EINTR.
2005-08-01 19:27:50 +00:00
Ulrich Drepper 943525d000 helper variable into .data.rel.ro. Simplify the code. Extend
comment to explain prelinking.
2005-07-31 17:50:49 +00:00
Ulrich Drepper 960095134b helper variable into .data.rel.ro. Remove unnecessary label. 2005-07-31 16:44:38 +00:00
Ulrich Drepper 541858d04a * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Move
helper variable into .data.rel.ro.
2005-07-31 16:31:24 +00:00
Ulrich Drepper 21c03dbf6a (elf_machine_load_address): Move helper variable into .data.rel.ro. 2005-07-31 16:28:55 +00:00
Andreas Jaeger 52387e1db0 Update.
2005-07-31  Andreas Jaeger  <aj@suse.de>

	* include/bits/syslog.h: New file.
2005-07-31 15:56:45 +00:00
Andreas Jaeger 46b77fcf13 New file needed since we have misc/bits/syslog.h. 2005-07-31 15:56:33 +00:00
Ulrich Drepper 23e2554f5b * elf/dl-load.c [__WORDSIZE==64] (FILEBUF_SIZE): Adjust the value
up.  We have more program header entries now and the note section
	was normally not loaded.
2005-07-30 21:15:22 +00:00
Ulrich Drepper 1ce359b0fc * nis/nis_subr.c: Some minor code cleanups. 2005-07-30 19:37:11 +00:00
Ulrich Drepper 29c21e4900 * misc/bits/syslog.h: New file.
* 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-30 06:00:43 +00:00
Ulrich Drepper 155c581323 Fortification definitions for syslog functions. 2005-07-30 05:56:45 +00:00
Roland McGrath 4bc68378f3 * misc/error.c [_LIBC]: Include <stdbool.h> and <stdint.h>. 2005-07-28 21:42:42 +00:00
Roland McGrath ce14a81458 2005-07-28 Thomas Schwinge <schwinge@nic-nac-project.de>
* misc/error.c [_LIBC]: Include <stdbool.h> and <stdint.h>.
2005-07-28 21:42:37 +00:00
Ulrich Drepper 1cd4f3c78b * nis/nis_xdr.c: Help gcc to generate unnecessary wrapper functions. 2005-07-28 16:30:20 +00:00
Ulrich Drepper 4c5b09ed6b * stdio-common/fxprintf.c (__fxprintf): Add INTUSE to _IO_vfprintf
call.
	* gmon/gmon.c (write_gmon): Use __snprintf rather than snprintf.
2005-07-28 14:51:03 +00:00
Ulrich Drepper eca086a613 * nis/nis_file.c: Rewrite the two pairs of functions into wrappers
around a pair of new, generalized functions.  22% size reduction.
2005-07-28 07:10:28 +00:00
Ulrich Drepper c3c45d9cde * nis/nis_xdr.c: Remove unnecessary cast which might hide bugs.
Rearrange code.  This reduces the code size 10%.
2005-07-28 06:27:35 +00:00
Ulrich Drepper 4f9d87ec29 * locales/hu_HU: Better collation.
Patch by Gyuro Lehel <lehel@freemail.hu>.
2005-07-26 16:10:19 +00:00
Ulrich Drepper 6fa565cbe2 Better collation. 2005-07-26 16:08:46 +00:00
Roland McGrath 73adcf6c8f * misc/error.c (error_tail): Fix a comment typo. 2005-07-26 08:42:58 +00:00
Roland McGrath a7ed1b0c15 2005-07-26 Jakub Jelinek <jakub@redhat.com>
* misc/error.c (error_tail): Fix a comment typo.
2005-07-26 08:42:53 +00:00
Ulrich Drepper f708467a3e * po/zh_TW.po: Update from translation team. 2005-07-26 04:04:13 +00:00
Ulrich Drepper 02ca3541ce * debug/mbstowcs_chk.c: New file.
* 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 21:41:45 +00:00
Ulrich Drepper 09987e425c * string/test-memset.c (test_main): Use negative byte value is
test.
2005-07-25 01:40:59 +00:00
Ulrich Drepper 03c4ded352 Add a few casts to avoid warnings. 2005-07-24 23:09:17 +00:00
Ulrich Drepper 000a4dfe5f * string/test-memset.c (do_one_test): Compare effect of call, not
only return value.

	Add a few cassts to avoid warnings.
2005-07-24 23:08:03 +00:00
Ulrich Drepper c158fc76d9 (do_one_test): Compare effect of call, not only return value.
Add a few cassts to avoid warnings.
2005-07-24 23:06:44 +00:00
Roland McGrath 95029045a3 * sysdeps/sh/memset.S (memset): Correct 2nd argument handling. 2005-07-24 22:54:37 +00:00
Roland McGrath 9bb50816d4 typo
2005-07-24  Ulrich Drepper  <drepper@redhat.com>
2005-07-24 21:47:52 +00:00
Roland McGrath 0e5cb15739 [BZ #1125]
bz tag
	[BZ #1125]
2005-07-24 21:44:32 +00:00
Ulrich Drepper 0fee522db1 [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>
2005-07-24 21:41:49 +00:00
Ulrich Drepper c226340858 * wcsmbs/Makefile: Add rules to build and run tst-wchar-h.
* wcsmbs/tst-wchar-h.c: New file.
2005-07-24 20:03:14 +00:00
Ulrich Drepper 76c98ee22b * wcsmbs/bits/wchar2.h: Use __FILE not FILE.
* stdio-common/fxprintf.c (__fxprintf): Define variable more local.
2005-07-24 19:52:01 +00:00
Ulrich Drepper 84d2b24050 * stdio-common/fxprintf.c (__fxprintf): Declare functions 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 15:12:23 +00:00
Ulrich Drepper 24452349b1 (__vfwprintf_chk, __vwprintf_chk): Use __gnuc_va_list rather than _G_va_list. 2005-07-22 15:06:27 +00:00
Roland McGrath ae46b677f0 [BZ #869]
2005-07-22  Roland McGrath  <roland@redhat.com>
	[BZ #869]
	* Makerules ($(objpfx)stubs): Fix last change.
2005-07-22 07:10:10 +00:00
Roland McGrath 3bfd2d42c0 * nscd/Makefile ($(objpfx)nscd): Pass $(nscd-cflags) to $(LINK.o). 2005-07-22 05:35:27 +00:00
Roland McGrath 4fd8fd7ee8 * stdlib/Makefile (headers): Move bits/wchar.h to ...
* wcsmbs/Makefile (headers): ... here.  Add bits/wchar2.h too.
2005-07-22 04:25:52 +00:00
Roland McGrath 42be025fc0 2005-07-21 Roland McGrath <roland@redhat.com>
* stdlib/Makefile (headers): Move bits/wchar.h to ...
	* wcsmbs/Makefile (headers): ... here.  Add bits/wchar2.h too.
2005-07-22 04:25:47 +00:00
Ulrich Drepper 757beee151 * wcsmbs/bits/wchar2.h (swprintf): Remove format argument.
* 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-21 16:23:54 +00:00
Ulrich Drepper 35476e9cd7 * sysdeps/x86_64/fpu/libm-test-ulps: Adjust expected atan2f results.
* sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
	* sysdeps/s390/fpu/libm-test-ulps: Likewise.

            Darin Petkov  <darin@tensilica.com>
2005-07-20 18:20:48 +00:00
Ulrich Drepper aa2ebe015a 2005-07-20 Bob Wilson <bob.wilson@acm.org>
Darin Petkov <darin@tensilica.com>

	* sysdeps/ieee754/flt-32/e_atan2f.c (pi_lo): Correct exponent value.
2005-07-20 18:02:49 +00:00
Ulrich Drepper 8a259a2310 * include/stdio.h (__fxprintf): Remove wfmt argument.
* 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 17:51:14 +00:00
Ulrich Drepper df6f89692f * wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs,
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-20 07:43:27 +00:00
Ulrich Drepper 10ffcd52f0 * stdio-common/Makefile (aux): Add 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.
2005-07-19 23:46:55 +00:00
Ulrich Drepper 401a9ec9ca * configure.in: Check for -fstack-protector gcc option.
* 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 15:35:50 +00:00
Ulrich Drepper be686f1876 (main): Don't ignore result of chdir call. 2005-07-19 15:30:46 +00:00
Roland McGrath 0c1a4a1995 [BZ #869, 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.

	[BZ #1113]
2005-07-19 03:55:04 +00:00
Roland McGrath 90a62401c6 [BZ #869]
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-19 03:54:55 +00:00
Ulrich Drepper 233399bce2 * nscd/Makefile (nscd-cflags): Add _FORTIFY_SOURCE.
* nscd/connections.c: Fix a few wur warnings.
2005-07-18 22:28:46 +00:00