Ulrich Drepper
fd4af66481
* sysdeps/unix/sysv/linux/Versions: Export Inotify_* syscalls.
2005-08-23 14:33:08 +00:00
Ulrich Drepper
f9a906e786
* stdlib/bits/stdlib.h (mbstowcs): Divide __bos (__dst) by
...
sizeof (wchar_t) rather than multiplying __len by sizeof (wchar_t).
Pass __bos (__dst) / sizeof (wchar_t) to the *_chk routine.
* wcsmbs/bits/wchar2.h (mbsrtowcs, mbsnrtowcs): Likewise.
* debug/mbsnrtowcs_chk.c (__mbsnrtowcs_chk): Don't multiply
len by sizeof (wchar_t).
* debug/mbsrtowcs_chk.c (__mbsrtowcs_chk): Likewise.
* debug/mbstowcs_chk.c (__mbstowcs_chk): Likewise.
Fix type of SRC argument. Pass &SRC rather than SRC to
__mbsrtowcs.
* debug/wcstombs_chk.c (__wcstombs_chk): Pass &SRC rather than SRC
to __wcsrtombs.
* debug/tst-chk1.c: Include assert.h.
(do_test): Change enough array from VLA into a fixed size array.
Assert that MB_CUR_MAX is <= sizeof (enough). Use FAIL () macro
instead of print error details. Add several new tests.
Kill some unused variable warnings.
2005-08-22 15:13:39 +00:00
Ulrich Drepper
e2a99d8e1f
* resolv/res_send.c (Aerror): Fix printing IP address.
2005-08-22 04:04:55 +00:00
Ulrich Drepper
9fc42dfdc1
* resolv/res_send.c (send_vc): Pass correct sockaddr size to connect.
2005-08-21 23:08:30 +00:00
Ulrich Drepper
d6c7294ed6
* sysdeps/ia64/fpu/libm_error.c (__libm_error_support): Don't abort.
...
2005-08-17 Robert Love <rml@novell.com>
* sysdeps/unix/sysv/linux/sys/inotify.h: Add IN_MOVE_SELF event.
2005-08-19 Bruno Haible <bruno@clisp.org>
* intl/localealias.c (read_alias_file): In case of failure, close the
file descriptor and sort the array before returning.
2005-08-19 Ulrich Drepper <drepper@redhat.com>
* malloc/Makefile: Link libmemusage.so with ld.so.
* malloc/memusage.c: Use atomic operations for all counter and size
computations. Handle thread stacks.
* sysdeps/generic/memusage.h: Define memusage_cntr_t and
memusage_size_t.
* sysdeps/i386/i686/memusage.h: New file.
* include/atomic.h: Define atomic_max and atomic_min.
* debug/tst-chk1.c: Add tests for mbstowcs and wcstombs.
2005-08-20 01:22:05 +00:00
Ulrich Drepper
2a81f17880
Add tests for mbstowcs and wcstombs.
2005-08-20 01:02:04 +00:00
Roland McGrath
c06aad090c
[BZ #1075 , BZ #1112 ]
...
bz tags
[BZ #1075 ]
[BZ #1112 ]
2005-08-19 19:07:25 +00:00
Roland McGrath
d0704f9688
[BZ #1207 ]
...
2005-08-17 Paul Eggert <eggert@cs.ucla.edu>
[BZ #1207 ]
* posix/regex.h: Remove spurious space-before-tab. From gnulib.
2005-08-18 06:42:31 +00:00
Roland McGrath
92d892a899
[BZ #1207 ]
...
2005-08-17 Paul Eggert <eggert@cs.ucla.edu>
[BZ #1207 ]
* posix/regex.h: Remove spurious space-before-tab. From gnulib.
2005-08-18 06:42:25 +00:00
Ulrich Drepper
87839111d8
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
...
sys/inotify.h.
* sysdeps/unix/sysv/linux/sys/inotify.h: New file.
* sysdeps/unix/sysv/linux/syscalls.list: Add inotify syscalls.
2005-08-17 06:17:34 +00:00
Ulrich Drepper
a757fda3e7
* nscd/cache.c (prune_cache): Add more debug output. Only for
...
debug level 3 and higher and very verbose.
2005-08-16 22:47:26 +00:00
Ulrich Drepper
80ea303760
* nscd/cache.c (prune_cache): Use stat64 not stat.
...
* nscd/connections.c (nscd_init): Likewise.
2005-08-16 18:10:03 +00:00
Ulrich Drepper
b4f6f4be85
[BZ #1188 ]
...
2005-08-10 Sergio Gelato <Sergio.Gelato@astro.su.se>
[BZ #1188 ]
* nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Change assert check
from (len > 0) to (len >= 0).
2005-08-16 Ulrich Drepper <drepper@redhat.com>
* nis/nis_xdr.c (_xdr_nis_result): Fix type of res variable.
Reported by Thomas Schwinge.
2005-08-15 Jakub Jelinek <jakub@redhat.com>
* nis/nis_subr.c (nis_leaf_of_r): Handle buflen == 0 correctly.
2005-08-16 Ulrich Drepper <drepper@redhat.com>
* nss/getent.c (more_help): Use open_memstream instead of handling
memory allocation ourselves.
2005-08-16 Jay Fenlason <fenlason@redhat.com>
* nss/getent.c (parse_options): change the -s option to support
{database}:{search} to override /etc/resolv.conf for only the
specified database.
2005-08-16 16:05:37 +00:00
Ulrich Drepper
908c9e87c3
* nscd/connections.c (main_loop_epoll): Pass NULL as event
...
argument for epoll_ctl(EPOLL_CTL_DEL) calls.
2005-08-09 06:16:47 +00:00
Ulrich Drepper
4630012fef
* nscd/nscd_stat.c (receive_print_stats): Really print values of
...
thread number, paranoia, and restart interval the server is using.
2005-08-09 05:46:16 +00:00
Ulrich Drepper
a7c684a235
* argp/argp-help.c: Use _IO_vasprintf instead of vasprintf.
...
* include/stdio.h: Add libc_hidden_proto for __vfprintf_chk.
* debug/vfprintf_chk.c: Add libc_hidden_def.
2005-08-09 01:27:20 +00:00
Ulrich Drepper
c9cc8e1083
Add libc_hidden_def.
2005-08-09 01:24:11 +00:00
Roland McGrath
4f17f1ee67
* argp/argp-help.c (__argp_error): __asprintf -> vasprintf.
...
(__argp_failure): Likewise.
2005-08-09 00:58:13 +00:00
Roland McGrath
c7b2c636e8
2005-08-08 Roland McGrath <roland@redhat.com>
...
* argp/argp-help.c (__argp_error): __asprintf -> vasprintf.
(__argp_failure): Likewise.
2005-08-09 00:58:08 +00:00
Ulrich Drepper
1d9aa9ce62
* nscd/cache.c (cache_add): Commit hash table and header to disk.
2005-08-08 21:04:02 +00:00
Ulrich Drepper
cc46d02a45
(cache_add): Comment hash table and header to disk.
2005-08-08 20:58:35 +00:00
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
Roland McGrath
820e7d0b08
2005-08-05 Roland McGrath <roland@redhat.com>
...
* mach/shortcut.awk: Ignore `weak_alias' lines.
Reported by Alfred M. Szmidt <ams@gnu.org>.
2005-08-08 20:52:23 +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
Ulrich Drepper
c872f5cc63
Update from tzcode2005k.
2005-08-06 05:40:57 +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
c1950ac6f8
[BZ #413 , BZ #448 ]
...
bz tag
[BZ #448 ]
[BZ #413 ]
2005-08-03 07:44:12 +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
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