kopensolaris-gnu/glibc.git
12 years agoRemade for stable-2.7 fedora-glibc-20071017T2029
drepper [Wed, 17 Oct 2007 20:27:29 +0000 (20:27 +0000)]
Remade for stable-2.7

12 years ago.
drepper [Wed, 17 Oct 2007 20:27:09 +0000 (20:27 +0000)]
.

12 years ago(__GLIBC_MINOR__): Bump to 7.
drepper [Wed, 17 Oct 2007 20:26:55 +0000 (20:26 +0000)]
(__GLIBC_MINOR__): Bump to  7.

12 years ago.
drepper [Wed, 17 Oct 2007 20:25:29 +0000 (20:25 +0000)]
.

12 years ago(VERSION): Bump to 2.7.
drepper [Wed, 17 Oct 2007 20:24:49 +0000 (20:24 +0000)]
(VERSION): Bump to 2.7.

12 years ago.
drepper [Wed, 17 Oct 2007 20:23:20 +0000 (20:23 +0000)]
.

12 years ago(__tz_convert): Don't force testing for a change of TZ if not called
drepper [Wed, 17 Oct 2007 20:11:49 +0000 (20:11 +0000)]
(__tz_convert): Don't force testing for a change of TZ if not called
from localtime.  But then also see whether the file changed, in case
__use_tzfile is set.

12 years ago. fedora-glibc-20071017T2007
drepper [Wed, 17 Oct 2007 18:55:39 +0000 (18:55 +0000)]
.

12 years agoDefine F_DUPFD_CLOEXEC.
drepper [Wed, 17 Oct 2007 18:55:32 +0000 (18:55 +0000)]
Define F_DUPFD_CLOEXEC.

12 years ago.
drepper [Wed, 17 Oct 2007 16:05:34 +0000 (16:05 +0000)]
.

12 years ago(getaddrinfo): When sorting addresses and admin selects to be able to
drepper [Wed, 17 Oct 2007 16:05:12 +0000 (16:05 +0000)]
(getaddrinfo): When sorting addresses and admin selects to be able to
replace the gai.conf file, lock data structures around the qsort call.

12 years ago.
drepper [Wed, 17 Oct 2007 15:58:16 +0000 (15:58 +0000)]
.

12 years agoComment out code added in support of new memset.
drepper [Wed, 17 Oct 2007 15:58:06 +0000 (15:58 +0000)]
Comment out code added in support of new memset.

12 years agoImplement bzero unconditionally here.
drepper [Wed, 17 Oct 2007 15:57:28 +0000 (15:57 +0000)]
Implement bzero unconditionally here.

12 years ago.
drepper [Wed, 17 Oct 2007 15:44:30 +0000 (15:44 +0000)]
.

12 years agoRevert to old version for now. The cost is too high for the improvements.
drepper [Wed, 17 Oct 2007 15:44:19 +0000 (15:44 +0000)]
Revert to old version for now.  The cost is too high for the improvements.

12 years ago.
drepper [Wed, 17 Oct 2007 14:46:12 +0000 (14:46 +0000)]
.

12 years ago(__tzfile_read): Read POSIX TZ string if available even when time_t is 32-bit.
drepper [Wed, 17 Oct 2007 14:44:26 +0000 (14:44 +0000)]
(__tzfile_read): Read POSIX TZ string if available even when time_t is 32-bit.
(__tzfile_compute): Override POSIX TZ string STD/DST zone names
if timezone data read by __tzfile_default.  Ensure __tzname[0] is
always set after the search.

12 years ago * sysdeps/unix/sysv/linux/i386/i486/sem_post.S (__old_sem_post): New
jakub [Wed, 17 Oct 2007 14:34:44 +0000 (14:34 +0000)]
* sysdeps/unix/sysv/linux/i386/i486/sem_post.S (__old_sem_post): New
routine instead of an alias to __new_sem_post.

12 years agoHelp the compiler recognize unreachable code on 32-bit machines.
drepper [Tue, 16 Oct 2007 23:25:46 +0000 (23:25 +0000)]
Help the compiler recognize unreachable code on 32-bit machines.

