]> sourceware.org Git - glibc.git/log
glibc.git
19 years agoIBM1008 iconv module.
Ulrich Drepper [Thu, 29 Sep 2005 21:59:18 +0000 (21:59 +0000)]
IBM1008 iconv module.

19 years agoRun ASCII->encoding->ASCII suntzus test only if $subset is N.
Ulrich Drepper [Thu, 29 Sep 2005 21:43:12 +0000 (21:43 +0000)]
Run ASCII->encoding->ASCII suntzus test only if $subset is N.

19 years ago[BZ #1392]
Roland McGrath [Thu, 29 Sep 2005 20:44:48 +0000 (20:44 +0000)]
[BZ #1392]

2005-09-29  Roland McGrath  <roland@redhat.com>
[BZ #1392]
* posix/sys/wait.h (__WAIT_INT): Rewrite using an initializer,
in case __typeof yields a const-qualified type.

19 years ago[BZ #1392]
Roland McGrath [Thu, 29 Sep 2005 20:44:44 +0000 (20:44 +0000)]
[BZ #1392]

2005-09-29  Roland McGrath  <roland@redhat.com>
[BZ #1392]
* posix/sys/wait.h (__WAIT_INT): Rewrite using an initializer,
in case __typeof yields a const-qualified type.

19 years agoClose descriptor in case of error.
Ulrich Drepper [Wed, 28 Sep 2005 22:38:36 +0000 (22:38 +0000)]
Close descriptor in case of error.

19 years ago* dirent/dirent.h: Declare fdopendir.
Ulrich Drepper [Wed, 28 Sep 2005 21:19:53 +0000 (21:19 +0000)]
* dirent/dirent.h: Declare fdopendir.

* dirent/Versions: Export fdopendir for GLIBC_2.4.
* dirent/Makefile (routines): Add fdopendir.
(tests): Add tst-fdopendir.
* dirent/tst-fdopendir.c: New file.
* include/dirent.h: Declare __alloc_dir.
* sysdeps/generic/fdopendir.c: New file.
* sysdeps/unix/fdopendir.c: New file.
* sysdeps/unix/opendir.c: Split off back part of opendir into new
function __alloc_dir.

19 years ago(routines): Add fdopendir. (tests): Add tst-fdopendir.
Ulrich Drepper [Wed, 28 Sep 2005 21:10:56 +0000 (21:10 +0000)]
(routines): Add fdopendir. (tests): Add tst-fdopendir.

19 years ago[BZ #1384]
Roland McGrath [Wed, 28 Sep 2005 20:05:25 +0000 (20:05 +0000)]
[BZ #1384]

2005-09-26  Steven Munroe  <sjmunroe@us.ibm.com>
[BZ #1384]
* sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected y1, y1f, yn,
ynf results.

19 years ago[BZ #1384]
Roland McGrath [Wed, 28 Sep 2005 20:05:13 +0000 (20:05 +0000)]
[BZ #1384]

2005-09-26  Steven Munroe  <sjmunroe@us.ibm.com>
[BZ #1384]
* sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected y1, y1f, yn,
ynf results.

19 years ago[BZ #1302]
Ulrich Drepper [Wed, 28 Sep 2005 17:33:18 +0000 (17:33 +0000)]
[BZ #1302]

2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
            Ulrich Drepper  <drepper@redhat.com>

[BZ #1302]
Change bitset word type from unsigned int to unsigned long int,
as this has better performance on typical 64-bit hosts.  Change
bitset type name to bitset_t.
* posix/regcomp.c (build_equiv_class, build_charclass):
(build_range_exp, build_collating_symbol):
Prefer bitset_t to re_bitset_ptr_t in prototypes, when the actual
argument is a bitset.  This is merely a style issue, but it makes
it clearer that an entire array is expected.
(re_compile_fastmap_iter, init_dfa, init_word_char, optimize_subexps,
lower_subexp): Adjust for new bitset_t definition.
(lower_subexp, parse_bracket_exp, built_charclass_op): Likewise.
* posix/regex_internal.h (bitset_set, bitset_clear, bitset_contain,
bitset_not, bitset_merge, bitset_set_all, bitset_mask): Likewise.
* posix/regexec.c (check_dst_limits_calc_pos_1,
check_subexp_matching_top, build_trtable, group_nodes_into_DFAstates):
Likewise.
* posix/regcomp.c (utf8_sb_map): Don't assume initializer
== 0xffffffff.
* posix/regex_internal.h (BITSET_WORD_BITS): Renamed from UINT_BITS.
All uses changed.
(BITSET_WORDS): Renamed from BITSET_UINTS.  All uses changed.
(bitset_word_t): New type, replacing 'unsigned int' for bitset uses.
All uses changed.
(BITSET_WORD_MAX): New macro.
(bitset_set, bitset_clear, bitset_contain, bitset_empty,
(bitset_set_all, bitset_copy):  Adjust for bitset_t change.
(bitset_empty, bitset_copy):
Prefer sizeof (bitset_t) to multiplying it out ourselves.
(bitset_not_merge): Remove; unused.
(bitset_contain): Return bool, not unsigned int with one bit on.
All callers changed.
* posix/regexec.c (build_trtable): Don't assume bitset_t has no
stricter alignment than re_node_set; do this by defining a new
internal type struct dests_alloc and using it to allocate memory.

19 years ago[BZ #1230]
Ulrich Drepper [Wed, 28 Sep 2005 06:09:24 +0000 (06:09 +0000)]
[BZ #1230]

2005-09-27  Ulrich Drepper  <drepper@redhat.com>
[BZ #1230]
* stdlib/strtod_l.c (STRNCASECMP): Always use C locale object.
(TOLOWER_C): Define.  Use it when recognizing inf and nan.
* stdlib/Makefile (tests): Add bug-strtod2.
* stdlib/bug-strtod2.c: New file.

19 years ago* dlfcn/bug-atexit1.c: New file.
Ulrich Drepper [Wed, 28 Sep 2005 05:31:16 +0000 (05:31 +0000)]
* dlfcn/bug-atexit1.c: New file.

* dlfcn/bug-atexit1-lib.c: New file.
* dlfcn/bug-atexit2.c: New file.
* dlfcn/bug-atexit2-lib.c: New file.

19 years ago[BZ #1158]
Ulrich Drepper [Wed, 28 Sep 2005 00:14:50 +0000 (00:14 +0000)]
[BZ #1158]

* stdlib/cxa_atexit.c (__new_exitfn): Rewrite to preserve order in
which the functions were registered.
* dlfcn/Makefile: Add rules to build and run bug-atexit1 and
bug-atexit2.
* dlfcn/bug-atext1.c: New file.
* dlfcn/bug-atext1-lib.c: New file.
* dlfcn/bug-atext2.c: New file.
* dlfcn/bug-atext2-lib.c: New file.

19 years ago(__new_exitfn): Rewrite to preserve order in which the functions were registered.
Ulrich Drepper [Wed, 28 Sep 2005 00:10:09 +0000 (00:10 +0000)]
(__new_exitfn): Rewrite to preserve order in which the functions were registered.

19 years ago[BZ #1361]
Roland McGrath [Tue, 27 Sep 2005 21:46:57 +0000 (21:46 +0000)]
[BZ #1361]

[BZ #1361]

19 years ago* argp/argp-fmtstream.h [HAVE_CONFIG_H]: Do not #include <config.h>.
Roland McGrath [Tue, 27 Sep 2005 21:45:51 +0000 (21:45 +0000)]
* argp/argp-fmtstream.h [HAVE_CONFIG_H]: Do not #include <config.h>.

* argp/argp-eexst.c, argp/argp-fmtstream.c, argp/argp-fs-xinl.c,
argp/argp-xinl.c: Fix up whitespace.

19 years ago2005-09-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Roland McGrath [Tue, 27 Sep 2005 21:45:41 +0000 (21:45 +0000)]
2005-09-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

* argp/argp-fmtstream.h [HAVE_CONFIG_H]: Do not #include <config.h>.
* argp/argp-eexst.c, argp/argp-fmtstream.c, argp/argp-fs-xinl.c,
argp/argp-xinl.c: Fix up whitespace.

19 years ago[BZ #1078]
Ulrich Drepper [Tue, 27 Sep 2005 19:40:49 +0000 (19:40 +0000)]
[BZ #1078]

2005-09-27  Ulrich Drepper  <drepper@redhat.com>
[BZ #1078]
* libio/fileops.c (_IO_new_file_xsputn): Determine amount of
available space in non-line-buffered buffer correctly.
* libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
* stdio-common/Makefile (tests): Add tst-fwrite.
* stdio-common/tst-fwrite.c: New file.

19 years ago[BZ #838]
Ulrich Drepper [Tue, 27 Sep 2005 05:45:26 +0000 (05:45 +0000)]
[BZ #838]

* malloc/arena.c (ptmalloc_lock_all): If global lock already taken
by the same thread, just bump the counter.
(ptmalloc_unlock_all): If counter for recursive locks hasn't reached
zero, don't do anything else.
* malloc/Makefile (tests): Add tst-mallocfork.
* malloc/tst-mallocfork.c: New file.

19 years ago[BZ #808]
Ulrich Drepper [Tue, 27 Sep 2005 01:56:38 +0000 (01:56 +0000)]
[BZ #808]

19 years ago[BZ #786]
Ulrich Drepper [Tue, 27 Sep 2005 01:55:24 +0000 (01:55 +0000)]
[BZ #786]

* malloc/malloc.c (_int_realloc): Make error message clearer.

19 years ago[BZ #713]
Ulrich Drepper [Tue, 27 Sep 2005 00:00:42 +0000 (00:00 +0000)]
[BZ #713]

2005-09-26  Ulrich Drepper  <drepper@redhat.com>
[BZ #713]
* libio/iofgets.c: Treat N==1 correctly.
* libio/iofgets_u.c: Likewise.
* libio/iofgetws.c: Likewise.
* libio/iofgetws_u.c: Likewise.
* stdio-common/Makefile (tests): Add tst-fgets.
* stdio-common/tst-fgets.c: New file.

19 years ago[BZ #652]
Ulrich Drepper [Mon, 26 Sep 2005 23:02:01 +0000 (23:02 +0000)]
[BZ #652]

2005-01-11  Thorsten Kukuk  <kukuk@suse.de>
[BZ #652]
* posix/getconf.c: Add new option -a to print the names of
the current system configuration variables to stdout.
Based on patch from Josh Aas <josha@sgi.com>.

19 years ago[BZ #644]
Ulrich Drepper [Mon, 26 Sep 2005 21:17:54 +0000 (21:17 +0000)]
[BZ #644]

* sysdeps/posix/getaddrinfo.c (fls): New function.
(gaih_inet): Don't use ffs, use fls.  Convert address to native byte
order first.
* posix/Makefile (tests): Add tst-rfc3484.
* posix/tst-rfc3484.c: New file.

19 years ago(fls): New function. (gaih_inet): Don't use ffs, use fls. Convert address to native...
Ulrich Drepper [Mon, 26 Sep 2005 21:10:16 +0000 (21:10 +0000)]
(fls): New function. (gaih_inet): Don't use ffs, use fls.  Convert address to native byte order first.

19 years agotypo
Roland McGrath [Mon, 26 Sep 2005 19:58:50 +0000 (19:58 +0000)]
typo

* sysdeps/posix/getaddrinfo.c (match_prefix): Fix matching loop if

19 years ago* libio/oldiofclose.c (_IO_old_fclose): Likewise.
Ulrich Drepper [Mon, 26 Sep 2005 17:02:19 +0000 (17:02 +0000)]
* libio/oldiofclose.c (_IO_old_fclose): Likewise.

19 years ago[BZ #627]
Ulrich Drepper [Mon, 26 Sep 2005 16:56:27 +0000 (16:56 +0000)]
[BZ #627]

* libio/iofclose.c (_IO_new_fclose): Unlock the internal lock
before destroying it as part of the _IO_FINISH call.

19 years ago[BZ #524]
Ulrich Drepper [Mon, 26 Sep 2005 16:12:12 +0000 (16:12 +0000)]
[BZ #524]

* sysdeps/posix/getaddrinfo.c (match_prefix): Fix matching loop of
number of bits is multiple of 8.
Patch by Fredrik Tolf <fredrik@dolda2000.com>.

19 years ago[BZ #516]
Ulrich Drepper [Mon, 26 Sep 2005 15:58:00 +0000 (15:58 +0000)]
[BZ #516]

* elf/dl-load.c: Report failed loading due to ELF class mismatch
with better words.

19 years ago[BZ #162]
Ulrich Drepper [Mon, 26 Sep 2005 14:49:32 +0000 (14:49 +0000)]
[BZ #162]

2005-09-26  Ulrich Drepper  <drepper@redhat.com>
[BZ #162]
* manual/llio.texi (Waiting for I/O): Correct description of read
conditions reported by select.

19 years ago* pthread_cond_destroy.c (__pthread_cond_destroy): If there are
Ulrich Drepper [Sun, 25 Sep 2005 23:58:51 +0000 (23:58 +0000)]
* pthread_cond_destroy.c (__pthread_cond_destroy): If there are

waiters, awake all waiters on the associated mutex.

19 years ago* inet/getnetgrent_r.c (innetgr): Call endfct even if result != 0.
Ulrich Drepper [Sun, 25 Sep 2005 22:55:11 +0000 (22:55 +0000)]
* inet/getnetgrent_r.c (innetgr): Call endfct even if result != 0.

Return 1 only if result == 1.  Patch by Benoit Capelle.

19 years ago[BZ #278]
Ulrich Drepper [Sun, 25 Sep 2005 18:26:41 +0000 (18:26 +0000)]
[BZ #278]

* manual/stdio.texi (Hook Functions): Correct type of position
parameter of seeker and fix fallout of the change in the text.

* wcsmbs/tst-mbrtowc2.c: New file.
* wcsmbs/Makefile (tests): Add tst-mbrtowc2.

19 years ago[BZ #714]
Ulrich Drepper [Sun, 25 Sep 2005 17:12:25 +0000 (17:12 +0000)]
[BZ #714]

2005-09-25  Ulrich Drepper  <drepper@redhat.com>
[BZ #714]
* iconv/loop.c [!STORE_REST] (SINGLE): Correctly record number of
left-over bytes and store them correctly.
* iconvdata/tst-iconv6.c: New file.
* iconvdata/Makefile (tests): Add tst-iconv6.

19 years ago* Makefile (LOCALES): Add zh_TW.EUC-TW.
Ulrich Drepper [Sun, 25 Sep 2005 17:01:50 +0000 (17:01 +0000)]
* Makefile (LOCALES): Add zh_TW.EUC-TW.

19 years ago[!STORE_REST] (SINGLE): Correctly record number of left-over bytes and store them...
Ulrich Drepper [Sun, 25 Sep 2005 16:42:36 +0000 (16:42 +0000)]
[!STORE_REST] (SINGLE): Correctly record number of left-over bytes and store them correctly.

19 years ago* sysdeps/unix/sysv/i386/signal.S: Removed, saved in ports repository.
Roland McGrath [Sun, 25 Sep 2005 00:44:39 +0000 (00:44 +0000)]
* sysdeps/unix/sysv/i386/signal.S: Removed, saved in ports repository.

* sysdeps/unix/sysv/i386/sigreturn.S: Likewise.

19 years ago2005-09-24 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 25 Sep 2005 00:44:32 +0000 (00:44 +0000)]
2005-09-24  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/i386/signal.S: Removed, saved in ports repository.
* sysdeps/unix/sysv/i386/sigreturn.S: Likewise.

19 years ago[BZ #668]
Ulrich Drepper [Sat, 24 Sep 2005 19:01:58 +0000 (19:01 +0000)]
[BZ #668]

* locales/yi_US: Spelling fixes.

19 years ago[BZ #667]
Ulrich Drepper [Sat, 24 Sep 2005 18:58:58 +0000 (18:58 +0000)]
[BZ #667]

* locales/wa_BE: Fixed weekday names to match new orthographic rules.

19 years ago[BZ #666]
Ulrich Drepper [Sat, 24 Sep 2005 18:54:13 +0000 (18:54 +0000)]
[BZ #666]

* locales/tg_TJ: Correct yesexpr.

19 years ago[BZ #665]
Ulrich Drepper [Sat, 24 Sep 2005 18:50:54 +0000 (18:50 +0000)]
[BZ #665]

* locales/sq_AL: Add language specific collation.

19 years ago[BZ #663]
Ulrich Drepper [Sat, 24 Sep 2005 18:45:40 +0000 (18:45 +0000)]
[BZ #663]

* locales/bs_BA: Don't comment out reorder-after.  Fix tel_int_fmt.

19 years ago[BZ #662]
Ulrich Drepper [Sat, 24 Sep 2005 18:41:54 +0000 (18:41 +0000)]
[BZ #662]

* locales/az_AZ: Fix the day and month names.  Add transliteration
for schwa character.

19 years ago[BZ #545]
Ulrich Drepper [Sat, 24 Sep 2005 17:59:10 +0000 (17:59 +0000)]
[BZ #545]

* locale/iso-639.def: More updates from the current spec.

19 years ago[BZ #588]
Ulrich Drepper [Sat, 24 Sep 2005 17:54:15 +0000 (17:54 +0000)]
[BZ #588]

* locales/el_GR: Change to use 12h time format.
Patch by Konstantinos Margaritis <markos@debian.org>.

19 years ago[BZ #566]
Ulrich Drepper [Sat, 24 Sep 2005 17:37:33 +0000 (17:37 +0000)]
[BZ #566]

* SUPPORTED (SUPPORTED-LOCALES): Add hsb_DE and hsb_DE.UTF-8.
[BZ #566]
* locales/hsb_DE: New file.

19 years ago* locale/programs/ld-address.c (address_finish): Produce better
Ulrich Drepper [Sat, 24 Sep 2005 16:37:16 +0000 (16:37 +0000)]
* locale/programs/ld-address.c (address_finish): Produce better

error messages for invalid lang_ab use.

19 years ago* locale/iso-639.def: Add a few updates from current spec.
Ulrich Drepper [Sat, 24 Sep 2005 16:18:50 +0000 (16:18 +0000)]
* locale/iso-639.def: Add a few updates from current spec.

19 years ago[BZ #520]
Ulrich Drepper [Sat, 24 Sep 2005 16:09:57 +0000 (16:09 +0000)]
[BZ #520]

* SUPPORTED (SUPPORTED-LOCALES): Add ky_KG.
[BZ #520]
* locales/ky_KG: New file.

19 years ago[BZ #495]
Ulrich Drepper [Sat, 24 Sep 2005 15:54:49 +0000 (15:54 +0000)]
[BZ #495]

* locales/st_ZA: Updates and corrections.
Patch by Dwayne Bailey <dwayne@translate.org.za>.

19 years ago[BZ #493]
Ulrich Drepper [Sat, 24 Sep 2005 15:52:35 +0000 (15:52 +0000)]
[BZ #493]

* locales/xh_ZA: Updates and corrections.
Patch by Dwayne Bailey <dwayne@translate.org.za>.

19 years ago[BZ #488]
Ulrich Drepper [Sat, 24 Sep 2005 15:28:59 +0000 (15:28 +0000)]
[BZ #488]

* locales/zu_ZA: Updates and corrections.
Patch by Dwayne Bailey <dwayne@translate.org.za>.

19 years ago[BZ #484]
Ulrich Drepper [Sat, 24 Sep 2005 15:12:44 +0000 (15:12 +0000)]
[BZ #484]

* locales/af_ZA: Updates and corrections.
Patch by Dwayne Bailey <dwayne@translate.org.za>.

19 years ago[BZ #1347]
Ulrich Drepper [Sat, 24 Sep 2005 15:03:19 +0000 (15:03 +0000)]
[BZ #1347]

2005-09-24  Ulrich Drepper  <drepper@redhat.com>
* SUPPORTED (SUPPORTED-LOCALES): Add be_BY@latin.

[BZ #1347]
* locales/be_BY@latin: New file.

19 years ago[BZ #704]
Ulrich Drepper [Fri, 23 Sep 2005 19:09:00 +0000 (19:09 +0000)]
[BZ #704]

* locale/iso-4217.def: Replace MGF with MGA.

19 years ago[BZ #395]
Ulrich Drepper [Fri, 23 Sep 2005 18:48:38 +0000 (18:48 +0000)]
[BZ #395]

* iconvdata/jis0208.c (__jisx0208_from_ucs4_lat1): Reduce size of
array.
* iconvdata/jis0208.h (ucs4_to_jisx0208): Adjust access.

2004-08-13  GOTO Masanori  <gotom@debian.or.jp>

[BZ #395]
* iconvdata/jis0208.c: Remove 0x005C mapping from
__jisx0208_from_ucs4_lat1.
Reported by Fumitoshi UKAI <ukai@debian.or.jp>

2005-09-23  Ulrich Drepper  <drepper@redhat.com>

19 years ago[BZ #394]
Ulrich Drepper [Fri, 23 Sep 2005 16:36:09 +0000 (16:36 +0000)]
[BZ #394]

2005-09-23  Ulrich Drepper  <drepper@redhat.com>
[BZ #394]
* libio/fmemopen.c (fmemopen_write): Return 0 instead of -1 if
nothing can be written.
* libio/iofopncook.c (_IO_cookie_write): If something went wrong,
set error bit.

19 years ago[BZ #281]
Ulrich Drepper [Fri, 23 Sep 2005 06:11:29 +0000 (06:11 +0000)]
[BZ #281]

* posix/regex.h: Define RE_TRANSLATE_TYPE as unsigned char *.
* posix/regcomp.c: Remove unnecessary uses of
unsigned RE_TRANSLATE_TYPE.
* posix/regex_internal.h: Likewise.
* posix/regex_internal.c: Likewise.
* posix/regexexec.c: Likewise.
Based on a patch by Stepan Kasal <kasal@ucw.cz>.

19 years ago[BZ #1035]
Ulrich Drepper [Thu, 22 Sep 2005 17:31:29 +0000 (17:31 +0000)]
[BZ #1035]

* locale/iso-4217.def: Replace TRL entry with TRY for new Turkish Lira.

19 years ago[BZ #1363]
Ulrich Drepper [Thu, 22 Sep 2005 14:36:18 +0000 (14:36 +0000)]
[BZ #1363]

2005-09-22  Ulrich Drepper  <drepper@redhat.com>
[BZ #1363]
* nscd/nscd_getpw_r.c (nscd_getpw_r): Remove incorrectly C&Ped
free call in code handling detection of GC runs.

19 years ago(nscd_getpw_r): Remove incorrectly C&Ped free call in code handling detection of...
Ulrich Drepper [Thu, 22 Sep 2005 14:35:11 +0000 (14:35 +0000)]
(nscd_getpw_r): Remove incorrectly C&Ped free call in code handling detection of GC runs.

19 years ago* elf/dl-tsd.c (__libc_dl_error_tsd): Use attribute_tls_model_ie for
Roland McGrath [Thu, 22 Sep 2005 07:29:50 +0000 (07:29 +0000)]
* elf/dl-tsd.c (__libc_dl_error_tsd): Use attribute_tls_model_ie for

static __thread variable.
From Alexandre Oliva <aoliva@redhat.com>

19 years ago* Makefile ($(objpfx)c++-types-check.out): Use $<, not $^, in command.
Roland McGrath [Thu, 22 Sep 2005 07:07:42 +0000 (07:07 +0000)]
* Makefile ($(objpfx)c++-types-check.out): Use $<, not $^, in command.

Reported by Alexandre Oliva <aoliva@redhat.com>.

19 years ago* nscd/dbg_log.c (init_logfile): Use fopen64 rather than fopen.
Roland McGrath [Tue, 20 Sep 2005 20:15:15 +0000 (20:15 +0000)]
* nscd/dbg_log.c (init_logfile): Use fopen64 rather than fopen.

19 years ago[BZ #1346]
Roland McGrath [Tue, 20 Sep 2005 07:46:34 +0000 (07:46 +0000)]
[BZ #1346]

2005-09-20  Roland McGrath  <roland@redhat.com>
* sysdeps/unix/sysv/linux/lddlibc4.c (main): Use execv, not execl.

[BZ #1346]
* elf/dl-load.c (_dl_map_object_from_fd) [HAVE_Z_RELRO]: Do relro
magic on __stack_prot only if [SHARED].  Skip mprotect if __stack_prot
lies outside the page-rounded-down relro region.

19 years ago[BZ #1346]
Roland McGrath [Tue, 20 Sep 2005 07:46:12 +0000 (07:46 +0000)]
[BZ #1346]

2005-09-20  Roland McGrath  <roland@redhat.com>
[BZ #1346]
* elf/dl-load.c (_dl_map_object_from_fd) [HAVE_Z_RELRO]: Do relro
magic on __stack_prot only if [SHARED].  Skip mprotect if __stack_prot
lies outside the page-rounded-down relro region.

19 years ago [BZ #1358] * sysdeps/unix/alpha/sysdep.h (inline_syscall1): Copy...
Richard Henderson [Tue, 20 Sep 2005 05:35:42 +0000 (05:35 +0000)]
    [BZ #1358]         * sysdeps/unix/alpha/sysdep.h (inline_syscall1): Copy argument(s)         to a temporary first.         (inline_syscall2, inline_syscall3, inline_syscall4): Likewise.         (inline_syscall5, inline_syscall6): Likewise.

2005-09-19  Richard Henderson  <rth@redhat.com>

[BZ #1358]
* sysdeps/unix/alpha/sysdep.h (inline_syscall1): Copy argument(s)
to a temporary first.
(inline_syscall2, inline_syscall3, inline_syscall4): Likewise.
(inline_syscall5, inline_syscall6): Likewise.

* sysdeps/alpha/ldiv.S (lldiv): Add alias.

19 years ago * sysdeps/alpha/ldiv.S (lldiv): Add alias.
Richard Henderson [Tue, 20 Sep 2005 05:35:13 +0000 (05:35 +0000)]
    * sysdeps/alpha/ldiv.S (lldiv): Add alias.

19 years ago[BZ #1010]
Ulrich Drepper [Sat, 17 Sep 2005 23:37:14 +0000 (23:37 +0000)]
[BZ #1010]

* sysdeps/unix/sockatmark.c (sockatmark): Use SIOCATMARK correctly.

19 years ago[BZ #1053]
Ulrich Drepper [Sat, 17 Sep 2005 17:31:56 +0000 (17:31 +0000)]
[BZ #1053]

* debug/xtrace.sh: Add missing escape character in -? match.
Patch by Peter Breitenlohner <peb@mppmu.mpg.de>.

19 years ago[BZ #1051]
Ulrich Drepper [Sat, 17 Sep 2005 17:24:20 +0000 (17:24 +0000)]
[BZ #1051]

2005-09-17  Ulrich Drepper  <drepper@redhat.com>
[BZ #1051]
* wctype/wctype.h: Remove stray __END_NAMESPACE_C99.
* stdlib/stdlib.h: Use __END_NAMESPACE_STD instead of
__END_NAMESPACE_C99 in one place.
* scripts/begin-end-check.pl: New file.
Patch by Ralph Loader <suckfish@ihug.co.nz>.
* Makefile: Add rules to run scripts/begin-end-check.pl.

19 years ago* timezone/zdump.c: Include ctype.h.
Andreas Jaeger [Sat, 17 Sep 2005 17:19:31 +0000 (17:19 +0000)]
* timezone/zdump.c: Include ctype.h.

2005-09-17  Andreas Jaeger  <aj@suse.de>

* timezone/zdump.c: Include ctype.h.

19 years agoAdd rules to run scripts/begin-end-check.pl.
Ulrich Drepper [Sat, 17 Sep 2005 17:15:50 +0000 (17:15 +0000)]
Add rules to run scripts/begin-end-check.pl.

19 years agoUse __END_NAMESPACE_STD instead of __END_NAMESPACE_C99 in one place.
Ulrich Drepper [Sat, 17 Sep 2005 15:42:47 +0000 (15:42 +0000)]
Use __END_NAMESPACE_STD instead of __END_NAMESPACE_C99 in one place.

19 years ago[BZ #1047]
Andreas Jaeger [Fri, 16 Sep 2005 13:12:49 +0000 (13:12 +0000)]
[BZ #1047]

* sysdeps/unix/sysv/linux/mips/getpagesize.c: New file.
2005-09-16  Andreas Jaeger  <aj@suse.de>

[BZ #1047]
* sysdeps/unix/sysv/linux/mips/getpagesize.c: New file.

19 years ago[BZ #933]
Andreas Jaeger [Fri, 16 Sep 2005 12:20:49 +0000 (12:20 +0000)]
[BZ #933]

2005-09-16  Maciej W. Rozycki  <macro@linux-mips.org>
[BZ #933]
* sysdeps/unix/sysv/linux/mips/brk.c (__brk): Load the number of
the syscall immediately before invocation.
* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise.

* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use
macros to handle GP.
* sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall):
Likewise.  Update inaccurate comments.
2005-09-16  Maciej W. Rozycki  <macro@linux-mips.org>

[BZ #933]
* sysdeps/unix/sysv/linux/mips/brk.c (__brk): Load the number of
the syscall immediately before invocation.
* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise.

* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use
macros to handle GP.
* sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall):
Likewise.  Update inaccurate comments.

19 years ago* sysdeps/posix/spawni.c (__spawni): Automatically recognize some
Ulrich Drepper [Tue, 13 Sep 2005 18:45:58 +0000 (18:45 +0000)]
* sysdeps/posix/spawni.c (__spawni): Automatically recognize some

more cases when we can use vfork.

19 years ago(__spawni): Automatically recognize some more cases when we can use vfork.
Ulrich Drepper [Tue, 13 Sep 2005 18:41:48 +0000 (18:41 +0000)]
(__spawni): Automatically recognize some more cases when we can use vfork.

19 years ago[BZ #1261]
Roland McGrath [Tue, 13 Sep 2005 17:46:15 +0000 (17:46 +0000)]
[BZ #1261]

2005-08-29  Thomas Schwinge  <schwinge@nic-nac-project.de>
[BZ #1261]
* manual/memory.texi (Hooks for Malloc): Correct prototype of
my_init_hook and definition of my_free_hook.

19 years ago[BZ #1331]
Roland McGrath [Mon, 12 Sep 2005 19:56:29 +0000 (19:56 +0000)]
[BZ #1331]

2005-09-12  Roland McGrath  <roland@redhat.com>
[BZ #1331]
* malloc/obstack.h [!__STDC__] (obstack_int_grow_fast): Fix misnamed
macro argument.
Reported by Matej Vela <vela@debian.org>.

19 years ago[BZ #1331]
Roland McGrath [Mon, 12 Sep 2005 19:56:23 +0000 (19:56 +0000)]
[BZ #1331]

2005-09-12  Roland McGrath  <roland@redhat.com>
[BZ #1331]
* malloc/obstack.h [!__STDC__] (obstack_int_grow_fast): Fix misnamed
macro argument.
Reported by Matej Vela <vela@debian.org>.

19 years ago* malloc/malloc.c (struct malloc_chunk): Fix comment typo.
Ulrich Drepper [Mon, 12 Sep 2005 14:02:35 +0000 (14:02 +0000)]
* malloc/malloc.c (struct malloc_chunk): Fix comment typo.

(public_cALLOc): For mmapped chunks and perturb_byte != 0,
don't clear SIZE_SZ bytes more than should be cleared.

19 years ago* inet/getnetgrent_r.c: Include assert. cvs/fedora-glibc-20050912T0656
Ulrich Drepper [Sat, 10 Sep 2005 03:20:33 +0000 (03:20 +0000)]
* inet/getnetgrent_r.c: Include assert.

(setup): Remove FUNC_NAME and ALL arguments, assume they are always
"setnetgrent" and 1.
(endnetgrent_hook): New function.
(internal_endnetgrent): Use it.
(__internal_setnetgrent_reuse): Use it.  Adjust setup caller.
If status is NSS_STATUS_SUCCESS, yet action is continue, call
endnetgrent hook.
(internal_getnetgrent_r): Use __nss_lookup_function rather than
setup.  Recompute getfct pointer after successful
__internal_setnetgrent_reuse.  Don't use __nss_next.
(innetgr): Use __nss_lookup_function instead of __nss_lookup.
Adjust setup caller.
* nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Always clear
data_size and cursor.  Add libnss_files_hidden_proto and
libnss_files_hidden_def.
(_nss_files_setnetgrent): Call _nss_files_endnetgrent on failure.
* nis/nss_nis/nis-netgrp.c (internal_endnetgrent): Always clear
data_size and cursor.
(_nss_nis_setnetgrent): Don't call internal_endnetgrent.
(_nss_nis_getnetgrent_r): Remove result->cursor == NULL handling.
* nis/nss_nisplus/nisplus-netgrp.c (internal_endnetgrent): Always clear
data_size and position.
(_nss_nisplus_setnetgrent): Don't call internal_endnetgrent.

2005-09-09  Ulrich Drepper  <drepper@redhat.com>

* nss/getent.c (netgroup_keys): Call endnetgrent.
(main): Call mtrace.

* nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): We don't
need locking for the stream.  Use feof_unlocked.

2005-09-09  Jakub Jelinek  <jakub@redhat.com>

19 years ago[BZ #1318]
Ulrich Drepper [Fri, 9 Sep 2005 16:58:19 +0000 (16:58 +0000)]
[BZ #1318]

2005-09-09  Jakub Jelinek  <jakub@redhat.com>
[BZ #1318]
* locale/loadarchive.c (_nl_load_locale_from_archive): Free
normalized_codeset even if p was already normalized.
Reported by Jaroslav Snajdr <jsnajdr@kerio.com>.

19 years ago(_nl_load_locale_from_archive): Free normalized_codeset even if p was already normalized.
Ulrich Drepper [Fri, 9 Sep 2005 16:56:52 +0000 (16:56 +0000)]
(_nl_load_locale_from_archive): Free normalized_codeset even if p was already normalized.

19 years ago* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Decode DSOCAPS
Roland McGrath [Thu, 8 Sep 2005 22:37:21 +0000 (22:37 +0000)]
* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Decode DSOCAPS

properly, first byte is bit number in mask.  Skip disabled caps.

19 years ago2005-09-08 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 8 Sep 2005 22:36:54 +0000 (22:36 +0000)]
2005-09-08  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Decode DSOCAPS
properly, first byte is bit number in mask.  Skip disabled caps.

19 years ago* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (FUTEX_WAKE_OP,
Ulrich Drepper [Thu, 8 Sep 2005 17:41:56 +0000 (17:41 +0000)]
* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (FUTEX_WAKE_OP,

FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
(lll_futex_wake_unlock): Define.
* sysdeps/unix/sysv/linux/alpha/lowlevellock.h (FUTEX_WAKE_OP,
FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
(lll_futex_wake_unlock): Define.
* sysdeps/unix/sysv/linux/ia64/lowlevellock.h (FUTEX_WAKE_OP,
FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
(lll_futex_wake_unlock): Define.
* sysdeps/unix/sysv/linux/s390/lowlevellock.h (FUTEX_WAKE_OP,
FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
(lll_futex_wake_unlock): Define.
* sysdeps/unix/sysv/linux/sparc/lowlevellock.h (FUTEX_WAKE_OP,
FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
(lll_futex_wake_unlock): Define.
* sysdeps/pthread/pthread_cond_signal.c (__pthread_cond_signal): Use
lll_futex_wake_unlock.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
(FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
(__pthread_cond_signal): Use FUTEX_WAKE_OP.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
(FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
(__pthread_cond_signal): Use FUTEX_WAKE_OP.

19 years ago(FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define. (lll_futex_wake_unlock):...
Ulrich Drepper [Thu, 8 Sep 2005 17:39:07 +0000 (17:39 +0000)]
(FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define. (lll_futex_wake_unlock): Define.

19 years ago[BZ #1033, BZ #1061]
Roland McGrath [Thu, 8 Sep 2005 08:09:16 +0000 (08:09 +0000)]
[BZ #1033, BZ #1061]

2005-07-11  Derek R. Price  <derek@ximbiot.com>
[BZ #1061]
* sysdeps/generic/glob.c (glob): Only a 0 return from
getlogin_r means success, according to POSIX 1003.2.

2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>

[BZ #1033]
* time/mktime.c: Import from gnulib.
The following macros are now consistent with other gnulib code.
This does not change mktime's behavior.
(TYPE_IS_INTEGER): New macro.
(time_t_is_integer): Use it.
(TYPE_TWOS_COMPLEMENT): New macro.
(twos_complement_arithmetic): Use it.
(TYPE_ONES_COMPLEMENT): New macro.
(TYPE_MINIMUM, TYPE_MAXIMUM): Now supports signed-magnitude.
mktime doesn't use this, but the code now matches other gnulib code.
(ranged_convert): Pacify GCC 4.0 in a different way, which
generates a few bytes less code.
(ranged_convert, __mktime_internal): When calling a function via a
pointer P, use P () rather than (*P) (), as we now assume C89 or
better.

19 years ago[BZ #1061]
Roland McGrath [Thu, 8 Sep 2005 08:09:03 +0000 (08:09 +0000)]
[BZ #1061]

2005-07-11  Derek R. Price  <derek@ximbiot.com>
[BZ #1061]
* sysdeps/generic/glob.c (glob): Only a 0 return from
getlogin_r means success, according to POSIX 1003.2.

19 years ago* timezone/test-tz.c: Update to match tzdata2005m.
Ulrich Drepper [Wed, 7 Sep 2005 19:55:12 +0000 (19:55 +0000)]
* timezone/test-tz.c: Update to match tzdata2005m.

* timezone/tst-timezone.c: Likewise.

19 years ago(update_cur_sifted_state): Likewise.
Ulrich Drepper [Wed, 7 Sep 2005 16:15:23 +0000 (16:15 +0000)]
(update_cur_sifted_state): Likewise.

(re_search_internal): Likewise.
(prune_impossible_nodes): Likewise.
(acquire_init_state_context): Likewise.
(proceed_next_node): Likewise.
(set_regs): Likewise.
(free_fail_stack_return): Likewise.
(check_subexp_limits): Likewise.
(sub_epsilon_src_nodes):  Likewise.
(add_epsilon_src_nodes):  Likewise.
(merge_state_array): Likewise.
(update_regs): Likewise.
(build_trtable): Likewise.
(sift_states_backward): Mark MCTX parameter as const.
(build_sifted_states): Likewise.
(update_cur_sifted_state): Likewise.
(sift_states_mkref): Likewise.
(check_dst_limits_calc_pos_1): Likewise.
* posix/regex_internal.h (re_match_context_t): Make dfa a const
pointer.

19 years ago(transit_state_bkref): Make DFA a const pointer.
Ulrich Drepper [Wed, 7 Sep 2005 15:26:18 +0000 (15:26 +0000)]
(transit_state_bkref): Make DFA a const pointer.

(get_subexp): Likewise.
(check_arrival): Likewise.
(check_arrival_expand_ecl): Mark DFA parameter as const.
(check_arrival_expand_ecl_sub): Likewise.
(check_arrival_expand_ecl): Mark eclosure as const.

19 years ago* posix/regexec.c (find_recover_state): Remove unnecessary
Ulrich Drepper [Wed, 7 Sep 2005 07:16:24 +0000 (07:16 +0000)]
* posix/regexec.c (find_recover_state): Remove unnecessary

initialization.

19 years ago* timezone/africa: Update from tzdata2005m.
Ulrich Drepper [Wed, 7 Sep 2005 07:03:41 +0000 (07:03 +0000)]
* timezone/africa: Update from tzdata2005m.

* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/backward: Likewise.
* timezone/europe: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.
* timezone/zdump.c: Update from tzcode2005m.

19 years ago* posix/regexec.c (merge_state_with_log): Define dfa as const pointer.
Ulrich Drepper [Wed, 7 Sep 2005 05:41:42 +0000 (05:41 +0000)]
* posix/regexec.c (merge_state_with_log): Define dfa as const pointer.

(transit_state_sb): Likewise.
(transit_state_mb): Likewise.
(sift_states_iter_mb): Likewise.
(check_arrival_add_next_nodes): Likewise.
(check_node_accept_bytes): Change first parameter to pointer-to-const.
[_LIBC] (re_search_2_stub): Use mempcpy.

19 years ago* posix/regex_internal.c (re_string_reconstruct): Avoid calling
Ulrich Drepper [Wed, 7 Sep 2005 01:15:33 +0000 (01:15 +0000)]
* posix/regex_internal.c (re_string_reconstruct): Avoid calling

mbrtowc for very simple UTF-8 case.

2005-09-01  Paul Eggert  <eggert@cs.ucla.edu>

* posix/regex_internal.c (build_wcs_upper_buffer): Fix portability
bugs in int versus size_t comparisons.

2005-09-06  Ulrich Drepper  <drepper@redhat.com>

* posix/regex_internal.c (re_acquire_state): Make DFA pointer arg
a pointer-to-const.
(re_acquire_state_context): Likewise.
* posix/regex_internal.h: Adjust prototypes.

2005-08-31  Jim Meyering  <jim@meyering.net>

* posix/regcomp.c (search_duplicated_node): Make first pointer arg
a pointer-to-const.
* posix/regex_internal.c (create_ci_newstate, create_cd_newstate,
register_state): Likewise.
* posix/regexec.c (search_cur_bkref_entry, check_dst_limits):
(check_dst_limits_calc_pos_1, check_dst_limits_calc_pos):
(group_nodes_into_DFAstates): Likewise.

* posix/regexec.c (re_search_internal): Simplify update of
rm_so and rm_eo by replacing "if (A == B) A += C - B;"
with the equivalent of "if (A == B) A = C;".

2005-09-06  Ulrich Drepper  <drepper@redhat.com>

* posix/regcomp.c (re_compile_internal): Change third parameter type
to size_t.
(init_dfa): Likewise.  Make sure that arithmetic on pat_len doesn't
overflow.
* posix/regex_internal.h (struct re_dfa_t): Change type of nodes_alloc
and nodes_len to size_t.
* posix/regex_internal.c (re_dfa_add_node): Use size_t as type for
new_nodes_alloc.  Check for overflow.

2005-08-31  Paul Eggert  <eggert@cs.ucla.edu>

* posix/regcomp.c (re_compile_fastmap_iter, init_dfa, init_word_char):
(optimize_subexps, lower_subexp):
Don't assume 1<<31 has defined behavior on hosts with 32-bit int,
since the signed shift might overflow.  Use 1u<<31 instead.
* posix/regex_internal.h (bitset_set, bitset_clear, bitset_contain):
Likewise.
* posix/regexec.c (check_dst_limits_calc_pos_1): Likewise.
(check_subexp_matching_top): Likewise.
* posix/regcomp.c (optimize_subexps, lower_subexp):
Use CHAR_BIT rather than 8, for clarity.
* posix/regexec.c (check_dst_limits_calc_pos_1):
(check_subexp_matching_top): Likewise.
* posix/regcomp.c (init_dfa): Make table_size unsigned, so that we
don't have to worry about portability issues when shifting it left.
Remove no-longer-needed test for table_size > 0.
* posix/regcomp.c (parse_sub_exp): Do not shift more bits than there
are in a word, as the resulting behavior is undefined.
* posix/regexec.c (check_dst_limits_calc_pos_1): Likewise;
in one case, a <= should have been an <, and in another case the
whole test was missing.
* posix/regex_internal.h (BYTE_BITS): Remove.  All uses changed to
the standard name CHAR_BIT.

This page took 0.085218 seconds and 5 git commands to generate.