kopensolaris-gnu/glibc.git
11 years ago. fedora-glibc-20080613T1601
drepper [Fri, 13 Jun 2008 06:08:54 +0000 (06:08 +0000)]
.

11 years agoPass reference to tzset_called around to handle recursive calls.
drepper [Fri, 13 Jun 2008 06:08:31 +0000 (06:08 +0000)]
Pass reference to tzset_called around to handle recursive calls.

(__strftime_internal): Call tzset() only when printing
timezone-dependent values.

11 years ago.
drepper [Fri, 13 Jun 2008 04:36:35 +0000 (04:36 +0000)]
.

11 years ago(gaih_getanswer): Don't unconditionally use second gaih_getanswer_slice result.
drepper [Fri, 13 Jun 2008 04:34:48 +0000 (04:34 +0000)]
(gaih_getanswer): Don't unconditionally use second gaih_getanswer_slice result.

11 years ago.
drepper [Fri, 13 Jun 2008 02:12:05 +0000 (02:12 +0000)]
.

11 years ago.
drepper [Fri, 13 Jun 2008 01:18:22 +0000 (01:18 +0000)]
.

11 years agoAvoid using cr[34] registers.
drepper [Fri, 13 Jun 2008 01:18:11 +0000 (01:18 +0000)]
Avoid using cr[34] registers.

11 years ago.
drepper [Thu, 12 Jun 2008 22:40:27 +0000 (22:40 +0000)]
.

11 years ago[subdir=nscd] (CFLAGS-connections.c): Add -DHAVE_INOTIFY.
drepper [Thu, 12 Jun 2008 22:40:01 +0000 (22:40 +0000)]
[subdir=nscd] (CFLAGS-connections.c): Add -DHAVE_INOTIFY.

11 years ago(prune_cache): Don't stat files for databases if inotify is used.
drepper [Thu, 12 Jun 2008 22:39:47 +0000 (22:39 +0000)]
(prune_cache): Don't stat files for databases if inotify is used.

11 years ago(inotify_fd): New variable.
drepper [Thu, 12 Jun 2008 22:39:35 +0000 (22:39 +0000)]
(inotify_fd): New variable.
(nscd_init): Try to open an inotify descriptor.
If successful, watch files for databases using inotify instead of
having prune threads stat the files.
(nscd_run_prune): Recognize clear_cache flag being set and call
prune_cache appropriately.
(main_loop_poll): Add inotify descriptor to wait set and handle the
reported changes.
(main_loop_epoll): Likewise.

11 years ago(struct database_dyn): Add inotify_descr and clear_cache fields.
drepper [Thu, 12 Jun 2008 22:39:21 +0000 (22:39 +0000)]
(struct database_dyn): Add inotify_descr and clear_cache fields.

11 years ago. fedora-glibc-20080612T1619
drepper [Thu, 12 Jun 2008 16:16:38 +0000 (16:16 +0000)]
.

11 years agoRevert inadvertent checkin.
drepper [Thu, 12 Jun 2008 16:15:30 +0000 (16:15 +0000)]
Revert inadvertent checkin.

11 years ago.
drepper [Thu, 12 Jun 2008 16:05:26 +0000 (16:05 +0000)]
.

11 years ago(cache_addserv): Correctly compute size of fixed-size portion of the record.
drepper [Thu, 12 Jun 2008 16:04:37 +0000 (16:04 +0000)]
(cache_addserv): Correctly compute size of fixed-size portion of the record.

11 years ago(cache_addpw): Correctly compute size of fixed-size portion of the record.
drepper [Thu, 12 Jun 2008 16:04:22 +0000 (16:04 +0000)]
(cache_addpw): Correctly compute size of fixed-size portion of the record.

11 years ago(addinitgroupsX): Correctly compute size of fixed-size portion of the record.
drepper [Thu, 12 Jun 2008 16:04:05 +0000 (16:04 +0000)]
(addinitgroupsX): Correctly compute size of fixed-size portion of the record.

11 years ago(cache_addgr): Correctly compute size of fixed-size portion of the record.
drepper [Thu, 12 Jun 2008 16:03:36 +0000 (16:03 +0000)]
(cache_addgr): Correctly compute size of fixed-size portion of the record.

