Roland McGrath
ba4ee8de71
* mach/shortcut.awk: Ignore `weak_alias' lines.
...
Reported by Alfred M. Szmidt <ams@gnu.org>.
Reported by Alfred M. Szmidt <ams@gnu.org>.
2005-08-08 20:53:35 +00:00
Ulrich Drepper
f54a329a28
* nscd/mem.c (mempool_alloc): Use posix_fallocate instead of ftruncate.
...
* nscd/connections.c (nscd_init): Likewise.
2005-08-08 20:42:33 +00:00
Ulrich Drepper
e62995c112
* stdio-common/fxprintf.c: Include libioP.h.
2005-08-08 20:06:29 +00:00
Ulrich Drepper
dc4bb1c2be
* posix/bits/unistd.h (confstr, getgroups, ttyname_r, gethostname,
...
getdomainname): Add __NTH.
* stdlib/bits/stdlib.h (ptsname_r, wctomb, mbstowcs, wcstombs):
Likewise.
(realpath): Likewise. Use __const instead of const. Add __restrict
keywords.
* socket/bits/socket2.h (recvfrom): Add __restrict keyword to __buf.
* wcsmbs/bits/wchar2.h (wmemcpy, wmemmove, wmempcpy, wmemset,
wcscpy, wcpcpy, wcsncpy, wcpncpy, wcscat, wcsncat, vswprintf, wcrtomb,
mbsrtowcs, wcsrtombs, mbsnrtowcs, wcsnrtombs): Add __NTH.
* string/bits/string3.h (__memset_ichk): Likewise.
(__memcpy_ichk, __memmove_ichk, __mempcpy_ichk, __strcpy_ichk,
__stpcpy_ichk, __strncpy_ichk, stpncpy, __strcat_ichk,
__strncat_ichk): Likewise. Use __const instead of const.
(__stpncpy_chk): Use __const instead of const.
(__stpncpy_alias): Use __REDIRECT_NTH instead of __REDIRECT.
2005-08-08 Ulrich Drepper <drepper@redhat.com>
Jakub Jelinek <jakub@redhat.com>
* nscd/mem.c (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): Move
definitions to...
* nscd/nscd.h (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): ...here.
* nscd/connections.c (usekey): New enum.
(check_use, verify_persistent_db): New functions.
(nscd_init): If persistent database is corrupted, unlink it and
recreate rather than falling back to non-persistent database.
Call verify_persistent_db. Avoid overflows in total computation.
2005-08-08 Ulrich Drepper <drepper@redhat.com>
* iconvdata/utf-16.c (PREPARE_LOOP): Minor cleanups to make code
better readable. Avoid passing var to loop function, it's not
necessary at all.
2005-08-08 19:04:11 +00:00
Ulrich Drepper
6c49b464d9
* elf/elf.h (DT_ALPHA_PLTRO): Use symbolic name in DT_ALPHA_PLTRO
...
definition.
2005-08-07 07:55:10 +00:00
Ulrich Drepper
a9e8e2c6ab
* timezone/checktab.awk: Update from tzcode2005k.
...
* timezone/private.h: Likewise.
* timezone/scheck.c: Likewise.
* timezone/tzselect.ksh: Likewise.
* timezone/zdump.c: Likewise.
* timezone/zic.c: Likewise.
* timezone/africa: Update from tzdata2005k.
* timezone/antarctica: Likewise.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/leapseconds: Likewise.
* timezone/northamerica: Likewise.
* timezone/solar87: Likewise.
* timezone/solar88: Likewise.
* timezone/solar89: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.
2005-08-06 06:02:23 +00:00
Roland McGrath
bf3534a59e
* sysdeps/mach/hurd/mig-reply.c (reply_port): Don't use ?: as lvalue.
2005-08-05 21:16:35 +00:00
Roland McGrath
8dd5f2edc7
[BZ #1137 ]
...
2005-08-03 Dwayne Grant McConnell <dgm69@us.ibm.com>
* sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s):
Use +=, not =, to append. Remove duplicate flags.
* sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
Likewise. Fix comments.
[BZ #1137 ]
2005-08-04 21:35:51 +00:00
Roland McGrath
acaa4acc74
[BZ #1137 , BZ #1138 ]
...
bz tags
[BZ #1138 ]
[BZ #1138 ]
[BZ #1137 ]
2005-08-02 03:29:01 +00:00
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
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
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
Roland McGrath
4bc68378f3
* misc/error.c [_LIBC]: Include <stdbool.h> and <stdint.h>.
2005-07-28 21:42:42 +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
Roland McGrath
73adcf6c8f
* misc/error.c (error_tail): Fix a comment typo.
2005-07-26 08:42:58 +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
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
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
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
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
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
Ulrich Drepper
9f3731cf7f
* nscd/grpcache.c (cache_addgr): Use correct maximum for group ID
...
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-18 21:07:28 +00:00
Roland McGrath
44d75caf71
[BZ #1104 , BZ #1105 , BZ #1106 , BZ #1107 , BZ #1108 , BZ #1109 , BZ #1110 , BZ #1111 ]
...
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 04:15:35 +00:00
Roland McGrath
a34dc4aac9
[BZ #549 , BZ #653 , BZ #1079 , BZ #1080 , BZ #1081 , BZ #1082 , BZ #1083 , BZ #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 03:26:39 +00:00