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
Ulrich Drepper
718946816c
[BZ #5010 ]
...
2007-10-06 Ulrich Drepper <drepper@redhat.com>
[BZ #5010 ]
* sunrpc/svc.c (struct svc_callout): Add sc_mapped element.
(svc_register): Initialize sc_mapped. Set to TRUE if call to
map service succeeded.
(svc_is_mapped): New function.
(svc_unregister): Use it before trying to unmap service.
2007-10-06 17:31:01 +00:00
Ulrich Drepper
d10737e480
[BZ #5063 ]
...
* timezone/zic.c: Update from tzcode2007h.
[BZ #5063 ]
* timezone/africa: Update from tzdata2007h.
* timezone/antarctica: Likewise.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.
* timezone/leapseconds: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timzeone/zone.tab: Likewise.
* sysdeps/unix/sysv/linux/Versions: Export eventfd, eventfd_read,
2007-10-05 21:58:14 +00:00
Ulrich Drepper
0304f168ce
[BZ #5104 ]
...
* elf/do-lookup.h (do_lookup_x): Don't ignore STT_COMMON symbols.
2007-10-05 21:25:32 +00:00
Ulrich Drepper
a83b5649c5
[BZ #5113 ]
...
* string/bits/string2.h (__strdup): Cast parameters to calloc to
avoid warning with -Wconversion.
(__strndup): Likewise.
Patch to 50% by Christian Iseli <christian.iseli@licr.org>.
2007-10-05 21:21:08 +00:00
Ulrich Drepper
3e6ce4d77e
[BZ #5112 ]
...
* nscd/connections.c (restart): Don't resync if database is
disabled. Patch mostly by Brian De Wolf <bldewolf@csupomona.edu>.
2007-10-05 21:12:46 +00:00
Ulrich Drepper
6789aaaa97
2007-10-04 Jakub Jelinek <jakub@redhat.com>
...
2007-10-03 Jakub Jelinek <jakub@redhat.com>
2007-10-05 20:32:30 +00:00
Ulrich Drepper
8e351378b7
* sysdeps/gnu/netinet/tcp.h: Define TCP_MD5SIG, TCP_MD5SIG_MAXKEYLEN,
...
struct tcp_md5sig. Extend struct tcp_info according to recent kernels.
* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add eventfd,
evetnfd_read, eventfd_write.
* sysdeps/unix/sysv/linux/eventfd.c: New file.
* sysdeps/unix/sysv/linux/eventfd_read.c: New file.
* sysdeps/unix/sysv/linux/eventfd_write.c: New file.
* sysdeps/unix/sysv/linux/sys/eventfd.h: New file.
* sysdeps/unix/sysv/linux/Versions: Export eventfd, evetnfd_read,
eventfd_write for GLIBC_2.7.
2007-10-05 18:55:57 +00:00
Ulrich Drepper
34c2c09296
* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add signalfd.
...
* sysdeps/unix/sysv/linux/signalfd.c: New file.
* sysdeps/unix/sysv/linux/sys/signalfd.h: New file.
* sysdeps/unix/sysv/linux/Versions: Export signalfd for GLIBC_2.7.
2007-10-05 16:31:37 +00:00
Ulrich Drepper
375d942968
2007-10-04 Jakub Jelinek
...
* stdlib/msort.c: Include stdint.h.
(struct msort_param): New type.
(msort_with_tmp): Use struct msort_param pointer for unchanging
parameters. Add optimized handling for several common sizes
and indirect sorting mode.
(qsort): Adjust msort_with_tmp callers. For big S use indirect
sorting.
Suggested by Belazougui Djamel .
* stdlib/Makefile (tests): Add tst-qsort2.
* stdlib/tst-qsort2.c: New test.
2007-10-05 06:50:35 +00:00
Ulrich Drepper
174420d2bc
* login/login_tty.c (login_tty): The Linux kernel can return EBUSY
...
for dup2 in case another thread races with the current one. Retry
in this case.
2007-10-04 21:54:22 +00:00
Ulrich Drepper
b80bfc8b53
* misc/error.h: Remove support for use outside of libc. We have to
...
include <features.h> now. Include <bits/error.h> if possible.
* misc/bits/error.h: New file.
2007-10-04 18:07:28 +00:00
Ulrich Drepper
fae56ce808
Specializations of error functions.
2007-10-04 17:49:25 +00:00
Jakub Jelinek
b632f9a816
* tst-langinfo.sh: Update expected THOUSEP for fr_FR.
...
2007-10-04 Jakub Jelinek <jakub@redhat.com>
* tst-langinfo.sh: Update expected THOUSEP for fr_FR.
2007-10-03 22:47:18 +00:00
Ulrich Drepper
e5dd21787d
* string/bits/string3.h (memcpy, memmove, mempcpy, memset, bcopy,
...
bzero, strcpy, stpcpy, strncpy, strcat, strncat): Use
__extern_always_inline functions unconditionally, drop macros.
2007-10-03 18:33:57 +00:00
Ulrich Drepper
ac97dec17a
* misc/sys/cdefs.h (__REDIRECT_LDBL, __REDIRECT_NTH_LDBL): New macros.
...
* wcsmbs/bits/wchar2.h (__swprintf_alias, __vswprintf_alias): Use
__REDIRECT_NTH_LDBL macro rather than __REDIRECT_NTH.
2007-10-03 18:27:30 +00:00
Ulrich Drepper
ee868c89ae
2007-10-03 Jakub Jelinek
...
* misc/sys/cdefs.h (__extern_always_inline): For GCC 4.3+
add __artificial__ attribute.
2007-10-03 18:13:55 +00:00
Ulrich Drepper
6e682cf5c1
* string/strcoll_l.c (STRCOLL): Correct handling of switching from
...
backward to forward direction.
2007-10-02 18:02:25 +00:00
Ulrich Drepper
90241a2024
* string/strcoll_l.c (STRCOLL): Correct test for alloca use.
2007-10-02 17:19:53 +00:00
Ulrich Drepper
33a667def7
* de_DE.in: Adjust for correct handling of backward direction sorting.
2007-10-02 17:17:59 +00:00
Ulrich Drepper
80e069e0b2
[BZ #645 ]
...
2007-10-02 Ulrich Drepper <drepper@redhat.com>
[BZ #645 ]
* locale/programs/ld-collate.c (collate_finish): Compare against last
used section which is known to have rules defined.
(collate_read): After order_start, correctly record order of sections
and queue sections up.
2007-10-02 15:54:15 +00:00
Ulrich Drepper
95bddc0c3b
[BZ #5071 ]
...
* malloc/malloc.c (mremap_chunk): Avoid resizing of new block has
the same number of pages.
Patch by Tomash Brechko <tomash.brechko@gmail.com>.
2007-10-02 04:21:49 +00:00
Ulrich Drepper
27b13a7d23
[BZ #4705 ]
...
* locales/et_EE: Likewise.
2007-10-02 04:21:05 +00:00
Ulrich Drepper
68f3802dfa
[BZ #4941 ]
...
* locales/oc_FR: Fix Thursday abday and August mon and abmon data.
2007-10-02 04:19:37 +00:00
Ulrich Drepper
c8caf08958
* locale/programs/ld-collate.c (collate_read): After initial copy
...
statement, continue in state 0.
2007-10-02 02:22:28 +00:00
Ulrich Drepper
d7c51a0c1a
* locales/am_ET (LC_COLLATE): Define new script after copy.
2007-10-02 02:07:50 +00:00
Ulrich Drepper
035ef8d757
* include/stdio_ext.h (__fsetlocking): Define as macro.
2007-10-01 21:21:46 +00:00
Ulrich Drepper
a7f573e5dc
* locales/cs_SR: Removed.
2007-09-30 22:58:18 +00:00