11 years ago.
drepper [Thu, 12 Jun 2008 04:52:39 +0000 (04:52 +0000)]
.

11 years ago(gc): Initialize obstack earlier so that if we jump out we don't use
drepper [Thu, 12 Jun 2008 04:52:27 +0000 (04:52 +0000)]
(gc): Initialize obstack earlier so that if we jump out we don't use
uninitialized memory.

11 years ago(cache_addhst): Send correct number of bytes to the client.
drepper [Thu, 12 Jun 2008 04:51:51 +0000 (04:51 +0000)]
(cache_addhst): Send correct number of bytes to the client.

11 years ago.
drepper [Tue, 10 Jun 2008 22:36:45 +0000 (22:36 +0000)]
.

11 years ago(gaih_getanswer_slice): Also log and ignore T_DNAME messages.
drepper [Tue, 10 Jun 2008 22:35:22 +0000 (22:35 +0000)]
(gaih_getanswer_slice): Also log and ignore T_DNAME messages.

11 years ago(T_DNAME): Define.
drepper [Tue, 10 Jun 2008 22:35:01 +0000 (22:35 +0000)]
(T_DNAME): Define.

11 years ago * misc/regexp.h (compile): Use __REPB_PREFIX macro.
jakub [Fri, 6 Jun 2008 19:23:39 +0000 (19:23 +0000)]
* misc/regexp.h (compile): Use __REPB_PREFIX macro.
Avoid segfault if first GETC returns eof/'\0'/'\n'.

11 years ago * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Pass cp
jakub [Tue, 3 Jun 2008 10:22:51 +0000 (10:22 +0000)]
* nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Pass cp
instead of portstr to nscd_getserv_r.  Patch by
Roman Kagan <rkagan@mail.ru>.

11 years ago(tests): Add tst-rwlock2a.
drepper [Sat, 31 May 2008 08:56:14 +0000 (08:56 +0000)]
(tests): Add tst-rwlock2a.

11 years agoUse TYPE macro to decide what type of rwlock to use.
drepper [Sat, 31 May 2008 08:55:54 +0000 (08:55 +0000)]
Use TYPE macro to decide what type of rwlock to use.

11 years agoMore simple rwlock tests, for writer preferred.
drepper [Sat, 31 May 2008 08:55:27 +0000 (08:55 +0000)]
More simple rwlock tests, for writer preferred.

11 years ago.
drepper [Thu, 29 May 2008 14:53:01 +0000 (14:53 +0000)]
.

11 years agoFix typo in comment.
drepper [Thu, 29 May 2008 14:52:39 +0000 (14:52 +0000)]
Fix typo in comment.

11 years ago.
drepper [Thu, 29 May 2008 05:53:30 +0000 (05:53 +0000)]
.

11 years ago(do_clone): Pass accurate length of CPU set to the kernel.
drepper [Thu, 29 May 2008 05:53:18 +0000 (05:53 +0000)]
(do_clone): Pass accurate length of CPU set to the kernel.

11 years agotypo
roland [Wed, 28 May 2008 00:18:33 +0000 (00:18 +0000)]
typo

11 years ago.
drepper [Tue, 27 May 2008 06:04:07 +0000 (06:04 +0000)]
.

11 years agoAdd cfi directives.
drepper [Tue, 27 May 2008 06:03:39 +0000 (06:03 +0000)]
Add cfi directives.

11 years agoAdd cfi directives.
drepper [Tue, 27 May 2008 05:58:43 +0000 (05:58 +0000)]
Add cfi directives.

11 years ago.
drepper [Tue, 27 May 2008 05:37:40 +0000 (05:37 +0000)]
.

11 years agoRemove useless if test before free.
drepper [Tue, 27 May 2008 05:37:32 +0000 (05:37 +0000)]
Remove useless if test before free.

11 years ago.
drepper [Mon, 26 May 2008 17:02:55 +0000 (17:02 +0000)]
.

11 years agoExplicitly check __SIZEOF_PTHREAD_* constants.
drepper [Mon, 26 May 2008 17:02:42 +0000 (17:02 +0000)]
Explicitly check __SIZEOF_PTHREAD_* constants.

11 years ago.
drepper [Sun, 25 May 2008 00:17:34 +0000 (00:17 +0000)]
.

