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
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
Ulrich Drepper
0396de518e
Fix typo.
2005-07-18 20:53:13 +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
Roland McGrath
6d0224b059
* manual/Makefile (libc/index.html): Depend on dir-add.texi.
2005-07-18 00:05:08 +00:00
Roland McGrath
dc43e5e1ff
2005-07-13 Thorsten Kukuk <kukuk@suse.de>
...
* manual/Makefile (libc/index.html): Add dir-add.texi.
2005-07-18 00:04:52 +00:00
Roland McGrath
74ba489fbd
2005-07-13 Thorsten Kukuk <kukuk@suse.de>
...
* manual/Makefile (libc/index.html): Add dir-add.texi.
2005-07-18 00:04:48 +00:00
Ulrich Drepper
5c08f24cb8
* stdlib/bits/stdlib.h: Use __REDIRECT_NTH instead of __REDIRECT
...
* wcsmbs/bits/wchar2.h: Likewise.
2005-07-16 05:59:07 +00:00
Ulrich Drepper
2287097523
* wcsmbs/bits/wchar2.h: Use __REDIRECT_NTH instead of __REDIRECT
...
where necessary.
2005-07-15 23:50:29 +00:00
Ulrich Drepper
c2d526774a
Pretty printing.
2005-07-15 14:48:49 +00:00
Andreas Jaeger
5852d1e52d
Update.
...
2005-07-15 Andreas Jaeger <aj@suse.de>
* debug/Makefile (tst-lfschk3-ENV): New, set locale.
(tst-lfschk2-ENV): New.
(tst-lfschk1-ENV): New.
(tst-chk3-ENV): New.
(tst-chk2-ENV): New.
(tst-chk1-ENV): New.
* include/stdlib.h: Remove malloc attribute from __posix_memalign.
* stdlib/stdlib.h: Likewise.
2005-07-15 10:49:02 +00:00
Andreas Jaeger
5bcbe69fa8
* include/stdlib.h: Remove malloc attribute from __posix_memalign.
...
* stdlib/stdlib.h: Likewise.
2005-07-15 10:47:20 +00:00
Ulrich Drepper
8215c9ecf2
* wcsmbs/bits/wchar2.h: New file.
...
* include/bits/wchar2.h: New file.
* wcsmbs/wchar.h: Include <bits/wchar2.h> if fortification is
requested.
* wcsmbs/wcsncpy.c: Add __wcsncpy alias.
* string/bits/string3.h: Add fortified stpncpy definitions.
* sysdeps/generic/stpncpy_chk.c: New file.
* libio/vswprintf.c: Move _IO_wstrnfile definition to strfile.h.
Export _IO_wstrn_jumps.
* libio/strfile.h: Define _IO_wstrnfile and declare _IO_wstrn_jumps.
* include/wchar.h: Declare __wcsncpy and __vswprintf_chk.
* debug/fgetws_chk.c: New file.
* debug/fgetws_u_chk.c: New file.
* debug/fwprintf_chk.c: New file.
* debug/swprintf_chk.c: New file.
* debug/vfwprintf_chk.c: New file.
* debug/vswprintf_chk.c: New file.
* debug/vwprintf_chk.c: New file.
* debug/wcpcpy_chk.c: New file.
* debug/wcpncpy_chk.c: New file.
* debug/wcscat_chk.c: New file.
* debug/wcscpy_chk.c: New file.
* debug/wcsncat_chk.c: New file.
* debug/wcsncpy_chk.c: New file.
* debug/wmemcpy_chk.c: New file.
* debug/wmemmove_chk.c: New file.
* debug/wmempcpy_chk.c: New file.
* debug/wmemset_chk.c: New file.
* debug/wprintf_chk.c: New file.
* debug/tst-chk1.c: Add tests for new functions.
* debug/Versions: Export new functions.
* debug/Makefile (routines): Add new functions.
2005-07-15 10:32:45 +00:00
Ulrich Drepper
f45729d8cd
* nscd/nscd_helper.c: Add a few __builtin_expect.
2005-07-14 02:53:33 +00:00
Ulrich Drepper
a08ab89700
* nscd/connections.c (send_ro_fd): Make sure BUF is aligned correctly.
2005-07-14 02:17:58 +00:00
Ulrich Drepper
7529e67ed8
* nscd/nscd_helper.c (wait_on_socket): New function.
...
(get_mapping): Use wait_on_socket instead of poll. The former handles
EINTR of poll correctly.
(__nscd_open_socket): Likewise.
(get_mapping): Make sure BUF is aligned correctly.
(get_mapping): Use munmap on correct pointer.
2005-07-13 22:47:24 +00:00
Ulrich Drepper
a9564ae94b
* include/libc-symbols.h: Define macros for librt hidden symbols.
...
* include/time.h: Add librt_hidden_proto definition for clock_gettime.
* sysdeps/generic/clock_gettime.c: Add librt_hidden_def.
* sysdeps/unix/clock_gettime.c: Likewise.
2005-07-13 06:26:17 +00:00
Ulrich Drepper
b799f91ddd
* stdlib/bits/stdlib.h: New file.
...
* stdlib/stdlib.h: Include <bits/stdlib.h> if fortification is
requested.
* Makefile (headers): Add bits/stdlib.h.
* include/bits/stdlib.h: New file.
* debug/Depend: New file.
* debug/ptsname_r_chk.c: New file.
* debug/realpath_chk.c: New file.
* debug/wctomb_chk.c: New file.
* debug/Makefile (routines): Add ptsname_r_chk, realpath_chk, and
wctomb_chk.
* debug/Versions: Export __ptsname_r_chk, __realpath_chk, and
__wctomb_chk.
* debug/tst-chk1.c: Add tests for __ptsname_r_chk, __realpath_chk, and
__wctomb_chk.
2005-07-13 06:09:58 +00:00