12 years agoRegenerated: autoconf sysdeps/i386/elf/configure.in
drepper [Tue, 16 Oct 2007 22:54:34 +0000 (22:54 +0000)]
Regenerated: autoconf  sysdeps/i386/elf/configure.in

12 years agoInclude stdbool.h.
drepper [Tue, 16 Oct 2007 22:50:20 +0000 (22:50 +0000)]
Include stdbool.h.
(my_strftime): New wrapper, old function renamed to...
(__strftime_internal): ... new function.  Add tzset_called
argument, pass it down to recursive calls, don't call tzset ()
if already true, set to true after call to tzset ().

12 years ago(__tzfile_read): Take extra memory requested by caller
drepper [Tue, 16 Oct 2007 22:37:35 +0000 (22:37 +0000)]
(__tzfile_read): Take extra memory requested by caller
into account when copying TZ string.

12 years agoRegenerated: autoconf nptl/sysdeps/pthread/configure.in
drepper [Tue, 16 Oct 2007 22:24:30 +0000 (22:24 +0000)]
Regenerated: autoconf  nptl/sysdeps/pthread/configure.in

12 years agoRegenerated: autoconf sysdeps/x86_64/elf/configure.in
drepper [Tue, 16 Oct 2007 22:24:26 +0000 (22:24 +0000)]
Regenerated: autoconf  sysdeps/x86_64/elf/configure.in

12 years ago(__tzfile_compute): For use_last case set i to num_transition rather
drepper [Tue, 16 Oct 2007 14:18:39 +0000 (14:18 +0000)]
(__tzfile_compute): For use_last case set i to num_transition rather
than num_transitions - 1.

12 years ago * sysdeps/x86_64/memset.S (memset): Fix sse2_nt_move
jakub [Tue, 16 Oct 2007 09:23:09 +0000 (09:23 +0000)]
* sysdeps/x86_64/memset.S (memset): Fix sse2_nt_move
PIC indirect jump.

12 years ago * sysdeps/x86_64/memset.S: Jump from bzero to memset using
jakub [Tue, 16 Oct 2007 08:54:19 +0000 (08:54 +0000)]
* sysdeps/x86_64/memset.S: Jump from bzero to memset using
a local label rather than HIDDEN_JUMPTARGET.

12 years ago.
drepper [Tue, 16 Oct 2007 05:59:53 +0000 (05:59 +0000)]
.

12 years agoRewritten.
drepper [Tue, 16 Oct 2007 05:59:46 +0000 (05:59 +0000)]
Rewritten.

Use __x86_64_shared_cache_size.
Always define bzero.
Remove non-glibc code.

12 years ago(__x86_64_preferred_memory_instruction): New.
drepper [Tue, 16 Oct 2007 05:59:31 +0000 (05:59 +0000)]
(__x86_64_preferred_memory_instruction): New.
(init_cacheinfo): Initialize __x86_64_preferred_memory_instruction.

(__x86_64_shared_cache_size): Define.
(init_cacheinfo): Initialize it.

12 years agoMake an empty file.
drepper [Tue, 16 Oct 2007 05:59:15 +0000 (05:59 +0000)]
Make an empty file.

12 years ago.
roland [Tue, 16 Oct 2007 04:20:53 +0000 (04:20 +0000)]
.

12 years ago2007-10-15 Roland McGrath <roland@redhat.com>
roland [Tue, 16 Oct 2007 04:20:48 +0000 (04:20 +0000)]
2007-10-15  Roland McGrath  <roland@redhat.com>

* po/libc.pot: Regenerated.

12 years ago.
drepper [Mon, 15 Oct 2007 23:02:32 +0000 (23:02 +0000)]
.

12 years ago(REENTRANT_NAME): Mangle start and start_fct pointers.
drepper [Mon, 15 Oct 2007 23:02:24 +0000 (23:02 +0000)]
(REENTRANT_NAME): Mangle start and start_fct pointers.

12 years ago * init.c (__pthread_initialize_minimal): Initialize word to appease
jakub [Mon, 15 Oct 2007 20:25:25 +0000 (20:25 +0000)]
* init.c (__pthread_initialize_minimal): Initialize word to appease
valgrind.

12 years ago.
drepper [Mon, 15 Oct 2007 16:30:38 +0000 (16:30 +0000)]
.