11 years ago(strop-tests): Add memmem.
drepper [Sun, 25 May 2008 00:17:27 +0000 (00:17 +0000)]
(strop-tests): Add memmem.

11 years ago(BUF1PAGES): Define to 1 if undefined.
drepper [Sun, 25 May 2008 00:17:17 +0000 (00:17 +0000)]
(BUF1PAGES): Define to 1 if undefined.
(test_init): Size buf1 according to BUF1PAGES.

11 years agoTest for memmem correctness and performance.
drepper [Sun, 25 May 2008 00:17:07 +0000 (00:17 +0000)]
Test for memmem correctness and performance.

11 years ago. fedora-glibc-20080524T2218
drepper [Sat, 24 May 2008 19:17:41 +0000 (19:17 +0000)]
.

11 years ago * libio/stdio.h (vscanf): Fix -std=c99 redirect.
jakub [Sat, 24 May 2008 18:14:36 +0000 (18:14 +0000)]
* libio/stdio.h (vscanf): Fix -std=c99 redirect.
* stdio-common/Makefile (tests): Add scanf16 and scanf17.
(CFLAGS-scanf17.c): New.
* stdio-common/scanf14.c (main): Add fscanf and scanf tests.
* stdio-common/scanf15.c (main): Likewise.
* stdio-common/scanf16.c: New test.
* stdio-common/scanf17.c: New test.

11 years ago.
drepper [Sat, 24 May 2008 17:51:45 +0000 (17:51 +0000)]
.

11 years ago(send_dg): Fix ignoring timeout or failure.
drepper [Sat, 24 May 2008 17:51:36 +0000 (17:51 +0000)]
(send_dg): Fix ignoring timeout or failure.

11 years ago(send_dg): If we already have one of two answers and the server reports
drepper [Sat, 24 May 2008 17:35:58 +0000 (17:35 +0000)]
(send_dg): If we already have one of two answers and the server reports
SERVFAI, NOTIMP, or REFUSED, then use the one answer insted of failing.

11 years ago.
drepper [Thu, 22 May 2008 20:00:18 +0000 (20:00 +0000)]
.

11 years agoWork around braindead IBM128 long double format.
drepper [Thu, 22 May 2008 19:59:10 +0000 (19:59 +0000)]
Work around braindead IBM128 long double format.

11 years ago.
roland [Thu, 22 May 2008 00:04:21 +0000 (00:04 +0000)]
.

11 years ago2008-05-21 Roland McGrath <roland@redhat.com>
roland [Thu, 22 May 2008 00:03:50 +0000 (00:03 +0000)]
2008-05-21  Roland McGrath  <roland@redhat.com>

* shlib-versions (sparc.*-.*-.*, sparc64.*-.*-.*): Add ABI lines.

11 years ago2008-05-21 Roland McGrath <roland@redhat.com>
roland [Thu, 22 May 2008 00:03:43 +0000 (00:03 +0000)]
2008-05-21  Roland McGrath  <roland@redhat.com>

* Makefile (check-data): Use $(abi-name) before other guesses.
Look in $(add-ons) dirs before scripts/data/.
* elf/Makefile (check-data): Likewise.

11 years ago2008-05-21 Roland McGrath <roland@redhat.com>
roland [Thu, 22 May 2008 00:03:36 +0000 (00:03 +0000)]
2008-05-21  Roland McGrath  <roland@redhat.com>

* scripts/soversions.awk: Grok ABI line.
* Makeconfig ($(common-objpfx)soversions.mk): Likewise.
Emit definition for abi-name variable.

11 years ago.
drepper [Wed, 21 May 2008 23:39:35 +0000 (23:39 +0000)]
.

11 years agoDefine new fixed-size hto* and *toh macros only is __USE_BSD.
drepper [Wed, 21 May 2008 23:39:29 +0000 (23:39 +0000)]
Define new fixed-size hto* and *toh macros only is __USE_BSD.

11 years ago.
drepper [Wed, 21 May 2008 22:45:53 +0000 (22:45 +0000)]
.

11 years agoAdd localedata.
drepper [Wed, 21 May 2008 22:45:28 +0000 (22:45 +0000)]
Add localedata.

