Roland McGrath
9daf276159
2007-10-15 Roland McGrath <roland@redhat.com>
...
* po/libc.pot: Regenerated.
2007-10-16 04:20:48 +00:00
Ulrich Drepper
d96a2216f6
* nss/getXXbyYY_r.c (REENTRANT_NAME): Mangle start and start_fct
...
pointers.
2007-10-15 23:02:32 +00:00
Ulrich Drepper
58058fa2e6
(REENTRANT_NAME): Mangle start and start_fct pointers.
2007-10-15 23:02:24 +00:00
Jakub Jelinek
e807818b5d
* init.c (__pthread_initialize_minimal): Initialize word to appease
...
valgrind.
2007-10-15 Jakub Jelinek <jakub@redhat.com>
* init.c (__pthread_initialize_minimal): Initialize word to appease
valgrind.
2007-10-15 20:25:25 +00:00
Ulrich Drepper
2884dad43c
[BZ #3425 ]
...
2007-10-15 Ulrich Drepper <drepper@redhat.com>
[BZ #3425 ]
* resolv/nss_dns/dns-host.c (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.
2007-10-15 16:30:38 +00:00
Ulrich Drepper
8d97ac1355
* posix/glob.c: Reimplement link_exists_p to use fstatat64.
2007-10-15 04:59:16 +00:00
Ulrich Drepper
1b6aa63f4e
* posix/glob.c: Add some branch prediction throughout.
2007-10-15 04:22:46 +00:00
Ulrich Drepper
895a08c089
* nscd/nscd_getgr_r.c (nscd_getgr_r): Store result of successful
...
read from nscd.
2007-10-15 03:19:44 +00:00
Ulrich Drepper
8d62c8ab01
(rfc3484_sort): Make sure that even if qsort doesn't support
...
stable sorting out sorting here is stable by comparing service_order.
2007-10-14 23:08:43 +00:00
Ulrich Drepper
dfcf64cedb
* posix/tst-rfc3484-2.c (do_test): Likewise.
2007-10-14 22:35:02 +00:00
Ulrich Drepper
a94673e616
* posix/tst-rfc3484.c (do_test): Adjust for addition of
...
service_order field to sorting structure.
2007-10-14 22:29:08 +00:00
Ulrich Drepper
c9eb73d902
[BZ #4098 ]
...
2007-10-14 Ulrich Drepper <drepper@redhat.com>
[BZ #4098 ]
* locales/pl_PL: Change abmon, abday, and d_fmt according to
results of vote.
2007-10-14 20:51:58 +00:00
Ulrich Drepper
6f55ed8885
* sysdeps/posix/getaddrinfo.c (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.
2007-10-14 17:58:03 +00:00
Ulrich Drepper
fa76dde2cf
* include/time.h: Declare __tzset_parse_tz and __tzset_compute.
...
* time/tzset.c (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.
* time/tzfile.c (__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.
* timezone/tst-timezone.c: Information in daylight and tzname does
change for Asia/Tokyo timezone with more concrete information.
Remove the test.
* include/stdio.h: Add libc_hidden_proto for ftello.
* libio/ftello.c: Add libc_hidden_def.
2007-10-14 09:15:45 +00:00
Ulrich Drepper
89dc9d4c5b
[BZ #1140 ]
...
2007-10-14 Ulrich Drepper <drepper@redhat.com>
[BZ #1140 ]
* time/tzfile.c (__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.
2007-10-14 07:03:01 +00:00
Ulrich Drepper
cfca0aa397
[BZ #3195 ]
...
* nscd/nscd_getai.c (__nscd_getai): Set errno to 0 in case we found
no entry.
* nscd/nscd_getgr.c (nscd_getgr_r): Likewise.
* nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
* nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
* nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2007-10-13 23:04:40 +00:00
Ulrich Drepper
43d3e6bd92
* nscd/nscd_getgr_r.c (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.
2007-10-13 18:14:58 +00:00
Ulrich Drepper
f7140274a4
[BZ #3242 ]
...
2007-10-13 Ulrich Drepper <drepper@redhat.com>
[BZ #3242 ]
* nscd/nscd_helper.c (wait_on_socket): Take timeout as parameter.
(__readall): If reading failed due to EAGAIN error wait a bit
and possibly try again.
(__readvall): Likewise.
2007-10-13 18:02:24 +00:00
Ulrich Drepper
656f02ce5b
* intl/dcigettext.c (_nl_find_msg): Unlock the conversions_lock
...
when we cannot recode the message.
2007-10-13 17:06:29 +00:00
Ulrich Drepper
7e39d8025d
* libio/Makefile (tests): Add tst-ext2.
...
* libio/tst-ext2.c: New file.
2007-10-13 07:33:09 +00:00
Ulrich Drepper
ed36f224c3
write-only streams. For read/write streams, check whether we
...
performed a read operation already.
2007-10-13 07:20:46 +00:00
Ulrich Drepper
0ea4967708
[BZ #4359 ]
...
2007-10-13 Ulrich Drepper <drepper@redhat.com>
[BZ #4359 ]
* libio/__freading.c (__freading): Don't return true for
write-only streams.
2007-10-13 07:11:11 +00:00
Ulrich Drepper
fab1a490ac
* locale/programs/repertoire.c (repertoire_read): Always free
...
memory for repertoire file name [Coverity CID 270].
2007-10-13 05:26:27 +00:00
Ulrich Drepper
78a9b2dc58
* elf/cache.c (save_aux_cache): Free memory allocated for
...
temporary file name [Coverity CID 267].
2007-10-13 05:22:30 +00:00
Ulrich Drepper
78d6dd72e5
(save_aux_cache): Free memory allocated for temporary file name.
2007-10-13 05:21:59 +00:00
Jakub Jelinek
29d49a1a66
* misc/Makefile (headers): Add bits/error.h.
...
2007-10-12 Jakub Jelinek <jakub@redhat.com>
* misc/Makefile (headers): Add bits/error.h.
2007-10-12 21:18:18 +00:00
Ulrich Drepper
b7d1c5fa30
* posix/fnmatch_loop.c: Take rule index returned as part of
...
findidx return value into account when accessing weights.
* posix/regcomp.c: Likewise.
* posix/regexec.c: Likewise.
2007-10-12 17:47:19 +00:00
Ulrich Drepper
d074d36dde
* locale/programs/ld-collate.c (collate_read): Optimize a bit.
...
(skip_to): Fix problems with parameter of elifdef/elifndef.
2007-10-12 15:54:54 +00:00
Ulrich Drepper
26a51060b1
* iconv/gconv_simple.c: Add some branch prediction.
2007-10-12 04:40:48 +00:00
Ulrich Drepper
6dd3748b5d
* locale/programs/ld-collate.c (collate_read): If ignore_content
...
and nowtok is tok_define, eat any tok_eol tokens.
2007-10-12 00:31:29 +00:00
Ulrich Drepper
52683814b9
(collate_read): If ignore_content and nowtok is tok_define, eat any tok_eol tokens.
2007-10-12 00:30:56 +00:00
Jakub Jelinek
d0b5557df8
* 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.
2007-10-11 Jakub Jelinek <jakub@redhat.com>
* 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.
2007-10-11 16:32:14 +00:00
Ulrich Drepper
3a054d7ab0
* locale/programs/locfile-token.h: Remove tok_elif, add tok_elifdef
...
and tok_elifndef.
* locale/programs/locfile-kw.gperf: Likewise.
* locale/programs/ld-collate.c: Implement primitive preprocessor.
2007-10-11 02:36:04 +00:00
Ulrich Drepper
069293a7e7
Remove tok_elif, add tok_elifdef and tok_elifndef.
2007-10-11 02:32:32 +00:00
Jakub Jelinek
d17af6b501
* locales/en_US: Add first_weekday and first_workday.
...
* locales/cs_CZ: Likewise.
* locales/fur_IT: Likewise.
* locales/fy_DE: Likewise.
* locales/hu_HU: Likewise.
* locales/i18n: Likewise.
* locales/li_BE: Likewise.
* locales/li_NL: Likewise.
* locales/nds_DE: Likewise.
* locales/nds_NL: Likewise.
* locales/pl_PL: Likewise.
* locales/sc_IT: Likewise.
* locales/sk_SK: Likewise.
2007-10-10 Jakub Jelinek <jakub@redhat.com>
* locales/en_US: Add first_weekday and first_workday.
* locales/cs_CZ: Likewise.
* locales/fur_IT: Likewise.
* locales/fy_DE: Likewise.
* locales/hu_HU: Likewise.
* locales/i18n: Likewise.
* locales/li_BE: Likewise.
* locales/li_NL: Likewise.
* locales/nds_DE: Likewise.
* locales/nds_NL: Likewise.
* locales/pl_PL: Likewise.
* locales/sc_IT: Likewise.
* locales/sk_SK: Likewise.
2007-10-10 20:46:54 +00:00
Ulrich Drepper
c06b7169e4
* stdio-common/printf-parse.h: Include string.h and wchar.h.
...
(__find_specwc): Change into __extern_always_inline function.
(__find_specmb): Likewise. Remove ps argument. Use __strchrnul.
(__parse_one_specmb): Remove ps argument.
* stdio-common/vfprintf.c (vfprintf): Remove mbstate variable.
Adjust __find_specmb and __parse_one_specmb callers.
* stdio-common/printf-prs.c (parse_printf_format): Likewise.
* stdio-common/printf-parsemb.c (__find_specwc, __find_specmb):
Removed.
(__parse_one_specmb): Remove ps argument, adjust __find_specmb
caller.
2007-10-10 20:14:12 +00:00
Ulrich Drepper
59d430c680
* sysdeps/pthread/bits/libc-lock.h (__libc_rwlock_init): Inside of
...
libc.so just clear NAME.
(__libc_rwlock_fini): Nop inside of libc.so.
* tst-initializers1.c (main): Test if PTHREAD_RWLOCK_INITIALIZER is
all zeros.
2007-10-10 16:00:14 +00:00
Ulrich Drepper
5a01ab7b83
* sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Work around problem
...
with some Pentium Ds.
2007-10-10 01:22:45 +00:00
Ulrich Drepper
7753717472
* locales/de_DE: Set first week day to Monday.
...
* locales/fr_FR: Likewise.
2007-10-09 22:24:30 +00:00
Ulrich Drepper
e3f8e04910
* sysdeps/unix/sysv/linux/eventfd_read.c (eventfd_read): Use
...
__read not read.
* sysdeps/unix/sysv/linux/eventfd_write.c (eventfd_write): Use
__write not write.
2007-10-09 03:56:53 +00:00
Ulrich Drepper
64ba41bcc6
[BZ #73 ]
...
2007-10-07 Ulrich Drepper <drepper@redhat.com>
[BZ #73 ]
* locales/nb_NO: Update time information, collation, thousands
separator.
* locales/nn_NO: Likewise.
2007-10-07 22:09:38 +00:00
Ulrich Drepper
659a9013d4
* locale/programs/ld-time.c (time_finish): Default for
...
first_workday is Monday.
2007-10-07 20:39:44 +00:00
Ulrich Drepper
a1160714c8
[BZ #181 ]
...
* locale/C-time.c: Set week_1stday data to 19971201.
2007-10-07 20:36:07 +00:00
Ulrich Drepper
bb27a6ebf7
[BZ #2633 ]
...
* wcsmbs/wchar.h: Move many C99 functions into std namespace.
2007-10-07 20:30:24 +00:00
Ulrich Drepper
c8d48faef0
[BZ #5103 ]
...
* posix/glob.c (glob): Recognize patterns starting \/.
* posix/tst-gnuglob.c (find_file): Handle absolute path names.
(main): Add test for pattern starting \/.
2007-10-07 18:54:52 +00:00
Ulrich Drepper
a1a363d20c
* misc/error.h: Use __const instead of const.
...
* misc/bits/error.h: Likewise.
2007-10-07 Andreas Jaeger <aj@suse.de>
* include/bits/error.h: New file.
* misc/bits/error.h (error_at_line): Fix prototype.
2007-10-07 17:29:37 +00:00
Ulrich Drepper
a6fa53288f
[BZ #3924 ]
...
* sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix a few
more little bugs in creating the stack frame when pltexit has to
be called.
2007-10-07 05:31:00 +00:00
Ulrich Drepper
506073094c
* nscd/connections.c (verify_persistent_db): Recognize circular lists.
2007-10-06 19:03:13 +00:00
Ulrich Drepper
8c7661bcd3
* nscd/nscd_helper.c (__nscd_cache_search): Prevent endless loops.
2007-10-06 18:47:56 +00:00
Ulrich Drepper
c039eedd66
[BZ #4407 ]
...
* sysdeps/ieee754/dbl-64/e_lgamma_r.c: Fix *signgamp for -0.0.
* sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
* math/libm-test.inc: Add test for this case.
Half the patch by Christian Iseli <christian.iseli@licr.org>.
2007-10-06 18:37:30 +00:00