12 years ago(getanswer_r): Fail with NSS_STATUS_NOTFOUND if the server replied
drepper [Mon, 15 Oct 2007 16:30:01 +0000 (16:30 +0000)]
(getanswer_r): Fail with NSS_STATUS_NOTFOUND if the server replied
with only a CNAME and no address record to T_A/T_AAAA requests.

12 years ago. fedora-glibc-20071015T0728
drepper [Mon, 15 Oct 2007 04:59:16 +0000 (04:59 +0000)]
.

12 years agoReimplement link_exists_p to use fstatat64.
drepper [Mon, 15 Oct 2007 04:59:03 +0000 (04:59 +0000)]
Reimplement link_exists_p to use fstatat64.

12 years ago.
drepper [Mon, 15 Oct 2007 04:22:46 +0000 (04:22 +0000)]
.

12 years agoAdd some branch prediction throughout.
drepper [Mon, 15 Oct 2007 04:22:38 +0000 (04:22 +0000)]
Add some branch prediction throughout.

12 years ago.
drepper [Mon, 15 Oct 2007 03:19:44 +0000 (03:19 +0000)]
.

12 years ago(nscd_getgr_r): Store result of successful read from nscd.
drepper [Mon, 15 Oct 2007 03:19:25 +0000 (03:19 +0000)]
(nscd_getgr_r): Store result of successful read from nscd.

12 years ago.
drepper [Sun, 14 Oct 2007 23:08:43 +0000 (23:08 +0000)]
.

12 years ago.
drepper [Sun, 14 Oct 2007 22:35:02 +0000 (22:35 +0000)]
.

12 years ago(do_test): Adjust for addition of service_order field to sorting structure.
drepper [Sun, 14 Oct 2007 22:34:45 +0000 (22:34 +0000)]
(do_test): Adjust for addition of service_order field to sorting structure.

12 years ago.
drepper [Sun, 14 Oct 2007 22:29:08 +0000 (22:29 +0000)]
.

12 years ago(do_test): Adjust for addition of service_order field to sorting structure.
drepper [Sun, 14 Oct 2007 22:28:54 +0000 (22:28 +0000)]
(do_test): Adjust for addition of service_order field to sorting structure.

12 years ago. fedora-glibc-20071014T2102
drepper [Sun, 14 Oct 2007 20:51:58 +0000 (20:51 +0000)]
.

12 years agoChange abmon, abday, and d_fmt according to results of vote.
drepper [Sun, 14 Oct 2007 20:50:56 +0000 (20:50 +0000)]
Change abmon, abday, and d_fmt according to results of vote.

12 years agoAllow use in pipeline.
drepper [Sun, 14 Oct 2007 20:40:09 +0000 (20:40 +0000)]
Allow use in pipeline.

12 years ago. fedora-glibc-20071014T1847
drepper [Sun, 14 Oct 2007 17:58:03 +0000 (17:58 +0000)]
.

12 years ago(struct sort_result): Add service_order.
drepper [Sun, 14 Oct 2007 17:57:55 +0000 (17:57 +0000)]
(struct sort_result): Add service_order.
(rfc3484_sort): Make sure that even of qsort doesn't support stable
sorting it is stable by comparing service_order.
(getaddrinfo): Initialize service_order.

12 years ago.
drepper [Sun, 14 Oct 2007 09:15:45 +0000 (09:15 +0000)]
.

12 years agoInformation in daylight and tzname does change for Asia/Tokyo timezone
drepper [Sun, 14 Oct 2007 09:15:36 +0000 (09:15 +0000)]
Information in daylight and tzname does change for Asia/Tokyo timezone
with more concrete information.  Remove the test.

12 years ago(__tzfile_read): Also read TZ string.
drepper [Sun, 14 Oct 2007 09:14:24 +0000 (09:14 +0000)]
(__tzfile_read): Also read TZ string.
(find_transition): Fold into __tzfile_compute.
(__tzfile_compute): For times beyond the last transition try to
use the TZ string.