11 years ago.
roland [Wed, 21 May 2008 19:37:15 +0000 (19:37 +0000)]
.

11 years ago2008-05-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
roland [Wed, 21 May 2008 19:37:10 +0000 (19:37 +0000)]
2008-05-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>

* bits/termios.h (ONLCR): Define under [__USE_XOPEN] too.

11 years agoRemove U0C0D entry added for Telugu.
drepper [Wed, 21 May 2008 15:13:02 +0000 (15:13 +0000)]
Remove U0C0D entry added for Telugu.

11 years ago.
drepper [Wed, 21 May 2008 15:12:48 +0000 (15:12 +0000)]
.

11 years ago * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S: Use
jakub [Wed, 21 May 2008 09:29:04 +0000 (09:29 +0000)]
* sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S: Use
HIDDEN_JUMPTARGET.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
(__SYSCALL_CLOBBERS): Remove %g* registers.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
(__SYSCALL_CLOBBERS): Likewise.
* scripts/data/localplt-sparc-linux-gnu.data: New file.
* scripts/data/localplt-sparc64-linux-gnu.data: Likewise.

11 years ago * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
jakub [Wed, 21 May 2008 08:48:20 +0000 (08:48 +0000)]
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
(CALL_ERRNO_LOCATION): Define.
(__SYSCALL_STRING, __CLONE_SYSCALL_STRING): Use it.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
(CALL_ERRNO_LOCATION): Define.
(__SYSCALL_STRING, __CLONE_SYSCALL_STRING): Use it.
* sysdeps/unix/sysv/linux/sparc/sparc64/brk.S (__brk): Use
HIDDEN_JUMPTARGET for __errno_location call in libc.so.

11 years ago.
jakub [Wed, 21 May 2008 06:47:47 +0000 (06:47 +0000)]
.

11 years ago.
drepper [Tue, 20 May 2008 22:57:05 +0000 (22:57 +0000)]
.

11 years ago(higher_prime_number): Fix type of mid variable.
drepper [Tue, 20 May 2008 22:55:47 +0000 (22:55 +0000)]
(higher_prime_number): Fix type of mid variable.

11 years ago * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h fedora-glibc-20080520T1924
jakub [Tue, 20 May 2008 19:22:59 +0000 (19:22 +0000)]
* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
(FIRST_FRAME_POINTER): Define.
* sysdeps/sparc/sparc64/backtrace.c: New file.

11 years ago * sysdeps/sparc/machine-gmon.h: New file.
jakub [Tue, 20 May 2008 07:48:49 +0000 (07:48 +0000)]
* sysdeps/sparc/machine-gmon.h: New file.
* sysdeps/sparc/sparc-mcount.S: Likewise.
* sysdeps/sparc/Makefile: Add sparc-mcount target to
sysdep_routines in gmon directory.

11 years ago * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: New file.
jakub [Tue, 20 May 2008 07:41:59 +0000 (07:41 +0000)]
* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: New file.

11 years ago * elf/soinit.c (__EH_FRAME_BEGIN__): Remove.
jakub [Mon, 19 May 2008 18:43:35 +0000 (18:43 +0000)]
* elf/soinit.c (__EH_FRAME_BEGIN__): Remove.

11 years ago.
drepper [Mon, 19 May 2008 17:34:14 +0000 (17:34 +0000)]
.

11 years ago(__libc_res_nquery): In case one of two answer was too short don't try
drepper [Mon, 19 May 2008 17:34:04 +0000 (17:34 +0000)]
(__libc_res_nquery): In case one of two answer was too short don't try
to read that answer's header.

11 years ago(send_dg): In case of timeout and there are two queries and one has
drepper [Mon, 19 May 2008 17:31:04 +0000 (17:31 +0000)]
(send_dg): In case of timeout and there are two queries and one has
been answered, return value indicating success.

11 years ago.
drepper [Sun, 18 May 2008 21:54:43 +0000 (21:54 +0000)]
.

11 years ago(restart): Really disable cache use beforeexec attempt. If it fails,
drepper [Sun, 18 May 2008 21:54:26 +0000 (21:54 +0000)]
(restart): Really disable cache use beforeexec attempt.  If it fails,
reenable cache.
(nscd_run_prune): Initialize wakeup_time.  After wakeup, set wakeup
time to max to be able to notice concurrent cache additions.  Unlock
prune_lock while performing gc.  Afterwards compute wakeup time with
current wakeup_time value in mind.

