Ulrich Drepper
48b293913b
* nis/nss_nisplus/nisplus-pwd.c (_nss_pwd_create_tablename):
...
Renamed from _nss_create_tablename. Export from file (but not DSO).
(pwd_tablename_val): Renamed from tablename_val, mark hidden.
(pwd_tablename_len): Renamed from tablename_len, mark hidden.
Change all users.
* nis/nss_nisplus/nisplus-spwd.c (_nss_create_tablename): Removed.
Use _nss_pwd_create_tablename now. Use pwd_tablename_val and
pwd_tablename_len. Remove unnecessary variables, general cleanup.
* nis/nss_nisplus/nisplus-grp.c: Likewise.
2005-12-03 05:20:52 +00:00
Ulrich Drepper
49b24791e0
* nis/nss_nisplus/nisplus-pwd.c: Fix locking to use
...
_nss_create_tablename. Avoid unnecessary copying, remove
unnecessary variables, general cleanup.
2005-12-03 04:44:36 +00:00
Ulrich Drepper
e186c703dc
* io/Makefile (routines): Add mknodat, xmknodat, mkdirat, mkfifoat.
...
(static-only-routines): Add mknodat.
* io/Versions [GLIBC_2.4]: Add mkdirat, mkfifoat, __xmknodat.
* io/sys/stat.h: Declare mkditat, mknodat, mkfifoat, __xmknodat.
Define mknodat inline function.
* include/sys/stat.h: Add hidden proto for __xmknodat.
* sysdeps/generic/mkdirat.c: New file.
* sysdeps/generic/mkfifoat.c: New file.
* sysdeps/generic/mknodat.c: New file.
* sysdeps/generic/xmknodat.c: New file.
* sysdeps/unix/mkfifoat.c: New file.
* sysdeps/unix/sysv/linux/mkdirat.c: New file.
* sysdeps/unix/sysv/linux/xmknodat.c: New file.
* sysdeps/generic/xmknod.c: Add one more parameter check.
2005-12-02 21:55:54 +00:00
Ulrich Drepper
975407d507
Add one more parameter check.
2005-12-02 21:41:00 +00:00
Andreas Jaeger
b02adc678a
(MREMAP_FIXED): Added. Patch by René Rebe <rene@exactcode.de>.
...
2005-11-28 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/bits/mman.h (MREMAP_FIXED): Added,
Patch by René Rebe <rene@exactcode.de>.
2005-11-28 08:25:55 +00:00
Ulrich Drepper
01abbc0f7f
* sysdeps/posix/getaddrinfo.c: Avoid RFC 3484 sorting if there are
...
multiple return records but only one address.
2005-11-27 23:13:21 +00:00
Ulrich Drepper
da09af7627
* sysdeps/posix/getaddrinfo.c (gaih_inet): Avoid some code duplication.
2005-11-27 22:59:43 +00:00
Ulrich Drepper
29546dd9b4
(gaih_inet): Avoid some code duplication.
2005-11-27 22:58:34 +00:00
Roland McGrath
9d88758aab
* sysdeps/unix/sysv/linux/fchownat.c: Include alloca.h, sysdep.h.
...
Reported by René Rebe <rene@exactcode.de>.
2005-11-27 21:20:05 +00:00
Roland McGrath
a6efdc5b2e
2005-11-27 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/fchownat.c: Include alloca.h, sysdep.h.
Reported by René Rebe <rene@exactcode.de>.
2005-11-27 21:19:57 +00:00
Ulrich Drepper
fec53fc575
* sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Don't cache
...
euid and egid.
2005-11-27 17:14:28 +00:00
Ulrich Drepper
9d55da2be7
* nis/nis_table.c (nis_list): Add more free calls in error cases.
2005-11-27 09:32:34 +00:00
Ulrich Drepper
f08f411398
(nis_list): Add more free calls in error cases.
2005-11-27 09:30:10 +00:00
Richard Henderson
0af1870a5c
* sysdeps/alpha/strncmp.S: Don't read too much data when pointers are co-aligned, and count is aligned with the end of the word.
...
2005-11-26 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/strncmp.S: Don't read too much data when pointers
are co-aligned, and count is aligned with the end of the word.
2005-11-27 06:05:33 +00:00
Ulrich Drepper
d00002ed88
* nis/nis_lookup.c (nis_lookup): Mark RPCTIMEOUT as const. Pretty
...
printing.
2005-11-27 03:13:50 +00:00
Ulrich Drepper
3218d55b95
* nis/nis_table.c (__create_ib_request): Use strdupa instead of
...
variable size array.
(RPCTIMEOUT): Mark as const.
(RPCTIMEOUT, UDPTIMEOUT): Mark as const.
2005-11-27 01:20:12 +00:00
Ulrich Drepper
d9fc1ec727
* nis/ypclnt.c (yp_bind_ypbindprog): Initialize clnt_saddr by hand.
...
(ypdomainname): Renamed from __ypdomainname. No need for initializer.
(ypbindlist): Renamed from __ypbindlist.
(do_ypcall): Check memory allocation suceeded before calling
yp_bind_ypbindprog.
(yperr_string): Reduce size of function by using only one gettext call.
(ypbinderr_string): Likewise.
(yp_match): Free response in case memory for return value cannot be
allocated.
(yp_first): Likewise.
(yp_next): Likewise.
(do_ypcall_tr): New function which translates error codes as well.
(yp_match, yp_next, yp_master, yp_order, yp_maplist): Use it.
(yp_all): Correct test for invalid parameter.
Pretty printing.
2005-11-26 22:16:52 +00:00
Ulrich Drepper
2c2efdc182
(yp_bind_ypbindprog): Initialize clnt_saddr by hand. (ypdomainname): Renamed from __ypdomainname. No need for initializer. (ypbindlist): Renamed from __ypbindlist. (do_ypcall): Check memory allocation suceeded before calling yp_bind_ypbindprog. (yperr_string): Reduce size of function by using only one gettext call. (ypbinderr_string): Likewise. (yp_match): Free response in case memory for return value cannot be allocated. (yp_first): Likewise. (yp_next): Likewise. (do_ypcall_tr): New function which translates error codes as well. (yp_match, yp_next, yp_master, yp_order, yp_maplist): Use it. (yp_all): Correct test for invalid parameter. Pretty printing.
2005-11-26 22:16:03 +00:00
Richard Henderson
50c8adf4d1
* sysdeps/unix/sysv/linux/alpha/fxstatat.c (__fxstatat): Fix typo. (__fxstatat64): Alias from __fxstatat; remove other cnp errors. * sysdeps/unix/sysv/linux/alpha/sigaction.c: Include sys/cdefs.h and stddef.h. * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MREMAP_FIXED): Define.
...
2005-11-25 Richard Henderson <rth@redhat.com>
* sysdeps/unix/sysv/linux/alpha/fxstatat.c (__fxstatat): Fix typo.
(__fxstatat64): Alias from __fxstatat; remove other cnp errors.
* sysdeps/unix/sysv/linux/alpha/sigaction.c: Include sys/cdefs.h
and stddef.h.
* sysdeps/unix/sysv/linux/alpha/bits/mman.h (MREMAP_FIXED): Define.
2005-11-26 00:52:45 +00:00
Ulrich Drepper
dec36b4f0c
* Makeconfig (+cflags): Add -fmerge-all-constants by default.
2005-11-25 18:36:59 +00:00
Ulrich Drepper
eed38d45aa
[BZ #1912 ]
...
2005-11-25 Ulrich Drepper <drepper@redhat.com>
[BZ #1912 ]
* nss/function.def: Add entry to use gethostbyname2 for files.
2005-11-25 16:42:59 +00:00
Ulrich Drepper
0e586bf8c6
* sysdeps/unix/sysv/linux/fxstatat64.c: Include string.h.
2005-11-25 16:13:50 +00:00
Ulrich Drepper
34da0098e5
[BZ #1926 ]
...
* nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Change
return value type to match expected type.
2005-11-25 16:09:10 +00:00
Ulrich Drepper
85f90d22b6
[BZ #1925 ]
...
2005-11-25 Ulrich Drepper <drepper@redhat.com>
[BZ #1925 ]
* nis/ypclnt.c (yp_order): Correct test for invalid parameter.
2005-11-25 16:05:57 +00:00
Ulrich Drepper
9b33781cad
* scripts/check-c++-types.sh: Improve comments.
2005-11-25 07:34:21 +00:00
Ulrich Drepper
088f460f75
* scripts/check-local-headers.sh: New file.
...
* Makefile (tests): Run check-local-headers.sh.
2005-11-23 Thorsten Kukuk <kukuk@suse.de>
* include/sys/sendfile.h: New file.
2005-11-24 Andreas Schwab <schwab@suse.de>
* time/sys/time.h: Remove nonnull attribute from futimesat.
2005-11-24 18:28:02 +00:00
Ulrich Drepper
16feadf264
[BZ #1920 ]
...
005-11-24 Jakub Jelinek <jakub@redhat.com>
[BZ #1920 ]
* sysdeps/pthread/pthread.h (__pthread_unwind_next): Use
__attribute__ instead of __attribute.
* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h
(__cleanup_fct_attribute): Likewise.
2005-11-24 18:16:42 +00:00
Ulrich Drepper
bd547139c7
* nscd/connections.c (sendfileall): Define.
...
(handle_request): Use it instead of sendfile call.
* nscd/nscd-client.h: Declare sendfileall.
* nscd/aicache.c: Use sendfileall instead of sendfile.
* nscd/grpcache.c: Likewise.
* nscd/hstcache.c: Likewise.
* nscd/initgrcache.c: Likewise.
* nscd/pwdcache.c: Likewise.
2005-11-22 19:06:27 +00:00
Ulrich Drepper
8522a05394
[BZ #1908 ]
...
2005-11-22 Ulrich Drepper <drepper@redhat.com>
[BZ #1908 ]
* manual/install.texi (Tools for Compilation): Require gawk.
2005-11-22 Jakub Jelinek <jakub@redhat.com>
* sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
unused is_static field from slotinfo array.
2005-11-22 18:11:01 +00:00
Ulrich Drepper
15a493c3b7
* sunrpc/bindrsvprt.c (bindresvport): Wrap around to startport
...
in the loop if port is bigger than endport, initially set to
ENDPORT. When changing startport, set endport and port
appropriately.
2005-11-22 04:39:40 +00:00
Ulrich Drepper
24eb865839
* Makefile.in: Remove RCS ID line.
...
* config-name.in: Likewise.
* config.make.in: Likewise.
* malloc/arena.c: Likewise.
* malloc/hooks.c: Likewise.
* malloc/malloc.c: Likewise.
* manual/dir: Likewise.
* math/math_private.h: Likewise.
* resolv/gethnamaddr.c: Likewise.
* scripts/mkinstalldirs: Likewise.
* sunrpc/rpc_clntout.c: Likewise.
* sunrpc/rpc_cout.c: Likewise.
* sunrpc/rpc_hout.c: Likewise.
* sunrpc/rpc_main.c: Likewise.
* sunrpc/rpc_parse.c: Likewise.
* sunrpc/rpc_sample.c: Likewise.
* sunrpc/rpc_scan.c: Likewise.
* sunrpc/rpc_svcout.c: Likewise.
* sunrpc/rpc_tblout.c: Likewise.
* sunrpc/rpc_util.c: Likewise.
* sysdeps/unix/sysv/linux/sys/quote.h: Likewise.
* nscd/nscd_helper.c: Pretty printing.
2005-11-21 15:48:11 +00:00
Ulrich Drepper
afd662ec27
..
...
2005-11-21 Ulrich Drepper <drepper@redhat.com>
* locales/se_NO: Remove RCS ID line.
2005-11-21 15:45:19 +00:00
Ulrich Drepper
34df9f751d
Pretty printing.
2005-11-21 15:36:25 +00:00
Roland McGrath
fd9f89a1e1
* elf/elf.h: Revert last change.
2005-11-19 21:31:02 +00:00
Roland McGrath
13665daa71
2005-11-19 Roland McGrath <roland@redhat.com>
...
* elf/elf.h: Revert last change.
2005-11-19 21:30:54 +00:00
Ulrich Drepper
eac1079146
* sysdeps/unix/sysv/linux/ia64/bits/shm.h (shmatt_t): New type.
...
(struct shmid_ds): Use it for shm_nattch field.
2005-11-18 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/futimesat.c (futimesat): If FILE is NULL,
set access and modification times of the file referenced by FD.
* sysdeps/generic/futimesat.c (futimesat): Don't return EINVAL if
FILE is NULL. Don't check FD if FILE is absolute path.
2005-11-19 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd_gethst_r.c (nscd_gethst_r): Avoid unnecesary read call
if there are no aliases.
* sysdeps/unix/sysv/linux/Makefile (CFLAGS-connections.c,
CFLAGS-pwdcache.c, CFLAGS-grpcache.c, CFLAGS-hstcache.c,
CFLAGS-aicache.c, CFLAGS-initgrcache.c): Add -DHAVE_SENDFILE.
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
Define.
* nscd/pwdcache.c [HAVE_SENDFILE]: Include <sys/sendfile.h> and
<kernel-features.h>.
[HAVE_SENDFILE] (cache_addpw): Use sendfile to transmit positive
result.
* nscd/grpcache.c: Likewise.
* nscd/hstcache.c: Likewise.
* nscd/aicache.c: Likewise.
* nscd/initgrcache.c: Likewise.
* nscd/connectionc.c: Likewise.
2005-11-19 17:22:39 +00:00
Ulrich Drepper
74ac0a89d2
(nscd_gethst_r): Avoid unnecesary read call if there are no aliases.
2005-11-19 17:09:03 +00:00
Roland McGrath
d11edae6f2
* sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove useless alias.
...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Handle
NO_WEAK_ALIAS.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2005-11-18 22:48:22 +00:00
Roland McGrath
3416271918
* sysdeps/unix/sysv/linux/m68k/bits/mman.h (MREMAP_FIXED): New macro.
2005-11-18 22:46:36 +00:00
Roland McGrath
fdfe6deea9
* nscd/grpcache.c: Include <sys/socket.h>.
...
* nscd/nscd_stat.c: Likewise.
* nscd/pwdcache.c: Likewise.
* sysdeps/unix/sysv/linux/unlinkat.c: Include <stdlib.h>, <sysdep.h>.
2005-11-18 22:42:25 +00:00
Roland McGrath
0b20008e04
2005-11-18 Paul Brook <paul@codesourcery.com>
...
* nscd/grpcache.c: Include <sys/socket.h>.
* nscd/nscd_stat.c: Likewise.
* nscd/pwdcache.c: Likewise.
* sysdeps/unix/sysv/linux/unlinkat.c: Include <stdlib.h>, <sysdep.h>.
2005-11-18 22:42:21 +00:00
Ulrich Drepper
2b7e861335
* sysdeps/unix/sysv/linux/sparc/bits/shm.h: Define SHM_NORESERVE.
...
* sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2005-11-18 02:41:39 +00:00
Ulrich Drepper
8b7bdd8b88
.
2005-11-18 00:31:58 +00:00
Ulrich Drepper
776356486d
.
2005-11-18 00:17:40 +00:00
Ulrich Drepper
8f84d93108
[BZ #1877 ]
...
2005-11-17 Steven Munroe <sjmunroe@us.ibm.com>
[BZ #1877 ]
* string/test-strncmp.c (do_test_limit): Handle zero length and
non-zero align values.
(test_main): Correct do_test_limit tests for 64-bit.
2005-11-15 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/sysdep.h (PPC_FEATURE_HAS_SPE,
PPC_FEATURE_HAS_EFP_SINGLE, PPC_FEATURE_HAS_EFP_DOUBLE,
PPC_FEATURE_NO_TB, PPC_FEATURE_POWER4, PPC_FEATURE_POWER5,
PPC_FEATURE_POWER5_PLUS, PPC_FEATURE_CELL, PPC_FEATURE_970):
Define to match 2.6.15 kernel.
* sysdeps/powerpc/fpu/e_sqrt.c: Remove dl-procinfo.h include.
* sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
* sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2005-11-18 00:12:44 +00:00
Ulrich Drepper
c59b95ecd9
Remove dl-procinfo.h include.
2005-11-17 23:33:52 +00:00
Roland McGrath
f1cb95609a
* elf/elf.h (R_PPC64_ADDR30): Renamed to R_PPC64_REL30.
2005-11-17 23:02:23 +00:00
Roland McGrath
cfd487620b
2005-11-17 Roland McGrath <roland@redhat.com>
...
* elf/elf.h (R_PPC64_ADDR30): Renamed to R_PPC64_REL30.
2005-11-17 23:02:17 +00:00
Ulrich Drepper
c6f688a090
* io/sys/stat.h (fstatat): If __REDIRECT_NTH isn't defined,
...
define fstatat to fstatat64.
(fstatat64): Only provide prototype if __USE_LARGEFILE64,
similarly with the inline.
* io/fcntl.h (openat64): Only provide prototype if __USE_LARGEFILE64.
2005-11-17 21:32:27 +00:00
Ulrich Drepper
8ce9ea74cc
[BZ #1877 ]
...
2005-11-17 Steven Munroe <sjmunroe@us.ibm.com>
[BZ #1877 ]
* string/test-strncmp.c (do_test_limit): New function.
(do_test) Add cast to eliminate compiler warnings.
(do_random_tests) Add cast to eliminate compiler warnings.
(test_main) Add do_test_limit tests.
* sysdeps/powerpc/powerpc32/strncmp.S: Test length before unaligned
load.
* sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2005-11-17 21:19:33 +00:00