aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-11-26Define __need_FILE also for __USE_XOPEN2K.Ulrich Drepper2-1/+2
* wcsmbs/wchar.h: Define __need_file also for __USE_XOPEN2K.
2007-11-26Define REG_ENOSYS also for Unix98.Ulrich Drepper2-1/+2
* posix/regex.h (REG_ENOSYS): Likewise.
2007-11-26Declare fsync also for Unix98.Ulrich Drepper3-3/+7
2007-11-26 Ulrich Drepper <drepper@redhat.com> * posix/unistd.h: Declare fsync also for Unix98.
2007-11-25memory allocation failed.Ulrich Drepper1-1/+1
2007-11-25Clear array before use.Ulrich Drepper6-2/+17
* nscd/hstcache.c (cache_addhst): Likewise. * nscd/grpcache.c (cache_addgr): Likewise. * nscd/servicescache.c (cache_addserv): Likewise. * nscd/pwdcache.c (cache_addpw): Likewise. * nscd/initgrcache.c (addinitgroupsX): Likewise.
2007-11-25* nscd/nscd.h (MAX_STACK_USE): Define.Ulrich Drepper5-7/+44
* nscd/mem.c (MAX_STACK_USE): Remove definition here. (gc): Initialize stack_used based on allocation in prune_cache. * nscd/cache.c (prune_cache): Use heap for mark array if necessary. Clear array bfore use. * nscd/aicache.c (addhstaiX): Update statistics counter in case memory allocate failed.
2007-11-24* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Add openUlrich Drepper2-0/+5
and creat system calls.
2007-11-24* sysdeps/unix/sysv/linux/check_native.c: Include <asm/types.h>.Ulrich Drepper2-2/+7
* nscd/mem.c (gc): Don't allocate arrays on the stack if they can Return zero in case the thread library is not NPTL.
2007-11-24* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S (__lll_timedlock_wait):Ulrich Drepper4-105/+65
Store 2 before returning ETIMEDOUT. * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise * sysdeps/unix/sysv/linux/lowlevellock.c: Likewise. (__lll_lock_wait_private): Optimize. (__lll_lock_wait): Likewise.
2007-11-23* sysdeps/s390/bits/string.h (strlen, strcpy, strncpy, strcat,Ulrich Drepper2-5/+18
strncat): Define as macros to avoid compile errors.
2007-11-23* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Add open andUlrich Drepper2-0/+8
creat entries.
2007-11-23* sysdeps/unix/sysv/linux/Makefile [subdir=inet] (sysdep_headers):Ulrich Drepper7-4/+66
Add netiucv/iucv.h. * sysdeps/unix/sysv/linux/netiucv/iucv.h: New file. * sysdeps/unix/sysv/linux/opensock.c (__opensock): Add AF_IUCV protocol. * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Likewise. * sysdeps/unix/sysv/linux/s390/opensock.c: New file. * sysdeps/unix/sysv/linux/s390/sa_len.c: New file.
2007-11-23Partially based on a patch by Petr Baudis <pasky@suse.cz>.Ulrich Drepper1-0/+1
2007-11-23[BZ #5382]Ulrich Drepper5-7/+65
* nscd/nscd.h (NSCD_THREAD_STACKSIZE): Define. * nscd/connections.c (start_threads): Use NSCD_THREAD_STACKSIZE. * nscd/mem.c (gc): Don't allocate arrays on stack if it can overflow it. * sysdeps/unix/sysv/linux/nscd_setup_thread.c (setup_thread): Return zero in case thread library is not NPTL.
2007-11-23[BZ #5375]Ulrich Drepper2-36/+48
* resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix locking when initializing interface list.
2007-11-23[BZ #5378]Ulrich Drepper2-4/+19
* nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't use result of nss_getgrgid_r if nothing was found. For other error return with a failure. Partially based on a patch by Petr Baudis <pasky@suse.cz>.
2007-11-22* locale/programs/ld-collate.c (collate_read): Fix loop to matchUlrich Drepper2-0/+7
macro name.
2007-11-20* sysdeps/pthread/pthread.h (pthread_cleanup_push,Ulrich Drepper2-2/+8
pthread_cleanup_push_defer_np): Add extra (void *) cast to shut up g++ 4.1 and 4.2 -Wstrict-aliasing warnings.
2007-11-20* sysdeps/posix/getaddrinfo.c (defaults_scopes, scopes): New variables.Ulrich Drepper7-13/+367
(get_scope): For IPv4 scope, use scopes table. (fini): Free scopes table if necessary. (free_scopelist): New function. (scopecmp): New function. (gaiconf_init): Also handle scopev4 entries. * posix/tst-rfc3484.c (do_test): Initialize scopes. * posix/tst-rfc3484-2.c (do_test): Likewise. * posix/gai.conf: Document scopev4 defaults. * posix/Makefile (tests): Add tst-rfc3484-3. * posix/tst-rfc3484-3.c: New file.
2007-11-19* sysdeps/posix/getaddrinfo.c (default_labels): Describe entry forUlrich Drepper2-0/+3
Teredo tunnels.
2007-11-19* posix/gai.conf: Update for current default tables.Ulrich Drepper2-9/+15
2007-11-19 Ulrich Drepper <drepper@redhat.com>
2007-11-19* po/tr.po: Update from translation team.Ulrich Drepper1-0/+4
2007-11-19Update from translation team.Ulrich Drepper1-275/+303
2007-11-19* manual/arith.texi (Remainder Functions): Spelling fix.Roland McGrath2-1/+4
From Shaun Silk <genix@mysoul.com.au>.
2007-11-18* sysdeps/mach/hurd/bits/fcntl.h (O_CLOEXEC): Fix value.Roland McGrath1-0/+4
2007-11-182007-11-18 Roland McGrath <roland@frob.com>Roland McGrath1-1/+3
* sysdeps/mach/hurd/bits/fcntl.h (O_CLOEXEC): Fix value.
2007-11-18* po/zh_CN.po: Update from translation team.Ulrich Drepper2-267/+300
2007-11-17* sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):Ulrich Drepper2-1/+6
Add sys/signalfd.h and sys/eventfd.h.
2007-11-17[BZ #5346]Ulrich Drepper1-0/+10
2007-11-15 Bruno Haible <bruno@clisp.org> [BZ #5346] * intl/dcigettext.c (struct known_translation_t): Turn msgid into a union. (transcmp): Use the appropriate part of s1->msgid and s2->msgid. (DCIGETTEXT): Change the allocation of the 'search' variable so that it needs only fixed stack space. Delay the initialization of msgid_len until it is needed.
2007-11-17(struct known_translation_t): Turn msgid into a union. (transcmp): Use the ↵Ulrich Drepper1-15/+19
appropriate part of s1->msgid and s2->msgid. (DCIGETTEXT): Change the allocation of the 'search' variable so that it needs only fixed stack space. Delay the initialization of msgid_len until it is needed.
2007-11-15Update.Andreas Jaeger1-0/+5
2007-11-15 Andreas Jaeger <aj@suse.de> * sysdeps/ieee754/dbl-64/sincos.tbl: Fix size of union. Reported by Christoph Quirin Lauter <christoph.lauter@ens-lyon.fr>.
2007-11-15Fix size of union.Andreas Jaeger1-2/+2
2007-11-15* po/ko.po: Update from translation team.Ulrich Drepper2-3768/+4274
2007-11-15* sysdeps/unix/sysv/linux/check_native.c (__check_native): SimplifyUlrich Drepper2-56/+21
significantly. The device type is also part of the ifinfomsg data.
2007-11-14* po/nl.po: Likewise.Ulrich Drepper3-540/+597
2007-11-14* po/sv.po: Update from translation team.Ulrich Drepper1-0/+2
2007-11-14* nscd/cache.c (prune_cache): If cache is empty, instruct callerUlrich Drepper2-2/+8
to wake up in 24 hours.
2007-11-14* nscd/gai.c (__ioctl): Define. Include check_native.c.Ulrich Drepper2-0/+6
2007-11-14* po/cs.po: Update from translation team.Ulrich Drepper3-534/+596
* po/pl.po: Likewise.
2007-11-14* include/ifaddrs.h: Remove in6ai_temporary.Ulrich Drepper8-75/+300
(struct in6addrinfo): Add index element. Declare __check_native. * inet/Makefile (aux): Add check_native. * sysdeps/unix/sysv/linux/check_native.c: New file. * sysdeps/unix/sysv/linux/check_pf.c: No need to recognize IFA_F_TEMPORARY. Pass back ifa_index. * sysdeps/posix/getaddrinfo.c: Remove netlink compatibility code. (rfc3484_sort): Add new parameter. Implement rule 7 correctly: call __check_native if necessary. (getaddrinfo): Fill in index field. Use qsort_r instead of qsort to sort addresses. Pass information about the results. * posix/tst-rfc3484.c: Adjust for addition of index field and change of rfc3484_sort interface. * posix/tst-rfc3484-2.c: Likewise.
2007-11-13* stdlib/stdlib.h: Define __compar_d_fn_t. Declare qsort_r.Ulrich Drepper7-21/+57
* include/stdlib.h: Add hidden_proto for qsort_t and adjust protoype for _quicksort. * stdlib/msort.c (qsort): Now a wrapper around qsort_r. (qsort_r): Renamed from qsort. Take additional parameter and pass it on as third parameter to compare function and _quicksort. * stdlib/qsort.c (_quicksort): Take additional parameter and pass on to the compare function. * stdlib/Versions [libc] (GLIBC_2.8): Add qsort_r. * Versions.def: Add GLIBC_2.8 for libc.
2007-11-13* posix/tst-rfc3484.c: Adjust for addition of prefixlen field.Ulrich Drepper3-0/+8
* posix/tst-rfc3484-2.c: Likewise.
2007-11-13* include/kernel-features.h: Moved to...Ulrich Drepper1-0/+5
* sysdeps/mach/hurd/kernel-features.h: ...here.
2007-11-13Hurd-specific kernel-features.h.Ulrich Drepper1-0/+0
2007-11-13* sysdeps/i386/i586/memcpy_chk.S: New file.Roland McGrath1-0/+6
* sysdeps/i386/i586/mempcpy_chk.S: Likewise. * sysdeps/i386/i586/memset_chk.S: Likewise.
2007-11-132007-09-13 H.J. Lu <hongjiu.lu@intel.com>Roland McGrath3-0/+3
* sysdeps/i386/i586/memcpy_chk.S: New file. * sysdeps/i386/i586/mempcpy_chk.S: Likewise. * sysdeps/i386/i586/memset_chk.S: Likewise.
2007-11-12* include/ifaddrs.c (struct in6addrinfo): Add prefixlen field.Ulrich Drepper3-147/+153
* sysdeps/unix/sysv/linux/check_pf.c (make_request): Always return list of interfaces. Also store prefix length. * sysdeps/posix/getaddrinfo.c (sort_result): Add prefixlen element. (rfc3484_sort): In rule 9, for IPv4 addresses count only matching prefix if source and destination address are in the same subnet. (getaddrinfo): Always call __check_pf. Fill in prefixlen field. Always look for matching record in in6ai list. Correct source_addr_len value for IPv6->IPv4 converted records.
2007-11-12(struct in6addrinfo): Add prefixlen field.Ulrich Drepper1-1/+3
2007-11-12* include/kernel-features.h: New file.Roland McGrath1-0/+4
2007-11-122007-11-11 Roland McGrath <roland@frob.com>Roland McGrath1-0/+31
* include/kernel-features.h: New file.