11 years agoAdjust cache_add calls.
drepper [Sun, 18 May 2008 21:54:07 +0000 (21:54 +0000)]
Adjust cache_add calls.

11 years agoAdjust cache_add prototypes.
drepper [Sun, 18 May 2008 21:53:48 +0000 (21:53 +0000)]
Adjust cache_add prototypes.

11 years ago(cache_add): Take additional parameter specifying
drepper [Sun, 18 May 2008 21:53:38 +0000 (21:53 +0000)]
(cache_add): Take additional parameter specifying
whether this is in response of a cache refill.  Check alignment
of package data.  Revamp waking of pruning thread.
(prune_cache): Small optimization.

11 years ago. fedora-glibc-20080518T1017
drepper [Sun, 18 May 2008 06:29:10 +0000 (06:29 +0000)]
.

11 years ago(gc): Avoid stack overflow when allocating move list.
drepper [Sun, 18 May 2008 06:28:54 +0000 (06:28 +0000)]
(gc): Avoid stack overflow when allocating move list.

11 years ago.
drepper [Sun, 18 May 2008 04:25:44 +0000 (04:25 +0000)]
.

11 years ago(gc): Correctly determine highest used array element in mark.
drepper [Sun, 18 May 2008 04:25:36 +0000 (04:25 +0000)]
(gc): Correctly determine highest used array element in mark.

11 years ago.
drepper [Sun, 18 May 2008 04:17:14 +0000 (04:17 +0000)]
.

11 years ago(markrange): Add assert to check entries are all aligned. Small
drepper [Sun, 18 May 2008 04:16:23 +0000 (04:16 +0000)]
(markrange): Add assert to check entries are all aligned.  Small
cleanup in bitmap use.

11 years ago.
drepper [Sun, 18 May 2008 03:57:19 +0000 (03:57 +0000)]
.

11 years ago(gc): Simplify markrange call for on-flight blocks.
drepper [Sun, 18 May 2008 03:57:06 +0000 (03:57 +0000)]
(gc): Simplify markrange call for on-flight blocks.
(mempoll_alloc): Record block offset and not address.

11 years ago(mem_in_flight): Replace blockaddr field with blockoff of type nscd_ssize_t.
drepper [Sun, 18 May 2008 03:55:50 +0000 (03:55 +0000)]
(mem_in_flight): Replace blockaddr field with blockoff of type nscd_ssize_t.

11 years ago.
drepper [Sun, 18 May 2008 02:45:46 +0000 (02:45 +0000)]
.

11 years ago(gc): Fix test for stack overuse.
drepper [Sun, 18 May 2008 02:45:37 +0000 (02:45 +0000)]
(gc): Fix test for stack overuse.

11 years ago.
drepper [Sat, 17 May 2008 22:51:15 +0000 (22:51 +0000)]
.

11 years ago(addhstaiX): Fix a few small problems, cleanups, more asserts.
drepper [Sat, 17 May 2008 22:51:08 +0000 (22:51 +0000)]
(addhstaiX): Fix a few small problems, cleanups, more asserts.

11 years ago.
drepper [Sat, 17 May 2008 21:44:56 +0000 (21:44 +0000)]
.

11 years ago(gaih_inet): If nscd reports no entry is available, believe it.
drepper [Sat, 17 May 2008 21:44:48 +0000 (21:44 +0000)]
(gaih_inet): If  nscd reports no entry is available, believe it.

11 years ago.
drepper [Sat, 17 May 2008 19:54:58 +0000 (19:54 +0000)]
.

11 years ago(gaih_getanswer_slice): If there are no answers return NSS_STATUS_NOTFOUND.
drepper [Sat, 17 May 2008 19:54:48 +0000 (19:54 +0000)]
(gaih_getanswer_slice): If there are no answers return NSS_STATUS_NOTFOUND.
(gaih_getanswer): Don't call gaih_getanswer_slice if the answer buffer
does not have any content.

11 years ago. fedora-glibc-20080516T2152
drepper [Fri, 16 May 2008 18:19:18 +0000 (18:19 +0000)]
.