12 years ago(tzset_internal): Break TZ string parsing out into
drepper [Sun, 14 Oct 2007 09:12:54 +0000 (09:12 +0000)]
(tzset_internal): Break TZ string parsing out into
__tzset_parse_tz and updating of daylight, timezone, tzname into
update_vars.
(__tz_compute): Renamed from tz_compute.  Take additional parameters.
(__tz_convert): Updating of tm_isdst, tm_zone, and tm_gmtoff now
happens in __tz_compute.

12 years agoDeclare __tzset_parse_tz and __tzset_compute.
drepper [Sun, 14 Oct 2007 09:09:12 +0000 (09:09 +0000)]
Declare __tzset_parse_tz and __tzset_compute.

12 years agoAdd libc_hidden_def.
drepper [Sun, 14 Oct 2007 09:08:29 +0000 (09:08 +0000)]
Add libc_hidden_def.

12 years agoAdd libc_hidden_proto for ftello.
drepper [Sun, 14 Oct 2007 09:08:19 +0000 (09:08 +0000)]
Add libc_hidden_proto for ftello.

12 years ago(nscd_getgr_r): Fix thinko in last change.
drepper [Sun, 14 Oct 2007 09:00:14 +0000 (09:00 +0000)]
(nscd_getgr_r): Fix thinko in last change.

12 years ago.
drepper [Sun, 14 Oct 2007 07:03:01 +0000 (07:03 +0000)]
.

12 years ago(__tzfile_compute): Compute tzname[] values based on the specified
drepper [Sun, 14 Oct 2007 07:02:40 +0000 (07:02 +0000)]
(__tzfile_compute): Compute tzname[] values based on the specified
time and not the last entries in the file.  Move code to determine tzname[]
to...
(find_transition): ...here.  Add ugly guess for times before the first
transition.

12 years ago.
drepper [Sat, 13 Oct 2007 23:04:40 +0000 (23:04 +0000)]
.

12 years agoSet errno to 0 in case we found no entry.
drepper [Sat, 13 Oct 2007 23:04:28 +0000 (23:04 +0000)]
Set errno to 0 in case we found no entry.

12 years agoFix comment.
drepper [Sat, 13 Oct 2007 19:03:17 +0000 (19:03 +0000)]
Fix comment.

12 years ago.
drepper [Sat, 13 Oct 2007 18:14:58 +0000 (18:14 +0000)]
.

12 years ago(nscd_getgr_r): Optimize a bit: use simpler read mechanism when there
drepper [Sat, 13 Oct 2007 18:14:49 +0000 (18:14 +0000)]
(nscd_getgr_r): Optimize a bit: use simpler read mechanism when there
are no group members and avoid no-op read syscall in this case.

12 years ago.
drepper [Sat, 13 Oct 2007 18:02:24 +0000 (18:02 +0000)]
.

12 years ago(wait_on_socket): Take timeout as parameter.
drepper [Sat, 13 Oct 2007 18:02:16 +0000 (18:02 +0000)]
(wait_on_socket): Take timeout as parameter.
(__readall): If reading failed due to EAGAIN error wait a bit
and possibly try again.
(__readvall): Likewise.

12 years ago.
drepper [Sat, 13 Oct 2007 17:06:29 +0000 (17:06 +0000)]
.

12 years ago(_nl_find_msg): Unlock the conversions_lock when we cannot recode the message.
drepper [Sat, 13 Oct 2007 17:05:56 +0000 (17:05 +0000)]
(_nl_find_msg): Unlock the conversions_lock when we cannot recode the message.

12 years ago.
drepper [Sat, 13 Oct 2007 07:33:09 +0000 (07:33 +0000)]
.

12 years ago(tests): Add tst-ext2.
drepper [Sat, 13 Oct 2007 07:32:50 +0000 (07:32 +0000)]
(tests): Add tst-ext2.

12 years agoTest for results of __freading and __fwriting immediately after fopen.
drepper [Sat, 13 Oct 2007 07:32:39 +0000 (07:32 +0000)]
Test for results of __freading and __fwriting immediately after fopen.

12 years ago.
drepper [Sat, 13 Oct 2007 07:20:46 +0000 (07:20 +0000)]
.

12 years ago(__freading): For read/write streams, check whether we performed a
drepper [Sat, 13 Oct 2007 07:20:16 +0000 (07:20 +0000)]
(__freading): For read/write streams, check whether we performed a
read operation already.

