kopensolaris-gnu/glibc.git
15 years ago2004-11-09 Paul Eggert <eggert@cs.ucla.edu.
roland [Thu, 11 Nov 2004 22:30:56 +0000 (22:30 +0000)]
2004-11-09  Paul Eggert  <eggert@cs.ucla.edu.

[BZ #535]
* time/difftime.c: Fix a double-rounding bug on hosts with
64-bit time_t and long double being IEEE double.  Also, port
to more valid C99 hosts, even those that have padding bits.
Don't include <values.h> since it is marked as an obsolescent
interface.  Include <limits.h>, <float.h>, and <stdint.h> instead.
(TYPE_BITS, TYPE_FLOATING, TYPE_SIGNED): New macros.
(subtract): New static function, that works correctly without
double-rounding, even on hosts with 64-bit time_t.  Also cater
to hosts with padding bits.
(__difftime): Use it.  Use DBL_MANT_DIG and LDBL_MANT_DIG to
determine whether floating types are wide enough: the old
test (which used sizeof) could in theory report the wrong results
on hosts with padding bits in floating-point values.

15 years ago.
roland [Thu, 11 Nov 2004 22:15:51 +0000 (22:15 +0000)]
.

15 years ago2004-11-11 Simon Josefsson <jas@extundo.com>
roland [Thu, 11 Nov 2004 22:15:46 +0000 (22:15 +0000)]
2004-11-11  Simon Josefsson  <jas@extundo.com>

[BZ #542]
* sysdeps/generic/strtok_r.c [HAVE_CONFIG_H]: Include config.h.
[!_LIBC]: Include strtok_r.h (in gnulib), map __strtok_r to
strtok_r and __rawmemchr to strch.
(__strtok_r): Use C89 prototype.
[weak_alias]: Move calls to libc_hidden_def and weak_alias into
this #ifdef.

15 years ago.
roland [Thu, 11 Nov 2004 00:28:28 +0000 (00:28 +0000)]
.

15 years ago2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
roland [Thu, 11 Nov 2004 00:28:17 +0000 (00:28 +0000)]
2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>

[BZ #541]
* time/mktime.c (SHR): New macro, which is a portable
substitute for >> that should work even on Crays.
(TIME_T_MIDPOINT, ydhms_diff, __mktime_internal): Use it.
Problem reported by Mark D. Baushke in
<http://lists.gnu.org/archive/html/bug-gnulib/2004-11/msg00071.html>.

15 years agoUpdate.
drepper [Wed, 10 Nov 2004 18:51:26 +0000 (18:51 +0000)]
Update.

15 years ago(match_ctx_free_subtops): Remove, merge into...
drepper [Wed, 10 Nov 2004 18:50:30 +0000 (18:50 +0000)]
(match_ctx_free_subtops): Remove, merge into...
(match_ctx_clean): ... this function.
(match_ctx_free): Call match_ctx_clean.

15 years agoUpdate.
drepper [Wed, 10 Nov 2004 15:48:06 +0000 (15:48 +0000)]
Update.

15 years ago(transit_state): Remove the check for out-of-bounds buffers.
drepper [Wed, 10 Nov 2004 15:47:09 +0000 (15:47 +0000)]
(transit_state): Remove the check for out-of-bounds buffers.
(check_matching): Check here for out-of-bounds buffers.
(re_search_internal): Store into match_kind a set of bits
indicating which incantation of fastmap scanning must be
used.  Use a switch statement instead of multiple ifs.
Exit the final "for (;;)" with goto free_return unless
the match succeeded, thus simplifying some conditionals.

15 years ago(re_string_reconstruct, re_string_context_at): Add several branch
drepper [Wed, 10 Nov 2004 14:29:26 +0000 (14:29 +0000)]
(re_string_reconstruct, re_string_context_at): Add several branch
predictions for case-sensitive matching and no transition table being
used.

15 years agoDon't use error to print error message, they won't end up in the .out file.
drepper [Wed, 10 Nov 2004 14:27:52 +0000 (14:27 +0000)]
Don't use error to print error message, they won't end up in the .out file.

15 years agoUpdate. fedora-glibc-20041110T0839
drepper [Wed, 10 Nov 2004 07:54:40 +0000 (07:54 +0000)]
Update.

15 years ago(tests): Add tst-exit3.
drepper [Wed, 10 Nov 2004 07:54:08 +0000 (07:54 +0000)]
(tests): Add tst-exit3.

15 years agoTest refcouting in thread creation.
drepper [Wed, 10 Nov 2004 07:53:49 +0000 (07:53 +0000)]
Test refcouting in thread creation.

15 years agoUse map from nscd_getgr.c.
drepper [Wed, 10 Nov 2004 07:52:02 +0000 (07:52 +0000)]
Use map from nscd_getgr.c.

15 years agoUse map from nscd_gethost.c.
drepper [Wed, 10 Nov 2004 07:51:37 +0000 (07:51 +0000)]
Use map from nscd_gethost.c.

15 years agoAdjust for libc_locked_map_ptr change.
drepper [Wed, 10 Nov 2004 07:51:12 +0000 (07:51 +0000)]
Adjust for libc_locked_map_ptr change.
(hst_map_free): Ensure no crash after memory is freed.
Make map externally visible.

15 years agoAdjust for libc_locked_map_ptr change.
drepper [Wed, 10 Nov 2004 07:50:46 +0000 (07:50 +0000)]
Adjust for libc_locked_map_ptr change.
(gr_map_free): Ensure no crash after memory is freed.
Make map externally visible.

15 years ago(libc_locked_map_ptr): Add new first parameter, used as class for
drepper [Wed, 10 Nov 2004 07:50:03 +0000 (07:50 +0000)]
(libc_locked_map_ptr): Add new first parameter, used as class for
definition.

15 years agoAdjust for libc_locked_map_ptr change.
drepper [Wed, 10 Nov 2004 07:49:22 +0000 (07:49 +0000)]
Adjust for libc_locked_map_ptr change.
(pw_map_free): Ensure no crash after memory is freed.

15 years ago(libc_locked_map_ptr): Add new first parameter, used as class for definition.
drepper [Wed, 10 Nov 2004 07:44:56 +0000 (07:44 +0000)]
(libc_locked_map_ptr): Add new first parameter, used as class for definition.

15 years agoAdd some checks to detect corrupt databases.
drepper [Wed, 10 Nov 2004 07:28:10 +0000 (07:28 +0000)]
Add some checks to detect corrupt databases.

15 years agoUpdate.
drepper [Wed, 10 Nov 2004 07:26:28 +0000 (07:26 +0000)]
Update.

15 years agoUpdate.
drepper [Wed, 10 Nov 2004 00:50:40 +0000 (00:50 +0000)]
Update.

15 years agoAdd 5 new tests.
drepper [Wed, 10 Nov 2004 00:50:02 +0000 (00:50 +0000)]
Add 5 new tests.

15 years ago(calc_eclosure_iter): Don't access dfa->edests[node].elems[0] if
drepper [Wed, 10 Nov 2004 00:49:33 +0000 (00:49 +0000)]
(calc_eclosure_iter): Don't access dfa->edests[node].elems[0] if
dfa->edests[node].nelem == 0.

15 years agoPretty printing.
drepper [Wed, 10 Nov 2004 00:46:50 +0000 (00:46 +0000)]
Pretty printing.

15 years ago.
drepper [Wed, 10 Nov 2004 00:38:10 +0000 (00:38 +0000)]
.

15 years agoUpdate.
drepper [Wed, 10 Nov 2004 00:37:05 +0000 (00:37 +0000)]
Update.

15 years agoDetermine sin6_scope_id field value correctly.
drepper [Wed, 10 Nov 2004 00:36:30 +0000 (00:36 +0000)]
Determine sin6_scope_id field value correctly.

15 years agoUpdate.
drepper [Tue, 9 Nov 2004 23:12:36 +0000 (23:12 +0000)]
Update.

15 years agoTest for bookkeeping of running threads.
drepper [Tue, 9 Nov 2004 23:11:16 +0000 (23:11 +0000)]
Test for bookkeeping of running threads.

15 years ago(tests): Add tst-exit2.
drepper [Tue, 9 Nov 2004 23:11:12 +0000 (23:11 +0000)]
(tests): Add tst-exit2.

15 years ago.
roland [Tue, 9 Nov 2004 21:52:54 +0000 (21:52 +0000)]
.

15 years ago2004-11-09 Roland McGrath <roland@redhat.com>
roland [Tue, 9 Nov 2004 21:52:48 +0000 (21:52 +0000)]
2004-11-09  Roland McGrath  <roland@redhat.com>

[BZ #530]
* sysdeps/pthread/createthread.c (do_clone): Increment __nptl_nthreads
here, before calling clone.
* pthread_create.c (start_thread): Don't do it here.

15 years agoPretty printing.
drepper [Tue, 9 Nov 2004 09:12:14 +0000 (09:12 +0000)]
Pretty printing.

15 years agoUpdate.
drepper [Tue, 9 Nov 2004 07:05:27 +0000 (07:05 +0000)]
Update.

15 years ago(tests): Add bug-ungetc3.
drepper [Tue, 9 Nov 2004 07:04:56 +0000 (07:04 +0000)]
(tests): Add bug-ungetc3.

15 years agoTest for ftell after ungetc.
drepper [Tue, 9 Nov 2004 07:04:36 +0000 (07:04 +0000)]
Test for ftell after ungetc.

15 years ago(_IO_new_file_seekoff): If mode is 0 and fp->_offset == _IO_pos_BAD,
drepper [Tue, 9 Nov 2004 07:04:08 +0000 (07:04 +0000)]
(_IO_new_file_seekoff): If mode is 0 and fp->_offset == _IO_pos_BAD,
just call _IO_SYSSEEK (fp, 0, dir) and if successful set fp->_offset.

15 years ago.
roland [Mon, 8 Nov 2004 23:15:54 +0000 (23:15 +0000)]
.

15 years ago2004-11-03 Marcus Brinkmann <marcus@gnu.org>
roland [Mon, 8 Nov 2004 23:15:46 +0000 (23:15 +0000)]
2004-11-03  Marcus Brinkmann  <marcus@gnu.org>

* sysdeps/gnu/_G_config.h (_G_HAVE_MREMAP): Define symbol.
* sysdeps/mach/hurd/_G_config.h: New file.
* libio/fileops.c (mmap_remap_check) [__linux__]: Replaced with
[_G_HAVE_MREMAP].

15 years agoUpdate.
drepper [Mon, 8 Nov 2004 22:49:44 +0000 (22:49 +0000)]
Update.

15 years ago(utf8_sb_map): Define.
drepper [Mon, 8 Nov 2004 22:48:34 +0000 (22:48 +0000)]
(utf8_sb_map): Define.
(free_dfa_content): Don't free dfa->sb_char if it's a pointer to utf8_sb_map.
(init_dfa): Use utf8_sb_map instead of initializing memory when the encoding
is UTF-8.

15 years ago(build_wcs_upper_buffer) [!_LIBC]: Enable optimizations based on map_notascii.
drepper [Mon, 8 Nov 2004 22:21:32 +0000 (22:21 +0000)]
(build_wcs_upper_buffer) [!_LIBC]: Enable optimizations based on map_notascii.

15 years ago[HAVE_LANGINFO_H || HAVE_LANGINFO_CODESET || _LIBC]: Include langinfo.h.
drepper [Mon, 8 Nov 2004 22:20:23 +0000 (22:20 +0000)]
[HAVE_LANGINFO_H || HAVE_LANGINFO_CODESET || _LIBC]: Include langinfo.h.

15 years agoRemove unused variables.
drepper [Mon, 8 Nov 2004 22:19:27 +0000 (22:19 +0000)]
Remove unused variables.

15 years ago(init_dfa): Get the codeset name outside glibc as well. Check if it
drepper [Mon, 8 Nov 2004 22:12:03 +0000 (22:12 +0000)]
(init_dfa): Get the codeset name outside glibc as well.  Check if it
is spelled UTF8 as well as UTF-8, and check case-insensitively.  Set
dfa->map_notascii manually when outside glibc.

15 years ago(check_dst_limits): Hoist computation of the source
drepper [Mon, 8 Nov 2004 21:48:14 +0000 (21:48 +0000)]
(check_dst_limits): Hoist computation of the source
and destination bkref_idx out of the loop.  Pass it to
check_dst_limits_calc_pos.
(check_dst_limits_calc_pos_1): New function, containing the recursive
loop of check_dst_limits_calc_pos; uses the "more" field of
struct re_backref_cache to control the loop.
(check_dst_limits_calc_pos): Store into "boundaries" the position
relative to lim's start and end positions.  Do not accept eclosures,
accept bkref_idx instead.  Call check_dst_limits_calc_pos_1 to do the work.
(sift_states_bkref): Use the "more" field of struct re_backref_cache
to control the loop.  A big "if" was turned into a continue and the
function was reindented.
(get_subexp): Use the "more" field of struct re_backref_cache
to control the loop.
(match_ctx_add_entry): Initialize the bkref_ents' "more" field.
(search_cur_bkref_entry): Return -1 if out of bounds.

15 years ago(struct re_backref_cache_entry): Add "more" field.
drepper [Mon, 8 Nov 2004 21:47:11 +0000 (21:47 +0000)]
(struct re_backref_cache_entry): Add "more" field.

15 years ago(empty_set): Remove.
drepper [Mon, 8 Nov 2004 21:24:54 +0000 (21:24 +0000)]
(empty_set): Remove.
(sift_states_backward): Remove cur_src variable.  Move inner loop
to build_sifted_states.
(build_sifted_states): Extract from sift_states_backward.  Do not
use empty_set.
(update_cur_sifted_state): Do not use empty_set.  Special case
dest_nodes->nelem == 0.

15 years agoUpdate.
drepper [Mon, 8 Nov 2004 16:07:55 +0000 (16:07 +0000)]
Update.

15 years ago(match_ctx_clear_flag): Remove.
drepper [Mon, 8 Nov 2004 16:07:28 +0000 (16:07 +0000)]
(match_ctx_clear_flag): Remove.
(sift_ctx_init): Remove check_subexp parameter.  Do not set removed
fields.  Callers adjusted.
(expand_bkref_cache): Remove last_str parameter.  Callers adjusted.
(re_search_internal): Remove fast_translate variable.
(update_cur_sifted_state): Pass candidates as the final parameter
to sift_states_bkref.
(sift_states_bkref): Change last unused parameter to be "candidates",
do not fetch candidates into a local variable.
Remove dead test for "node == sctx->bkref", and the cur_bkref_idx
variable.
Remove loops that set/reset the flag field of backref cache entries.
(check_arrival_add_next_nodes): Use a signed int to hold the return
value of re_node_set_insert.
(group_nodes_into_DFAstates): Likewise.
(match_ctx_add_entry): Do not set the flag field of the new entry.

15 years ago(struct re_backref_cache_entry): Remove flag field.
drepper [Mon, 8 Nov 2004 16:06:36 +0000 (16:06 +0000)]
(struct re_backref_cache_entry): Remove flag field.
(struct re_sift_context_t): Remove cur_bkref, cls_subexp_idx,
check_subexp fields.  Move limits last.

15 years ago.
roland [Sat, 6 Nov 2004 00:29:01 +0000 (00:29 +0000)]
.

15 years ago2004-11-05 Roland McGrath <roland@redhat.com>
roland [Sat, 6 Nov 2004 00:28:49 +0000 (00:28 +0000)]
2004-11-05  Roland McGrath  <roland@redhat.com>

* manual/errno.texi (Error Codes): Revert last change for now.
* sysdeps/gnu/errlist.c: Regenerated.

15 years ago.
roland [Sat, 6 Nov 2004 00:24:55 +0000 (00:24 +0000)]
.

15 years ago2004-11-05 Roland McGrath <roland@redhat.com>
roland [Sat, 6 Nov 2004 00:24:46 +0000 (00:24 +0000)]
2004-11-05  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Define
_dl_sysinfo_dso under [NEED_DL_SYSINFO_DSO] as well.
* elf/rtld.c (dl_main): Set up GLRO(dl_sysinfo_dso) under
[NEED_DL_SYSINFO_DSO] as well.
* sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Always include
AT_SYSINFO and AT_SYSINFO_EHDR in name table.
(_dl_sysdep_start) [NEED_DL_SYSINFO_DSO]: Match AT_SYSINFO_EHDR.
* elf/dl-support.c (_dl_sysinfo_dso): Define also under
[NEED_DL_SYSINFO_DSO].
(_dl_aux_init) [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO]:
Match AT_SYSINFO_EHDR and set GL(dl_sysinfo_dso).

15 years ago.
roland [Fri, 5 Nov 2004 23:02:22 +0000 (23:02 +0000)]
.

15 years ago2004-11-05 Roland McGrath <roland@redhat.com>
roland [Fri, 5 Nov 2004 23:02:05 +0000 (23:02 +0000)]
2004-11-05  Roland McGrath  <roland@redhat.com>

* manual/errno.texi (Error Codes): Revert last change for now.

15 years ago.
roland [Thu, 4 Nov 2004 23:43:59 +0000 (23:43 +0000)]
.

15 years ago2004-11-04 Roland McGrath <roland@frob.com>
roland [Thu, 4 Nov 2004 23:43:54 +0000 (23:43 +0000)]
2004-11-04  Roland McGrath  <roland@frob.com>

* Makeconfig (link-libc, rpath-dirs): Remove AIX cruft definitions.
(LDFLAGS-rpath-ORIGIN, LDFLAGS-soname-fname): Likewise.
(LDFLAGS-rdynamic, LDFLAGS-Bsymbolic): Likewise.
($(common-objpfx)gnu/lib-names.stmp): Likewise.

15 years ago.
roland [Thu, 4 Nov 2004 23:37:44 +0000 (23:37 +0000)]
.

15 years ago2004-11-01 Jakub Jelinek <jakub@redhat.com>
roland [Thu, 4 Nov 2004 23:37:34 +0000 (23:37 +0000)]
2004-11-01  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/sys/procfs.h [__WORDSIZE == 32]
(elf_fpxregset_t): New type.
(struct elf_prpsinfo): If __WORDSIZE == 32, change pr_[ug]id type
to unsigned short int.
* sysdeps/unix/sysv/linux/x86_64/sys/user.h
(struct user_fpregs_struct): Fix comment.
* sysdeps/i386/fpu/bits/mathdef.h (float_t, double_t): If
__FLOAT_EVAL_METHOD__ is defined and 0, typedef to float resp. double.
* sysdeps/x86_64/fpu/bits/mathdef.h: Include bits/wordsize.h.
(float_t, double_t): If -m32 and not -mfpmath=sse, typedef to
long double.
* sysdeps/x86_64/fpu/bits/fenv.h: Include bits/wordsize.h.
(fenv_t): Remove __mxcsr field for -m32.

15 years ago.
roland [Thu, 4 Nov 2004 23:22:09 +0000 (23:22 +0000)]
.

15 years ago2004-11-04 Jakub Jelinek <jakub@redhat.com>
roland [Thu, 4 Nov 2004 23:22:02 +0000 (23:22 +0000)]
2004-11-04  Jakub Jelinek  <jakub@redhat.com>

* libio/ftello.c (ftello): Don't subtract save_end - save_base
if pos is _IO_pos_BAD.
* libio/ftello64.c (ftello64): Likewise.
* libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
* libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
* libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
* libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
* libio/ioftell.c (_IO_ftell): Likewise.
Cast to long int instead of off_t when checking for overflow.

15 years ago * sysdeps/unix/sysv/linux/alpha/register-dump.h (regnames): Align.
rth [Thu, 4 Nov 2004 18:39:03 +0000 (18:39 +0000)]
    * sysdeps/unix/sysv/linux/alpha/register-dump.h (regnames): Align.
        (linefeed): Remove.
        (register_dump): Rewrite to generate into a flat buffer instead
        of into iovecs.

15 years ago.
roland [Wed, 3 Nov 2004 20:31:19 +0000 (20:31 +0000)]
.

15 years ago2004-11-02 Jakub Jelinek <jakub@redhat.com>
roland [Wed, 3 Nov 2004 20:31:12 +0000 (20:31 +0000)]
2004-11-02  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/smp.h: Include <errno.h>.

15 years ago2004-11-02 Jakub Jelinek <jakub@redhat.com>
roland [Wed, 3 Nov 2004 20:31:04 +0000 (20:31 +0000)]
2004-11-02  Jakub Jelinek  <jakub@redhat.com>

* debug/tst-chk1.c (ret): New volatile variable.
(CHK_FAIL_END): Remove redundant ret setting.
(do_test): Remote ret variable.

15 years ago.
roland [Wed, 3 Nov 2004 20:27:19 +0000 (20:27 +0000)]
.

15 years ago2004-01-03 Paolo Bonzini <bonzini@gnu.org>
roland [Wed, 3 Nov 2004 20:27:02 +0000 (20:27 +0000)]
2004-01-03  Paolo Bonzini  <bonzini@gnu.org>

* posix/regex_internal.h (__regfree) [!_LIBC]: Define to regfree.

15 years ago.
roland [Wed, 3 Nov 2004 02:53:06 +0000 (02:53 +0000)]
.

15 years ago2004-11-03 Marcus Brinkmann <marcus@gnu.org>
roland [Wed, 3 Nov 2004 02:53:02 +0000 (02:53 +0000)]
2004-11-03  Marcus Brinkmann  <marcus@gnu.org>

* sysdeps/generic/utime.c: Include <stddef.h>.

15 years ago.
roland [Wed, 3 Nov 2004 01:55:28 +0000 (01:55 +0000)]
.

15 years ago2004-11-03 Marcus Brinkmann <marcus@gnu.org>
roland [Wed, 3 Nov 2004 01:55:22 +0000 (01:55 +0000)]
2004-11-03  Marcus Brinkmann  <marcus@gnu.org>

* sysdeps/generic/sysconf.c: Include <grp.h> and <pwd.h>.

15 years ago.
roland [Wed, 3 Nov 2004 01:51:52 +0000 (01:51 +0000)]
.

15 years ago2004-11-03 Marcus Brinkmann <marcus@gnu.org>
roland [Wed, 3 Nov 2004 01:51:44 +0000 (01:51 +0000)]
2004-11-03  Marcus Brinkmann  <marcus@gnu.org>

* sysdeps/generic/tempname.c (__path_search): Add missing argument
TRY_TMPDIR.

15 years ago * sysdeps/unix/sysv/linux/alpha/setregid.c: New file. fedora-glibc-20041102T1153
rth [Mon, 1 Nov 2004 05:31:52 +0000 (05:31 +0000)]
    * sysdeps/unix/sysv/linux/alpha/setregid.c: New file.
        * sysdeps/unix/sysv/linux/alpha/setresgid.c: New file.
        * sysdeps/unix/sysv/linux/alpha/setresuid.c: New file.
        * sysdeps/unix/sysv/linux/alpha/setreuid.c: New file.

15 years ago.
roland [Mon, 1 Nov 2004 00:21:39 +0000 (00:21 +0000)]
.

15 years ago2004-10-27 Derek R. Price <derek@ximbiot.com>
roland [Mon, 1 Nov 2004 00:21:28 +0000 (00:21 +0000)]
2004-10-27  Derek R. Price  <derek@ximbiot.com>

[BZ #487] This change is imported from gnulib.
* time/mktime.c (not_equal_tm) [DEBUG]: Remove redundant check.
2004-10-24  Paul Eggert  <eggert@cs.ucla.edu>

[BZ #473] Import from gnulib.  Revamp to avoid several problems near
time_t extrema, and on hosts with 64-bit time_t and 32-bit int.
This fixes Debian bug 177940.
* time/mktime.c (TIME_T_MIDPOINT): New macro.
(ydhms_diff): Renamed from ydhms_tm_diff, with a new signature,
which avoids overflow problems on hosts with 64-bit time_t and
32-bit int.  All callers changed.  Now an inline function.
Verify at compile-time that long int is wide enough to avoid
these overflow problems.
(guess_time_tm): New function.
(__mktime_internal): Use it.  Avoid overflow when computing yday on
hosts with 64-bit long and 32-bit int.  Remove tests for 69;
no longer needed.  Use if rather than #ifdef for LEAP_SECONDS_POSSIBLE
so that the code is checked by more compilers.
Do not rely on floating point to probe: stick to integer arithmetic,
to avoid potential porting problems.
Repair potential overflow correctly in the Southern Hemisphere.
(localtime_offset): Add a FIXME for the case where time_t is unsigned.

15 years ago2004-10-24 Paul Eggert <eggert@cs.ucla.edu>
roland [Mon, 1 Nov 2004 00:21:25 +0000 (00:21 +0000)]
2004-10-24  Paul Eggert  <eggert@cs.ucla.edu>

[BZ #473]
* time/tst-mktime.c (main): Don't assume that mktime fails
when given time stamps before 1970.  It returns negative
time_t values instead, for compatibility with BSD.

15 years ago2004-10-24 Paul Eggert <eggert@cs.ucla.edu>
roland [Mon, 1 Nov 2004 00:21:23 +0000 (00:21 +0000)]
2004-10-24  Paul Eggert  <eggert@cs.ucla.edu>

* time/tst-mktime2.c: New file.
* time/Makefile (tests): Add it.

15 years agoChange contact address to bug-glibc-locales@gnu.org (a new alias for the libc-locales...
roland [Sun, 31 Oct 2004 23:42:25 +0000 (23:42 +0000)]
Change contact address to bug-glibc-locales@gnu.org (a new alias for the libc-locales mailing list). [BZ #337]

15 years agoChange contact address from bug-glibc@gnu.org to libc-locales@sources.redhat.com.
roland [Sun, 31 Oct 2004 20:49:54 +0000 (20:49 +0000)]
Change contact address from bug-glibc@gnu.org to libc-locales@sources.redhat.com.

15 years ago2004-10-31 Petter Reinholdtsen <pere@hungry.com>
roland [Sun, 31 Oct 2004 20:48:24 +0000 (20:48 +0000)]
2004-10-31  Petter Reinholdtsen  <pere@hungry.com>

[BZ #337]
* locales/af_ZA: Change contact address from bug-glibc@gnu.org
to libc-locales@sources.redhat.com.
* locales/an_ES: Likewise.
* locales/ar_AE: Likewise.
* locales/ar_BH: Likewise.
* locales/ar_DZ: Likewise.
* locales/ar_EG: Likewise.
* locales/ar_IN: Likewise.
* locales/ar_IQ: Likewise.
* locales/ar_JO: Likewise.
* locales/ar_KW: Likewise.
* locales/ar_LB: Likewise.
* locales/ar_LY: Likewise.
* locales/ar_MA: Likewise.
* locales/ar_OM: Likewise.
* locales/ar_QA: Likewise.
* locales/ar_SA: Likewise.
* locales/ar_SD: Likewise.
* locales/ar_SY: Likewise.
* locales/ar_TN: Likewise.
* locales/ar_YE: Likewise.
* locales/be_BY: Likewise.
* locales/bn_IN: Likewise.
* locales/br_FR@euro: Likewise.
* locales/ca_ES: Likewise.
* locales/ca_ES@euro: Likewise.
* locales/cs_CZ: Likewise.
* locales/da_DK: Likewise.
* locales/de_AT: Likewise.
* locales/de_AT@euro: Likewise.
* locales/de_BE: Likewise.
* locales/de_BE@euro: Likewise.
* locales/de_CH: Likewise.
* locales/de_DE: Likewise.
* locales/de_DE@euro: Likewise.
* locales/de_LU: Likewise.
* locales/de_LU@euro: Likewise.
* locales/el_GR: Likewise.
* locales/el_GR@euro: Likewise.
* locales/en_AU: Likewise.
* locales/en_BW: Likewise.
* locales/en_CA: Likewise.
* locales/en_DK: Likewise.
* locales/en_GB: Likewise.
* locales/en_HK: Likewise.
* locales/en_IE: Likewise.
* locales/en_IE@euro: Likewise.
* locales/en_IN: Likewise.
* locales/en_NZ: Likewise.
* locales/en_PH: Likewise.
* locales/en_SG: Likewise.
* locales/en_US: Likewise.
* locales/en_ZW: Likewise.
* locales/es_AR: Likewise.
* locales/es_BO: Likewise.
* locales/es_CL: Likewise.
* locales/es_CO: Likewise.
* locales/es_CR: Likewise.
* locales/es_DO: Likewise.
* locales/es_EC: Likewise.
* locales/es_ES: Likewise.
* locales/es_ES@euro: Likewise.
* locales/es_GT: Likewise.
* locales/es_HN: Likewise.
* locales/es_MX: Likewise.
* locales/es_NI: Likewise.
* locales/es_PA: Likewise.
* locales/es_PE: Likewise.
* locales/es_PR: Likewise.
* locales/es_PY: Likewise.
* locales/es_SV: Likewise.
* locales/es_US: Likewise.
* locales/es_UY: Likewise.
* locales/es_VE: Likewise.
* locales/et_EE: Likewise.
* locales/eu_ES: Likewise.
* locales/eu_ES@euro: Likewise.
* locales/fi_FI: Likewise.
* locales/fi_FI@euro: Likewise.
* locales/fo_FO: Likewise.
* locales/fr_BE: Likewise.
* locales/fr_BE@euro: Likewise.
* locales/fr_CA: Likewise.
* locales/fr_CH: Likewise.
* locales/fr_FR: Likewise.
* locales/fr_FR@euro: Likewise.
* locales/fr_LU: Likewise.
* locales/fr_LU@euro: Likewise.
* locales/ga_IE: Likewise.
* locales/ga_IE@euro: Likewise.
* locales/gl_ES: Likewise.
* locales/gl_ES@euro: Likewise.
* locales/gu_IN: Likewise.
* locales/gv_GB: Likewise.
* locales/he_IL: Likewise.
* locales/hi_IN: Likewise.
* locales/hr_HR: Likewise.
* locales/hu_HU: Likewise.
* locales/id_ID: Likewise.
* locales/is_IS: Likewise.
* locales/it_CH: Likewise.
* locales/it_IT: Likewise.
* locales/it_IT@euro: Likewise.
* locales/iw_IL: Likewise.
* locales/ja_JP: Likewise.
* locales/kk_KZ: Likewise.
* locales/kl_GL: Likewise.
* locales/kn_IN: Likewise.
* locales/ko_KR: Likewise.
* locales/kw_GB: Likewise.
* locales/lo_LA: Likewise.
* locales/lt_LT: Likewise.
* locales/lv_LV: Likewise.
* locales/ml_IN: Likewise.
* locales/mn_MN: Likewise.
* locales/mr_IN: Likewise.
* locales/ms_MY: Likewise.
* locales/mt_MT: Likewise.
* locales/nb_NO: Likewise.
* locales/nl_BE: Likewise.
* locales/nl_BE@euro: Likewise.
* locales/nl_NL: Likewise.
* locales/nl_NL@euro: Likewise.
* locales/nn_NO: Likewise.
* locales/pa_IN: Likewise.
* locales/pl_PL: Likewise.
* locales/pt_BR: Likewise.
* locales/pt_PT: Likewise.
* locales/pt_PT@euro: Likewise.
* locales/ro_RO: Likewise.
* locales/ru_RU: Likewise.
* locales/ru_UA: Likewise.
* locales/sk_SK: Likewise.
* locales/sl_SI: Likewise.
* locales/sq_AL: Likewise.
* locales/sv_FI: Likewise.
* locales/sv_FI@euro: Likewise.
* locales/sv_SE: Likewise.
* locales/ta_IN: Likewise.
* locales/te_IN: Likewise.
* locales/th_TH: Likewise.
* locales/tr_TR: Likewise.
* locales/uk_UA: Likewise.
* locales/ur_PK: Likewise.
* locales/vi_VN: Likewise.
* locales/wa_BE@euro: Likewise.
* locales/zh_CN: Likewise.
* locales/zh_HK: Likewise.
* locales/zh_SG: Likewise.
* locales/zh_TW: Likewise.
[BZ #187]
* locales/tr_TR: Add 'yY' and 'nN' to yesexpr and noexpr, to avoid
surprises when using untranslated program.
* locales/tr_TR: Remove trailing '.*' from yesexpr and noexpr to
make it more like the structure of the POSIX locale values.
* locales/tr_TR: Correct numeric decimal point to use comma, and
correct grouping.
Based on patches from Deniz Akkus Kanca and Nilgün Belma Bugüner.
[BZ #421]
* locales/tr_TR: Update with new currency symbol valid from
2005-01-01.  Patch from Nilgün Belma Bugüner.
* locales/tr_TR: Convert UTF-8 comment to <U#> notation.

15 years ago2004-10-31 Petter Reinholdtsen <pere@hungry.com>
roland [Sun, 31 Oct 2004 20:48:19 +0000 (20:48 +0000)]
2004-10-31  Petter Reinholdtsen  <pere@hungry.com>

[BZ #337]
* locales/af_ZA: Change contact address from bug-glibc@gnu.org
to libc-locales@sources.redhat.com.
* locales/an_ES: Likewise.
* locales/ar_AE: Likewise.
* locales/ar_BH: Likewise.
* locales/ar_DZ: Likewise.
* locales/ar_EG: Likewise.
* locales/ar_IN: Likewise.
* locales/ar_IQ: Likewise.
* locales/ar_JO: Likewise.
* locales/ar_KW: Likewise.
* locales/ar_LB: Likewise.
* locales/ar_LY: Likewise.
* locales/ar_MA: Likewise.
* locales/ar_OM: Likewise.
* locales/ar_QA: Likewise.
* locales/ar_SA: Likewise.
* locales/ar_SD: Likewise.
* locales/ar_SY: Likewise.
* locales/ar_TN: Likewise.
* locales/ar_YE: Likewise.
* locales/be_BY: Likewise.
* locales/bn_IN: Likewise.
* locales/br_FR@euro: Likewise.
* locales/ca_ES: Likewise.
* locales/ca_ES@euro: Likewise.
* locales/cs_CZ: Likewise.
* locales/da_DK: Likewise.
* locales/de_AT: Likewise.
* locales/de_AT@euro: Likewise.
* locales/de_BE: Likewise.
* locales/de_BE@euro: Likewise.
* locales/de_CH: Likewise.
* locales/de_DE: Likewise.
* locales/de_DE@euro: Likewise.
* locales/de_LU: Likewise.
* locales/de_LU@euro: Likewise.
* locales/el_GR: Likewise.
* locales/el_GR@euro: Likewise.
* locales/en_AU: Likewise.
* locales/en_BW: Likewise.
* locales/en_CA: Likewise.
* locales/en_DK: Likewise.
* locales/en_GB: Likewise.
* locales/en_HK: Likewise.
* locales/en_IE: Likewise.
* locales/en_IE@euro: Likewise.
* locales/en_IN: Likewise.
* locales/en_NZ: Likewise.
* locales/en_PH: Likewise.
* locales/en_SG: Likewise.
* locales/en_US: Likewise.
* locales/en_ZW: Likewise.
* locales/es_AR: Likewise.
* locales/es_BO: Likewise.
* locales/es_CL: Likewise.
* locales/es_CO: Likewise.
* locales/es_CR: Likewise.
* locales/es_DO: Likewise.
* locales/es_EC: Likewise.
* locales/es_ES: Likewise.
* locales/es_ES@euro: Likewise.
* locales/es_GT: Likewise.
* locales/es_HN: Likewise.
* locales/es_MX: Likewise.
* locales/es_NI: Likewise.
* locales/es_PA: Likewise.
* locales/es_PE: Likewise.
* locales/es_PR: Likewise.
* locales/es_PY: Likewise.
* locales/es_SV: Likewise.
* locales/es_US: Likewise.
* locales/es_UY: Likewise.
* locales/es_VE: Likewise.
* locales/et_EE: Likewise.
* locales/eu_ES: Likewise.
* locales/eu_ES@euro: Likewise.
* locales/fi_FI: Likewise.
* locales/fi_FI@euro: Likewise.
* locales/fo_FO: Likewise.
* locales/fr_BE: Likewise.
* locales/fr_BE@euro: Likewise.
* locales/fr_CA: Likewise.
* locales/fr_CH: Likewise.
* locales/fr_FR: Likewise.
* locales/fr_FR@euro: Likewise.
* locales/fr_LU: Likewise.
* locales/fr_LU@euro: Likewise.
* locales/ga_IE: Likewise.
* locales/ga_IE@euro: Likewise.
* locales/gl_ES: Likewise.
* locales/gl_ES@euro: Likewise.
* locales/gu_IN: Likewise.
* locales/gv_GB: Likewise.
* locales/he_IL: Likewise.
* locales/hi_IN: Likewise.
* locales/hr_HR: Likewise.
* locales/hu_HU: Likewise.
* locales/id_ID: Likewise.
* locales/is_IS: Likewise.
* locales/it_CH: Likewise.
* locales/it_IT: Likewise.
* locales/it_IT@euro: Likewise.
* locales/iw_IL: Likewise.
* locales/ja_JP: Likewise.
* locales/kk_KZ: Likewise.
* locales/kl_GL: Likewise.
* locales/kn_IN: Likewise.
* locales/ko_KR: Likewise.
* locales/kw_GB: Likewise.
* locales/lo_LA: Likewise.
* locales/lt_LT: Likewise.
* locales/lv_LV: Likewise.
* locales/ml_IN: Likewise.
* locales/mn_MN: Likewise.
* locales/mr_IN: Likewise.
* locales/ms_MY: Likewise.
* locales/mt_MT: Likewise.
* locales/nb_NO: Likewise.
* locales/nl_BE: Likewise.
* locales/nl_BE@euro: Likewise.
* locales/nl_NL: Likewise.
* locales/nl_NL@euro: Likewise.
* locales/nn_NO: Likewise.
* locales/pa_IN: Likewise.
* locales/pl_PL: Likewise.
* locales/pt_BR: Likewise.
* locales/pt_PT: Likewise.
* locales/pt_PT@euro: Likewise.
* locales/ro_RO: Likewise.
* locales/ru_RU: Likewise.
* locales/ru_UA: Likewise.
* locales/sk_SK: Likewise.
* locales/sl_SI: Likewise.
* locales/sq_AL: Likewise.
* locales/sv_FI: Likewise.
* locales/sv_FI@euro: Likewise.
* locales/sv_SE: Likewise.
* locales/ta_IN: Likewise.
* locales/te_IN: Likewise.
* locales/th_TH: Likewise.
* locales/tr_TR: Likewise.
* locales/uk_UA: Likewise.
* locales/ur_PK: Likewise.
* locales/vi_VN: Likewise.
* locales/wa_BE@euro: Likewise.
* locales/zh_CN: Likewise.
* locales/zh_HK: Likewise.
* locales/zh_SG: Likewise.
* locales/zh_TW: Likewise.

15 years ago*** empty log message ***
schwab [Sat, 30 Oct 2004 21:45:34 +0000 (21:45 +0000)]
*** empty log message ***

15 years ago(elf_machine_rela)
schwab [Sat, 30 Oct 2004 21:44:13 +0000 (21:44 +0000)]
(elf_machine_rela)
(elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto
instead of static.

15 years agoUpdate.
drepper [Sat, 30 Oct 2004 18:04:21 +0000 (18:04 +0000)]
Update.

15 years agoInclude <stddef.h> for NULL.
drepper [Sat, 30 Oct 2004 18:01:02 +0000 (18:01 +0000)]
Include <stddef.h> for NULL.

15 years ago(_int_free): Use unique comments for the error cases.
drepper [Sat, 30 Oct 2004 17:59:51 +0000 (17:59 +0000)]
(_int_free): Use unique comments for the error cases.

15 years agoUpdate.
drepper [Fri, 29 Oct 2004 21:53:26 +0000 (21:53 +0000)]
Update.

15 years ago(sem_timedwait): Set ETIMEDOUT to errno when time is up. Tweak to avoid
drepper [Fri, 29 Oct 2004 21:10:51 +0000 (21:10 +0000)]
(sem_timedwait): Set ETIMEDOUT to errno when time is up.  Tweak to avoid
assembler warning.

15 years ago.
roland [Fri, 29 Oct 2004 01:25:24 +0000 (01:25 +0000)]
.

15 years ago2004-10-28 Roland McGrath <roland@frob.com>
roland [Fri, 29 Oct 2004 01:25:18 +0000 (01:25 +0000)]
2004-10-28  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_fork): Use i386_thread_state
instead of machine_thread_state.

15 years ago.
roland [Thu, 28 Oct 2004 23:25:37 +0000 (23:25 +0000)]
.

15 years ago2004-10-28 Roland McGrath <roland@redhat.com>
roland [Thu, 28 Oct 2004 23:25:33 +0000 (23:25 +0000)]
2004-10-28  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/syscalls.list: Remove setaltroot.

15 years agoUpdate.
drepper [Thu, 28 Oct 2004 23:11:43 +0000 (23:11 +0000)]
Update.

15 years ago(dl_open_worker): Remove reference to glibcbug script.
drepper [Thu, 28 Oct 2004 23:10:43 +0000 (23:10 +0000)]
(dl_open_worker): Remove reference to glibcbug script.