about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * nis/nis_call.c (__nisbind_create): Remove __nisbind_destroy,Ulrich Drepper2005-12-083-9/+12
| | | | | | | | | | | ->clnt cannot be != NULL. (__do_niscall): No need to use __nisbind_destroy, __nisbind_next did it. (__nisbind_connect): use_auth is already TRUE, otherwise we would not be here. * nis/nis_lookup.c (nis_lookup): Remove unnecessary __nisbind_destroy calls. __nisbind_next does all that.
* * nis/ypclnt.c (yp_update): Before trying default authentication,Ulrich Drepper2005-12-082-0/+6
| | | | free DES descriptor.
* * nis/nis_table.c (nis_list): Fix memory handling in error case.Ulrich Drepper2005-12-082-39/+49
| | | | | | | 2005-12-07 Ulrich Drepper <drepper@redhat.com> * nis/nis_table.c (nis_list): Remove have_tablepath, just use the pointer value itself.
* * catgets/gencat.c: Use GPL, not LGPL.Ulrich Drepper2005-12-0768-772/+726
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf/cache.c: Likewise. * elf/chroot_canon.c: Likewise. * elf/ldconfig.c: Likewise. * elf/readlib.c: Likewise. * iconv/dummy-repertoire.c: Likewise. * iconv/iconv_charmap.c: Likewise. * iconv/iconv_prog.c: Likewise. * iconv/iconvconfig.c: Likewise. * locale/programs/3level.h: Likewise. * locale/programs/charmap-dir.c: Likewise. * locale/programs/charmap-dir.h: Likewise. * locale/programs/charmap-kw.gperf: Likewise. * locale/programs/charmap.c: Likewise. * locale/programs/charmap.h: Likewise. * locale/programs/config.h: Likewise. * locale/programs/ld-address.c: Likewise. * locale/programs/ld-collate.c: Likewise. * locale/programs/ld-ctype.c: Likewise. * locale/programs/ld-identification.c: Likewise. * locale/programs/ld-measurement.c: Likewise. * locale/programs/ld-messages.c: Likewise. * locale/programs/ld-monetary.c: Likewise. * locale/programs/ld-name.c: Likewise. * locale/programs/ld-numeric.c: Likewise. * locale/programs/ld-paper.c: Likewise. * locale/programs/ld-telephone.c: Likewise. * locale/programs/ld-time.c: Likewise. * locale/programs/linereader.c: Likewise. * locale/programs/linereader.h: Likewise. * locale/programs/locale-spec.c: Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. * locale/programs/localedef.h: Likewise. * locale/programs/locarchive.c: Likewise. * locale/programs/locfile-kw.gperf: Likewise. * locale/programs/locfile-token.h: Likewise. * locale/programs/locfile.c: Likewise. * locale/programs/locfile.h: Likewise. * locale/programs/repertoire.c: Likewise. * locale/programs/repertoire.h: Likewise. * locale/programs/simple-hash.c: Likewise. * locale/programs/simple-hash.h: Likewise. * locale/programs/xmalloc.c: Likewise. * locale/programs/xstrdup.c: Likewise. * malloc/memusagestat.c: Likewise. * nscd/aicache.c: Likewise. * nscd/cache.c: Likewise. * nscd/connections.c: Likewise. * nscd/dbg_log.c: Likewise. * nscd/gai.c: Likewise. * nscd/getgrgid_r.c: Likewise. * nscd/getgrnam_r.c: Likewise. * nscd/gethstbyad_r.c: Likewise. * nscd/gethstbynm2_r.c: Likewise. * nscd/getpwnam_r.c: Likewise. * nscd/getpwuid_r.c: Likewise. * nscd/grpcache.c: Likewise. * nscd/hstcache.c: Likewise. * nscd/initgrcache.c: Likewise. * nscd/mem.c: Likewise. * nscd/nscd.c: Likewise. * nscd/nscd_conf.c: Likewise. * nscd/pwdcache.c: Likewise. * posix/getconf.c: Likewise. * sysdeps/generic/nscd_setup_thread.c: Likewise. * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise.
* * sunrpc/auth_des.c (authdes_pk_create): If conversation keyUlrich Drepper2005-12-071-0/+6
| | | | | cannot be created, free memory. Reported by rprasad@vmware.com.
* (authdes_pk_create): If conversation key cannot be created, free memory.Ulrich Drepper2005-12-071-1/+1
|
* * sysdeps/hppa/bits/setjmp.h: Add _BITS_SETJMP_H preprocessorRoland McGrath2005-12-068-6/+36
| | | | | | | | | | | | | | | | | protection and allow pthread.h to include bits/setjmp.h as well as setjmp.h. * sysdeps/m68k/bits/setjmp.h: Likewise. * sysdeps/s390/bits/setjmp.h: Make sure only setjmp.h or pthread.h are allow to include bits/setjmp.h. * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Cast rhs to match lhs cast of address. * sysdeps/sh/bits/setjmp.h: Likewise. 2005-11-12 Jim Meyering <jim@meyering.net> * sysdeps/unix/opendir.c (__alloc_dir): Declare STATP parameter to be pointer to const. * include/dirent.h: Update decl.
* * sysdeps/generic/dwarf2.h: Replace license text with glibc LGPL.Roland McGrath2005-12-061-2/+2
|
* * hurd/hurdmalloc.c: Remove $ tag $ magic.Roland McGrath2005-12-0614-469/+88
| | | | | | | | | | | | | | | * mach/err_kern.sub: Likewise. * mach/err_server.sub: Likewise. * mach/err_us.sub: Likewise. * mach/error_compat.c: Likewise. * mach/errorlib.h: Likewise. * mach/errstring.c: Likewise. * mach/mach/error.h: Likewise. * mach/mach_error.c: Likewise. * mach/mach_error.h: Likewise. * mach/msg-destroy.c: Likewise. * mach/msgserver.c: Likewise. * sysdeps/mach/sys/reboot.h: Likewise.
* * malloc/tst-mallocfork.c (do_test): Make sure sa_flags isRoland McGrath2005-12-062-2/+6
| | | | initialized. Reported by John Reiser <jreiser@BitWagon.com>.
* * stdlib/longlong.h: Update from GCC.Roland McGrath2005-12-062-65/+91
|
* * soft-fp/soft-fp.h: Include <stdlib.h>.Roland McGrath2005-12-063-1/+9
| | | | * soft-fp/floatdisf.c (__floatdisf): Return float.
* * sysdeps/unix/sysv/linux/kernel-features.hRoland McGrath2005-12-062-0/+8
| | | | (__ASSUME_POSIX_CPU_TIMERS): New macro, for 2.6.12 and later.
* * sysdeps/generic/dwarf2.h: Replace license text with glibc LGPL.Roland McGrath2005-12-061-0/+4
|
* 2005-12-05 Roland McGrath <roland@redhat.com>Roland McGrath2005-12-061-16/+16
| | | | * sysdeps/generic/dwarf2.h: Replace license text with glibc LGPL.
* (nis_list): One more reallocation optimization.Ulrich Drepper2005-12-041-5/+15
|
* * nis/nis_table.c (nis_list): Optimize freeing and reallocation ofUlrich Drepper2005-12-042-0/+13
| | | | result record.
* * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):Ulrich Drepper2005-12-032-17/+13
| | | | Better sized buffers. Correct error case handling.
* * nis/nis_error.c (nis_sperror_r): Let snprintf determine whetherUlrich Drepper2005-12-037-88/+68
| | | | | | | | there is an overflow. * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_setnetgrent): Rewrite to use snprintf. * nis/nss_nisplus/nisplus-publickey.c (_nss_nisplus_netname2user): Likewise.
* * nis/nss_nisplus/nisplus-service.c: Fix locking to useUlrich Drepper2005-12-038-728/+880
| | | | | | | | | | | | | | | | | | | _nss_create_tablename. Avoid unnecessary copying, remove unnecessary variables, general cleanup. * nis/nss_nisplus/nisplus-rpc.c: Likewise. * nis/nss_nisplus/nisplus-proto.c: Likewise.. * nis/nss_nisplus/nisplus-network.c: Fix locking to use _nss_create_tablename. Avoid unnecessary copying, general cleanup. * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r): Removed. Fix locking to use _nss_create_tablename. Avoid unnecessary copying, general cleanup. * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r): Correctly construct request. Fix locking to use _nss_create_tablename. Avoid unnecessary copying, general cleanup. * nis/nss_nisplus/nisplus-alias.c: Fix locking to use _nss_create_tablename. Avoid unnecessary copying, general cleanup.
* * nis/nss_nisplus/nisplus-pwd.c (_nss_pwd_create_tablename):Ulrich Drepper2005-12-034-277/+313
| | | | | | | | | | | | 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.
* * nis/nss_nisplus/nisplus-pwd.c: Fix locking to useUlrich Drepper2005-12-031-0/+4
| | | | | _nss_create_tablename. Avoid unnecessary copying, remove unnecessary variables, general cleanup.
* * io/Makefile (routines): Add mknodat, xmknodat, mkdirat, mkfifoat.Ulrich Drepper2005-12-0213-8/+480
| | | | | | | | | | | | | | | | | (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.
* Add one more parameter check.Ulrich Drepper2005-12-021-1/+7
|
* (MREMAP_FIXED): Added. Patch by René Rebe <rene@exactcode.de>.Andreas Jaeger2005-11-282-1/+7
| | | | | | | 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>.
* * sysdeps/posix/getaddrinfo.c: Avoid RFC 3484 sorting if there areUlrich Drepper2005-11-272-4/+12
| | | | multiple return records but only one address.
* * sysdeps/posix/getaddrinfo.c (gaih_inet): Avoid some code duplication.Ulrich Drepper2005-11-271-0/+4
|
* (gaih_inet): Avoid some code duplication.Ulrich Drepper2005-11-271-50/+29
|
* * sysdeps/unix/sysv/linux/fchownat.c: Include alloca.h, sysdep.h.Roland McGrath2005-11-271-0/+5
| | | | Reported by René Rebe <rene@exactcode.de>.
* 2005-11-27 Roland McGrath <roland@redhat.com>Roland McGrath2005-11-271-0/+2
| | | | | * sysdeps/unix/sysv/linux/fchownat.c: Include alloca.h, sysdep.h. Reported by René Rebe <rene@exactcode.de>.
* * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Don't cacheUlrich Drepper2005-11-272-44/+47
| | | | euid and egid.
* * nis/nis_table.c (nis_list): Add more free calls in error cases.Ulrich Drepper2005-11-271-0/+4
|
* (nis_list): Add more free calls in error cases.Ulrich Drepper2005-11-271-0/+1
|
* * sysdeps/alpha/strncmp.S: Don't read too much data when pointers ↵Richard Henderson2005-11-272-5/+33
| | | | | | | | | 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.
* * nis/nis_lookup.c (nis_lookup): Mark RPCTIMEOUT as const. PrettyUlrich Drepper2005-11-273-9/+13
| | | | printing.
* * nis/nis_table.c (__create_ib_request): Use strdupa instead ofUlrich Drepper2005-11-273-24/+22
| | | | | | | variable size array. (RPCTIMEOUT): Mark as const. (RPCTIMEOUT, UDPTIMEOUT): Mark as const.
* * nis/ypclnt.c (yp_bind_ypbindprog): Initialize clnt_saddr by hand.Ulrich Drepper2005-11-261-0/+18
| | | | | | | | | | | | | | | | | (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.
* (yp_bind_ypbindprog): Initialize clnt_saddr by hand. (ypdomainname): Renamed ↵Ulrich Drepper2005-11-261-109/+165
| | | | 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.
* * sysdeps/unix/sysv/linux/alpha/fxstatat.c (__fxstatat): Fix typo. ↵Richard Henderson2005-11-264-5/+13
| | | | | | | | | | | | (__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.
* * Makeconfig (+cflags): Add -fmerge-all-constants by default.Ulrich Drepper2005-11-252-1/+7
|
* [BZ #1912]Ulrich Drepper2005-11-252-1/+7
| | | | | | 2005-11-25 Ulrich Drepper <drepper@redhat.com> [BZ #1912] * nss/function.def: Add entry to use gethostbyname2 for files.
* * sysdeps/unix/sysv/linux/fxstatat64.c: Include string.h.Ulrich Drepper2005-11-252-0/+5
|
* [BZ #1926]Ulrich Drepper2005-11-252-1/+5
| | | | | * nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Change return value type to match expected type.
* [BZ #1925]Ulrich Drepper2005-11-252-1/+6
| | | | | | 2005-11-25 Ulrich Drepper <drepper@redhat.com> [BZ #1925] * nis/ypclnt.c (yp_order): Correct test for invalid parameter.
* * scripts/check-c++-types.sh: Improve comments.Ulrich Drepper2005-11-252-2/+4
|
* * scripts/check-local-headers.sh: New file.Ulrich Drepper2005-11-244-2/+28
| | | | | | | | | | | | * 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.
* [BZ #1920]Ulrich Drepper2005-11-247-6/+56
| | | | | | | | | 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.
* * nscd/connections.c (sendfileall): Define.Ulrich Drepper2005-11-229-28/+49
| | | | | | | | | | (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.
* [BZ #1908]Ulrich Drepper2005-11-222-4/+13
| | | | | | | | | | | 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.
* * sunrpc/bindrsvprt.c (bindresvport): Wrap around to startportUlrich Drepper2005-11-222-4/+12
| | | | | | in the loop if port is bigger than endport, initially set to ENDPORT. When changing startport, set endport and port appropriately.