12 years ago(__freading): Better code for last change.
drepper [Sat, 13 Oct 2007 07:15:34 +0000 (07:15 +0000)]
(__freading): Better code for last change.

12 years ago.
drepper [Sat, 13 Oct 2007 07:11:11 +0000 (07:11 +0000)]
.

12 years ago(__freading): Don't return true for write-only streams.
drepper [Sat, 13 Oct 2007 07:10:21 +0000 (07:10 +0000)]
(__freading): Don't return true for write-only streams.

12 years ago.
drepper [Sat, 13 Oct 2007 05:26:27 +0000 (05:26 +0000)]
.

12 years ago(repertoire_read): Always free memory for repertoire file name.
drepper [Sat, 13 Oct 2007 05:26:06 +0000 (05:26 +0000)]
(repertoire_read): Always free memory for repertoire file name.

12 years ago.
drepper [Sat, 13 Oct 2007 05:22:30 +0000 (05:22 +0000)]
.

12 years ago(save_aux_cache): Free memory allocated for temporary file name.
drepper [Sat, 13 Oct 2007 05:21:59 +0000 (05:21 +0000)]
(save_aux_cache): Free memory allocated for temporary file name.

12 years ago * misc/Makefile (headers): Add bits/error.h.
jakub [Fri, 12 Oct 2007 21:18:17 +0000 (21:18 +0000)]
* misc/Makefile (headers): Add bits/error.h.

12 years ago.
drepper [Fri, 12 Oct 2007 17:47:19 +0000 (17:47 +0000)]
.

12 years agoTake rule index returned as part of findidx return value into account
drepper [Fri, 12 Oct 2007 17:47:13 +0000 (17:47 +0000)]
Take rule index returned as part of findidx return value into account
when accessing weights.

12 years ago.
drepper [Fri, 12 Oct 2007 15:54:54 +0000 (15:54 +0000)]
.

12 years ago(collate_read): Optimize a bit.
drepper [Fri, 12 Oct 2007 15:54:42 +0000 (15:54 +0000)]
(collate_read): Optimize a bit.
(skip_to): Fix problems with parameter of elifdef/elifndef.

12 years ago.
drepper [Fri, 12 Oct 2007 04:40:48 +0000 (04:40 +0000)]
.

12 years agoAdd some branch prediction.
drepper [Fri, 12 Oct 2007 04:40:33 +0000 (04:40 +0000)]
Add some branch prediction.

12 years ago.
drepper [Fri, 12 Oct 2007 00:31:29 +0000 (00:31 +0000)]
.

12 years ago(collate_read): If ignore_content and nowtok is tok_define, eat any
drepper [Fri, 12 Oct 2007 00:30:56 +0000 (00:30 +0000)]
(collate_read): If ignore_content and nowtok is tok_define, eat any
tok_eol tokens.

12 years ago * sysdeps/gnu/netinet/tcp.h: Include sys/socket.h if __USE_MISC. fedora-glibc-20071011T1636
jakub [Thu, 11 Oct 2007 16:32:13 +0000 (16:32 +0000)]
* sysdeps/gnu/netinet/tcp.h: Include sys/socket.h if __USE_MISC.
(struct tcp_md5sig): Change tcpm_addr type to struct sockaddr_storage.

* inet/netinet/in.h: Don't include bits/socket.h.
* sysdeps/unix/sysv/linux/bits/socket.h: Only check _SYS_SOCKET_H
macro.
* sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise.

12 years ago.
drepper [Thu, 11 Oct 2007 02:36:04 +0000 (02:36 +0000)]
.

12 years agoRevert last change.
drepper [Thu, 11 Oct 2007 02:35:31 +0000 (02:35 +0000)]
Revert last change.

12 years agoDefine DIACRIT_FORWARD.
drepper [Thu, 11 Oct 2007 02:35:08 +0000 (02:35 +0000)]
Define DIACRIT_FORWARD.

12 years agoIf DIACRIT_FORWARD is defined, define second level of <LATIN> script
drepper [Thu, 11 Oct 2007 02:34:49 +0000 (02:34 +0000)]
If DIACRIT_FORWARD is defined, define second level of <LATIN> script
as forward.