external/glibc.git
22 years ago2002-05-28 Roland McGrath <roland@frob.com>
Roland McGrath [Wed, 29 May 2002 08:09:20 +0000 (08:09 +0000)]
2002-05-28  Roland McGrath  <roland@frob.com>

* sysdeps/mach/alpha/setfpucw.c: New file.

22 years agoUpdate.
Ulrich Drepper [Tue, 28 May 2002 05:26:16 +0000 (05:26 +0000)]
Update.

2002-05-27  Alexandre Oliva  <aoliva@redhat.com>

* configure.in (DO_STATIC_NSS): Define if --disable-shared.

2002-05-26  Bruno Haible  <bruno@clisp.org>

* iconvdata/iso-2022-jp.c (BODY for TO_LOOP): Avoid running off the
end of the ISO-8859-7 from idx table.

2002-05-27  Ulrich Drepper  <drepper@redhat.com>

* manual/lang.texi: Fix FLT_EPSILON description [PR libc/3649].

2002-05-24  David S. Miller  <davem@redhat.com>

* string/bits/string2.h (memset): Do not try to optimize when
not _STRING_ARCH_unaligned if GCC will do the right thing.

22 years agoUpdate.
Ulrich Drepper [Fri, 24 May 2002 08:49:00 +0000 (08:49 +0000)]
Update.

2002-05-21  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regex.c: Define `inline' as a macro into nothing for the
compilers which lack the keyword.
* posix/regex.h: (RE_SYNTAX_GNU_AWK): Remove RE_CONTEXT_INVALID_OPS
for the compatibility of gawk.
* posix/regcomp.c: Add fake implementation of isblank() for the
environments which lack the function.
Don't use free_charset() in case of non-i18n envs.
(build_range_exp): Don't use i18n related code in case of non-i18n
envs.
(build_collating_symbol): Likewise.
(build_equiv_class): Likewise.
(build_charclass): Likewise.
(re_compile_fastmap_iter): Likewise.
(parse_bracket_exp): Likewise.
(build_word_op): Likewise.
(regfree): Don't use free_charset() in case of non-i18n envs.
* posix/regex_internal.h: Remove COMPLEX_BRACKET from
re_token_type_t in case of non-i18n envs.
Don't define re_charset_t in case of non-i18n envs.
Change the type of wcs of re_string_t from wchar_t to wint_t,
since we store also WEOF.
* posix/regex_internal.c: (re_string_realloc_buffers): Change
the type of wcs of re_string_t from wchar_t to wint_t.
(re_string_reconstruct): Likewise.
(create_ci_newstate): Don't use i18n related code in case of
non-i18n envs.
(create_cd_newstate): Likewise.

2002-05-24  Ulrich Drepper  <drepper@redhat.com>

* iconv/loop.c: Fix typo.

2002-05-23  Jakub Jelinek  <jakub@redhat.com>

* inet/ether_line.c (ether_line): Fix a typo causing only
lower 4 bits of each ethernet address byte being assigned.
Don't modify what line points to.
* inet/tst-ether_aton.c (main): Add ether_line tests.

2002-05-23  Marcus Brinkmann  <marcus@gnu.org>

* manual/filesys.texi: Don't make readlink example leak memory
when readlink fails.

22 years agoUpdate.
Ulrich Drepper [Tue, 21 May 2002 17:58:38 +0000 (17:58 +0000)]
Update.

2002-05-21  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/pthread.h (pthread_create): Rename first
parameter.
(pthread_cancel): Likewise.
* internals.h (__pthread_create_2_1): Likewise.
* sysdeps/unix/sysv/linux/bits/sigthread.h (pthread_kill): Likewise.

22 years agoUpdate.
Ulrich Drepper [Tue, 21 May 2002 06:01:28 +0000 (06:01 +0000)]
Update.

2002-05-20  Ulrich Drepper  <drepper@redhat.com>

* iconv/loop.c: Fix condition for defining unaligned loop.  Add
some more security checks.

22 years agoUpdate.
Ulrich Drepper [Tue, 21 May 2002 02:15:01 +0000 (02:15 +0000)]
Update.

2002-05-17  David S. Miller  <davem@redhat.com>

* sysdeps/unix/sysv/linux/sparc/fork.S: Define _internal aliases.

2002-05-16  David S. Miller  <davem@redhat.com>

* sysdeps/sparc/sparc32/dl-machine.h (LOAD_PIC_REG): Define.
(elf_machine_dynamic): Use it to force PIC register to be loaded.
(elf_machine_load_address): Likewise.
* sysdeps/sparc/sparc64/dl-machine.h: Mirror sparc32 changes.

* sysdeps/sparc/sparc64/strncmp.S: When second argument pointer
is unaligned, do not forget to fully initialize %g1 magic value.

* sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Fix 64-bit elf
register definitions and provide 32-bit variants of structures
during 64-bit builds.

* soft-fp/op-1.h (_FP_FRAC_CLEAR_OVERP_1): Define.
* soft-fp/op-2.h (_FP_FRAC_CLEAR_OVERP_2): Define.
* soft-fp/op-4.h (_FP_FRAC_CLEAR_OVERP_4): Define.
* soft-fp/op-common.h (_FP_PACK_CANONICAL): After rounding, if
_FP_FRAC_OVERP_X is set, use _FP_FRAC_CLEAR_OVERP_X to clear it.
(_FP_FROM_INT): Perform right shifts on unsigned integer type.
Do not clear implicit one bit here, it must be done post-rounding.
Only pad to the left using left shift if value uses less than the
available fractional bits.

22 years agoUpdate.
Ulrich Drepper [Tue, 21 May 2002 00:22:34 +0000 (00:22 +0000)]
Update.

2002-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* sysdeps/powerpc/Makefile (sysdeps_routines): Use libgcc-compat
instead of cmpdi2, shdi3, fixdfdi, fixsfdi in csu dir.
(shared-only-routines): Likewise.
* sysdeps/powerpc/libgcc-compat.c: New file.
* sysdeps/wordsize-32/cmpdi2.c: Removed.
* sysdeps/wordsize-32/fixdfdi.c: Removed.
* sysdeps/wordsize-32/fixsfdi.c: Removed.
* sysdeps/wordsize-32/shdi3.c: Removed.

22 years agoUpdate.
Ulrich Drepper [Mon, 20 May 2002 20:11:09 +0000 (20:11 +0000)]
Update.

2002-05-16  Bruno Haible  <bruno@clisp.org>

* MakeTAGS (libc.pot): Don't sort the output.
* po/header.pot: Update to match xgettext 0.11 output.

2002-05-16  Bruno Haible  <bruno@clisp.org>

* MakeTAGS (subdirs): Remove duplicates.

22 years agoUpdate.
Ulrich Drepper [Mon, 20 May 2002 07:04:09 +0000 (07:04 +0000)]
Update.

2002-05-19  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/errlist.c: Remove extra weak alias
definiton of _old_sys_nerr.  Define _old_sys_errlist as strong
alias.

22 years agoRemove extra weak alias definiton of _old_sys_nerr. Define _old_sys_errlist as strong...
Ulrich Drepper [Mon, 20 May 2002 06:56:53 +0000 (06:56 +0000)]
Remove extra weak alias definiton of _old_sys_nerr. Define _old_sys_errlist as strong alias.

22 years agoRegenerated.
Andreas Jaeger [Sun, 19 May 2002 18:37:30 +0000 (18:37 +0000)]
Regenerated.

22 years agoWarn against installing into /usr/local
Andreas Jaeger [Sun, 19 May 2002 18:37:21 +0000 (18:37 +0000)]
Warn against installing into /usr/local

2002-05-19  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/configure.in: Warn against an
installation in /usr/local.

22 years agoUpdate.
Andreas Jaeger [Sun, 19 May 2002 16:26:27 +0000 (16:26 +0000)]
Update.

2002-05-16  Bruno Haible  <bruno@clisp.org>

* sysdeps/unix/sysv/aix/bits/ioctl-types.h: Don't use multiline
string as argument of #error.

22 years agoDon't use multiline string as argument of #error.
Andreas Jaeger [Sun, 19 May 2002 16:24:27 +0000 (16:24 +0000)]
Don't use multiline string as argument of #error.

22 years ago(Symbolic Links): Adjust description of realpath to new implementation.
Ulrich Drepper [Thu, 16 May 2002 06:38:36 +0000 (06:38 +0000)]
(Symbolic Links): Adjust description of realpath to new implementation.

22 years agoUpdate.
Ulrich Drepper [Thu, 16 May 2002 06:14:36 +0000 (06:14 +0000)]
Update.

* stdlib/canonicalize.c (canonicalize): Rename to __realpath and
don't define static.  Remove old __realpath function.  TC1 of
POSIX 2001 will allow the second parameter to be NULL.
* stdlib/test-canon.c: Comment out test for NULL as second
parameter of realpath.

* time/offtime.c (__offtime): Set errno if overflow is detected.

22 years agoUpdate.
Ulrich Drepper [Thu, 16 May 2002 05:58:20 +0000 (05:58 +0000)]
Update.

2002-05-15  Ulrich Drepper  <drepper@redhat.com>

* elf/Makefile (rtld-routines): Remove dl-brk and dl-sbrk.
* sysdeps/unix/sysv/linux/Makefile (sysdep-rtld-routines): Add
dl-brk and dl-sbrk.

* sysdeps/sparc/fpu/bits/mathinline.h (fdim): Add __THROW.
(fdimf): Likewise.

22 years ago(sysdep-rtld-routines): Add dl-brk and dl-sbrk.
Ulrich Drepper [Thu, 16 May 2002 05:51:41 +0000 (05:51 +0000)]
(sysdep-rtld-routines): Add dl-brk and dl-sbrk.

22 years ago* hurd/report-wait.c (_S_msg_report_wait): Use mach_msg_id_t for arg.
Roland McGrath [Thu, 16 May 2002 05:16:20 +0000 (05:16 +0000)]
* hurd/report-wait.c (_S_msg_report_wait): Use mach_msg_id_t for arg.

22 years ago2002-05-15 Roland McGrath <roland@frob.com>
Roland McGrath [Thu, 16 May 2002 05:15:55 +0000 (05:15 +0000)]
2002-05-15  Roland McGrath  <roland@frob.com>

* hurd/report-wait.c (_S_msg_report_wait): Use mach_msg_id_t for arg.

22 years agoAdd __THROW to the declarations, too.
Ulrich Drepper [Thu, 16 May 2002 00:17:30 +0000 (00:17 +0000)]
Add __THROW to the declarations, too.

22 years agoUpdate.
Ulrich Drepper [Wed, 15 May 2002 21:34:43 +0000 (21:34 +0000)]
Update.

2002-05-15  Ulrich Drepper  <drepper@redhat.com>

* locales/be_BY: Fix int_curr_symbol.
Patch by Alexander Mikhailian <lowry@altern.org> [PR libc/3565].

22 years agoUpdate.
Ulrich Drepper [Wed, 15 May 2002 06:02:35 +0000 (06:02 +0000)]
Update.

2002-05-12  Bruno Haible  <bruno@clisp.org>

* iconvdata/testdata/EUC-JISX0213: New file.
* iconvdata/testdata/EUC-JISX0213..UTF8: New file.
* iconvdata/testdata/SHIFT_JISX0213: New file.
* iconvdata/testdata/SHIFT_JISX0213..UTF8: New file.
* iconvdata/testdata/ISO-2022-JP-3: New file.
* iconvdata/testdata/ISO-2022-JP-3..UTF8: New file.
* iconvdata/TESTS: Add EUC-JISX0213, SHIFT_JISX0213, ISO-2022-JP-3.
* iconvdata/run-iconv-test.sh: Skip the charmap test if the charmap
contains comments indicating precomposed characters.

2002-04-21  Bruno Haible  <bruno@clisp.org>

* iconvdata/iso-2022-jp-3.c: New file.
* iconvdata/gconv-modules (ISO-2022-JP-3): New module.
* iconvdata/Makefile (modules): Add ISO-2022-JP-3.
(LDFLAGS-ISO-2022-JP-3.so): New variable.
(ISO-2022-JP-3.so): Depend on libJIS.so and libJISX0213.so.
(distribute): Add iso-2022-jp-3.c.

2002-05-12  Bruno Haible  <bruno@clisp.org>

* iconvdata/tst-table-to.c (main): Restore handling of
transliterations, broken by last patch.

2002-05-12  Bruno Haible  <bruno@clisp.org>

* iconvdata/TESTS: Add IBM922, IBM1124, IBM1129.

2002-05-12  Bruno Haible  <bruno@clisp.org>

* iconvdata/euc-jisx0213.c (BODY for FROM_LOOP): Don't advance inptr
when there is not enough room in the output buffer.
* iconvdata/shift_jisx0213.c (BODY for FROM_LOOP): Likewise.

2002-04-20  Bruno Haible  <bruno@clisp.org>

* iconv/skeleton.c ({FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO}): New
macros.
(RESET_INPUT_BUFFER): Use them instead of {MIN,MAX}_NEEDED_{FROM,TO}.
Also make this macro work if FROM_DIRECTION evaluates to 0.
(gconv_init): Use the new macros instead of {MIN,MAX}_NEEDED_{FROM,TO}.
(FUNCTION_NAME): Likewise, in the handling of unaligned accesses and
of consume_incomplete.
* iconvdata/cp1255.c: Define {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO}
instead of {MIN,MAX}_NEEDED_{FROM,TO}. Set FROM_LOOP_MAX_NEEDED_TO to
4, not 8.
* iconvdata/cp1258.c: Likewise.
* iconvdata/ibm930.c: Define {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO}
instead of {MIN,MAX}_NEEDED_{FROM,TO}. Set TO_LOOP_MAX_NEEDED_TO to 3,
not 2.
* iconvdata/ibm933.c: Likewise.
* iconvdata/ibm935.c: Likewise.
* iconvdata/ibm937.c: Likewise.
* iconvdata/ibm939.c: Likewise.
* iconvdata/iso-2022-cn.c: Define
{FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of
{MIN,MAX}_NEEDED_{FROM,TO}. Set TO_LOOP_MAX_NEEDED_TO to 6, not 4.
* iconvdata/iso-2022-cn-ext.c: Likewise.
* iconvdata/iso-2022-jp.c: Define
{FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of
{MIN,MAX}_NEEDED_{FROM,TO}.
* iconvdata/tcvn5712-1.c: Define
{FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of
{MIN,MAX}_NEEDED_{FROM,TO}. Set FROM_LOOP_MAX_NEEDED_FROM to 1, not 2.
* iconvdata/euc-jisx0213.c: Define
{FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of
{MIN,MAX}_NEEDED_{FROM,TO}. Set FROM_LOOP_MAX_NEEDED_TO to 8, not 4.
* iconvdata/shift_jisx0213.c: Likewise.

2002-05-14  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* sysdeps/powerpc/Makefile (sysdeps_routines): Add divdi3, cmpdi2,
shdi3, fixdfdi, fixsfdi in csu dir.
(shared-only-routines): Likewise.
* sysdeps/wordsize-32/cmpdi2.c: New file.
* sysdeps/wordsize-32/shdi3.c: New file.
* sysdeps/wordsize-32/fixdfdi.c: New file.
* sysdeps/wordsize-32/fixsfdi.c: New file.
* sysdeps/powerpc/Versions (__divdi3, __moddi3, __udivdi3, __umoddi3,
__ashldi3, __ashrdi3, __lshrdi3, __cmpdi2, __ucmpdi2, __fixdfdi,
__fixsfdi, __fixunsdfdi, __fixunssfdi): Export at GLIBC_2.0.

* sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
Only use va_arg if the argument will be used [PR libc/3259].

2002-05-06  Michael A. Schmidt  <mmaass@us.ibm.com>

* catgets/catgets.c (catopen): Free buffer if internal catalog
open fails.

2002-05-14  Ulrich Drepper  <drepper@redhat.com>

* debug/xtrace.sh: Make more robust.  For realtime tracking use
non-buffering methods.
* debug/pcprofiledump.c: Implement -u option.
Patch by Roger Luethi <rl@hellgate.ch>.

22 years agoUpdate.
Ulrich Drepper [Wed, 15 May 2002 03:36:41 +0000 (03:36 +0000)]
Update.

2002-05-06  Jungshik Shin  <jshin@mailaps.org>

* charmaps/UTF-8: Fix wcwidth for Hangul Conjoining medial vowels
and trailing consonant.
* charmaps/GB18030: Likewise

22 years agoUpdate.
Ulrich Drepper [Wed, 15 May 2002 00:22:23 +0000 (00:22 +0000)]
Update.

2002-05-11  Jakub Jelinek  <jakub@redhat.com>

* include/netinet/in.h (bindresvport_internal): Add prototype.
* include/rpc/auth.h  (authunix_create_internal,
authunix_create_default_internal, authnone_create_internal,
authdes_pk_create_internal): Add prototypes.
* include/rpc/clnt.h (clnt_create_internal, clnttcp_create_internal,
clntudp_create_internal, clntudp_bufcreate_internal,
clntunix_create_internal): Add prototypes.
* include/rpc/svc.h (svc_sendreply_internal, svcerr_decode_internal,
svc_getreq_internal, svc_getreq_common_internal,
svc_getreqset_internal, svc_getreq_poll_internal,
svc_register_internal, svc_unregister_internal,
svcudp_create_internal, svcudp_bufcreate_internal): Add prototypes.
* include/rpc/svc_auth.h (_authenticate_internal): Add prototype.
* include/sys/socket.h (__sendto, __recvfrom, __sendmsg, __recvmsg,
__setsockopt, __getsockname, __bind, __listen): Add prototypes.
* inet/rexec.c (rexec_af): Use __listen and __getsockname.
* inet/rcmd.c (rcmd_af): Use __listen.
(rresvport_af): Use __bind.
* sunrpc/clnt_udp.c: Use INTUSE calls to bindresvport,
authunix_create, authunix_create_default, authnone_create,
authdes_pk_create, clnt_create, clnttcp_create, clntudp_create,
clntudp_bufcreate, clntunix_create svc_sendreply, svcerr_decode,
svc_getreq, svc_getreq_common, svc_getreqset, svc_getreq_poll,
svc_register, svc_unregister, svcudp_create, svcudp_bufcreate,
_authenticate, add INTDEF after such function definitions.
Use __listen, __bind, __sendto, __recvfrom, __sendmsg, __recvmsg,
__setsockopt, __getsockname instead of non-__ variants.
* sunrpc/pmap_rmt.c: Likewise.
* sunrpc/rtime.c: Likewise.
* sunrpc/svc_udp.c: Likewise.
* sunrpc/clnt_unix.c: Likewise.
* sunrpc/svc_unix.c: Likewise.
* sunrpc/bindrsvprt.c: Likewise.
* sunrpc/svc_tcp.c: Likewise.
* sunrpc/auth_none.c: Likewise.
* sunrpc/clnt_raw.c: Likewise.
* sunrpc/clnt_tcp.c: Likewise.
* sunrpc/auth_unix.c: Likewise.
* sunrpc/key_call.c: Likewise.
* sunrpc/clnt_gen.c: Likewise.
* sunrpc/pm_getmaps.c: Likewise.
* sunrpc/clnt_simp.c: Likewise.
* sunrpc/pmap_clnt.c: Likewise.
* sunrpc/svc_run.c: Likewise.
* sunrpc/svc.c: Likewise.
* sunrpc/svc_simple.c: Likewise.
* sunrpc/pm_getport.c: Likewise.
* sunrpc/auth_des.c: Likewise.
* sunrpc/svc_auth.c: Likewise.
* sysdeps/generic/unwind-dw2-fde.c (__register_frame_info_bases,
__register_frame_info_table_bases, __deregister_frame_info_bases):
Add INTDEF.
(__register_frame_info_bases_internal,
__register_frame_info_table_bases_internal,
__deregister_frame_info_bases_internal): Add prototypes.
(__register_frame_info, __register_frame): Use INTUSE in call to
__register_frame_info_bases.
(__register_frame_info_table): Similarly.
(__deregister_frame_info, __deregister_frame): Similarly.
* sysdeps/generic/sendto.c (__sendto): Renamed from sendto, add
sendto as weak alias.
* sysdeps/mach/hurd/sendto.c: Likewise.
* sysdeps/generic/recvfrom.c (__recvfrom): Renamed from recvfrom, add
recvfrom as weak alias.
* sysdeps/mach/hurd/recvfrom.c: Likewise.
* sysdeps/unix/sysv/aix/recvfrom.c: Likewise.
* sysdeps/generic/recvmsg.c (__recvmsg): Renamed from recvmsg, add
recvmsg as weak alias.
* sysdeps/unix/sysv/aix/recvmsg.c: Likewise.
* sysdeps/generic/sendmsg.c (__sendmsg): Renamed from sendmsg, add
sendmsg as weak alias.
* sysdeps/unix/sysv/aix/sendmsg.c: Likewise.
* sysdeps/generic/setsockopt.c (__setsockopt): Renamed from
setsockopt, add setsockopt as weak alias.
* sysdeps/mach/hurd/setsockopt.c: Likewise.
* sysdeps/generic/bind.c (__bind): Renamed from bind, add bind as
weak alias.
* sysdeps/mach/hurd/bind.c: Likewise.
* sysdeps/generic/listen.c (__listen): Renamed from listen, add listen
as weak alias.
* sysdeps/mach/hurd/listen.c: Likewise.
* sysdeps/generic/getsockname.c (__getsockname): Renamed from
getsockname, add getsockname as weak alias.
* sysdeps/mach/hurd/getsockname.c: Likewise.
* sysdeps/unix/sysv/aix/getsockname.c: Likewise.
* sysdeps/mach/hurd/recvmsg.c (__recvmsg): Add weak alias.
* sysdeps/mach/hurd/sendmsg.c (__sendmsg): Add weak alias.
* sysdeps/unix/inet/syscalls.list (__bind, __listen, __recvmsg,
__recvfrom, __sendmsg, __sendto, __setsockopt): Add aliases.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (__recvmsg, __sendmsg):
Add aliases.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/recvfrom.S (__recvfrom): Add weak alias.
* sysdeps/unix/sysv/linux/recvmsg.S (__recvmsg): Likewise.
* sysdeps/unix/sysv/linux/sendmsg.S (__sendmsg): Likewise.
* sysdeps/unix/sysv/linux/sendto.S (__sendto): Likewise.
* sysdeps/unix/sysv/linux/setsockopt.S (__setsockopt): Likewise.
* sysdeps/unix/sysv/linux/bind.S (__bind): Likewise.
* sysdeps/unix/sysv/linux/listen.S (__listen): Likewise.
* sysdeps/unix/sysv/linux/getsockname.S (__getsockname): Likewise.

2002-05-10  Jakub Jelinek  <jakub@redhat.com>

* locale/programs/localedef.h (show_archive_content): Add verbose
argument.
* locale/programs/localedef.c (main): Adjust caller.
* locale/programs/locarchive.c (struct nameent, struct dataent): New.
(nameentcmp, dataentcmp): New functions.
(xstrcmp): Remove.
(show_archive_content): Print verbose listing with --list-archive -v.

* locale/programs/locarchive.c (open_archive): Take extra argument
readonly.  If true open file with O_RDONLY and don't create the
archive if it doesn't exist.
Adapt all callers.
(close_archive): Don't do anything if fd element is -1.
* locale/programs/localedef.h (open_archive): Adjust prototype.
* locale/programs/locfile.c (write_all_categories): Adjust open_archive
call.

* malloc/malloc.c (__posix_memalign): Correct check for size of
alignment value [PR libc/3444].

22 years agoUpdate.
Ulrich Drepper [Tue, 14 May 2002 21:29:42 +0000 (21:29 +0000)]
Update.

2002-05-14  Ulrich Drepper  <drepper@redhat.com>

* include/stdio.h: Remove references to old stdio implementation.

* libio/Makefile (bug-ungetwc2-ENV): Define.

* hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
Allocate three, not two, more than LEN when appending '/.'.
* sysdeps/mach/hurd/chroot.c (chroot): Likewise.  Don't check
if NAME ends with '/.' if it is shorter than 2 chars.

22 years ago(bug-ungetwc2-ENV): Define.
Ulrich Drepper [Tue, 14 May 2002 21:26:41 +0000 (21:26 +0000)]
(bug-ungetwc2-ENV): Define.

22 years ago* iconv/gconv_charset.h (upstr): Add inline keyword, quiets warning.
Roland McGrath [Tue, 14 May 2002 02:22:58 +0000 (02:22 +0000)]
* iconv/gconv_charset.h (upstr): Add inline keyword, quiets warning.

* hurd/hurdinit.c (_hurd_init): Use internal name _hurd_new_proc_init.

22 years ago2002-05-13 Marcus Brinkmann <marcus@gnu.org>
Roland McGrath [Mon, 13 May 2002 01:48:25 +0000 (01:48 +0000)]
2002-05-13  Marcus Brinkmann  <marcus@gnu.org>

        * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
        Allocate three, not two, more than LEN when appending '/.'.
        * sysdeps/mach/hurd/chroot.c (chroot): Likewise.  Don't check
        if NAME ends with '/.' if it is shorter than 2 chars.

* mach/Makefile ($(mach-syscalls:%=$(objpfx)%.S)): Make the generated
files #include <sysdep.h> instead of <mach/machine/syscall_sw.h>.

22 years ago* hurd/hurdexec.c (_hurd_exec): Reauthenticate ports/dtable used in
Roland McGrath [Mon, 13 May 2002 01:27:49 +0000 (01:27 +0000)]
* hurd/hurdexec.c (_hurd_exec): Reauthenticate ports/dtable used in

file_exec to effect svuid=euid, svgid=egid if that is not a no-op.

22 years ago2002-05-12 Roland McGrath <roland@frob.com>
Roland McGrath [Mon, 13 May 2002 01:27:28 +0000 (01:27 +0000)]
2002-05-12  Roland McGrath  <roland@frob.com>

* hurd/hurdexec.c (_hurd_exec): Reauthenticate ports/dtable used in
file_exec to effect svuid=euid, svgid=egid if that is not a no-op.

22 years ago (__divsf3): Fix typo in symbol version.
Andreas Jaeger [Sat, 11 May 2002 05:12:35 +0000 (05:12 +0000)]
 (__divsf3): Fix typo in symbol version.

22 years agoUpdate.
Andreas Jaeger [Sat, 11 May 2002 05:12:22 +0000 (05:12 +0000)]
Update.

2002-05-10  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/ia64/Makefile: Remove extra endif.
* sysdeps/ia64/ia64libgcc.S (__divsf3): Fix typo in symbol version.

22 years ago* sysdeps/powerpc/fpu/w_sqrt.c: Add sqrtl alias.
Andreas Schwab [Fri, 10 May 2002 18:40:00 +0000 (18:40 +0000)]
* sysdeps/powerpc/fpu/w_sqrt.c: Add sqrtl alias.

22 years agoAdd sqrtl alias.
Andreas Schwab [Fri, 10 May 2002 18:39:46 +0000 (18:39 +0000)]
Add sqrtl alias.

22 years agoClean up last changelog entry.
Andreas Jaeger [Thu, 9 May 2002 20:01:40 +0000 (20:01 +0000)]
Clean up last changelog entry.

* sysdeps/unix/sysv/linux/x86_64/Dist: Add it.
* sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers): Add it.
* sysdeps/unix/sysv/linux/ia64/glob.c: Move to ...
* sysdeps/wordsize-64/glob.c: ...here.

22 years agoUpdate.
Andreas Jaeger [Thu, 9 May 2002 08:07:59 +0000 (08:07 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/Dist: Add sys/io.h.

* sysdeps/unix/sysv/linux/x86_64/sys/io.h: New.

* sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers): Add sys/io.h.

22 years agoUpdate.
Andreas Jaeger [Thu, 9 May 2002 07:51:40 +0000 (07:51 +0000)]
Update.

2002-05-09  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/glob.c: Remove.
* sysdeps/unix/sysv/linux/s390/s390-64/glob.c: Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/glob.c: Remove.

* sysdeps/unix/sysv/linux/ia64/glob.c: Move to ...
* sysdeps/wordsize-64/glob.c: ...here.

22 years agoRemoved, we can use the wordsize-64 one.
Andreas Jaeger [Thu, 9 May 2002 07:50:41 +0000 (07:50 +0000)]
Removed, we can use the wordsize-64 one.

22 years ago* hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Use
Roland McGrath [Wed, 8 May 2002 22:01:44 +0000 (22:01 +0000)]
* hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Use

O_NOTRANS flag in "." lookup.

22 years ago2002-05-08 Roland McGrath <roland@frob.com>
Roland McGrath [Wed, 8 May 2002 22:01:27 +0000 (22:01 +0000)]
2002-05-08  Roland McGrath  <roland@frob.com>

* hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Use
O_NOTRANS flag in "." lookup.

22 years agoUpdate.
Ulrich Drepper [Sun, 5 May 2002 18:17:37 +0000 (18:17 +0000)]
Update.

2002-05-05  Ulrich Drepper  <drepper@redhat.com>

* malloc/mtrace.c: Comment out use of _mtrace_file and _mtrace_len.

22 years agoUpdate.
Ulrich Drepper [Sat, 4 May 2002 17:34:59 +0000 (17:34 +0000)]
Update.

2002-05-04  Ulrich Drepper  <drepper@redhat.com>

* locale/duplocale.c (__duplocale): Update special members only
when allocation succeeded.

22 years ago(__duplocale): Update special members only when allocation succeeded.
Ulrich Drepper [Sat, 4 May 2002 17:12:37 +0000 (17:12 +0000)]
(__duplocale): Update special members only when allocation succeeded.

22 years ago* shlib-versions (.*-.*-gnu-gnu.*): Remove USE_IN_LIBIO conditionals;
Roland McGrath [Fri, 3 May 2002 08:06:14 +0000 (08:06 +0000)]
* shlib-versions (.*-.*-gnu-gnu.*): Remove USE_IN_LIBIO conditionals;

we can only build libc.so.0.3(GLIBC_2.2.6) now.

22 years ago2002-05-03 Roland McGrath <roland@frob.com>
Roland McGrath [Fri, 3 May 2002 08:05:49 +0000 (08:05 +0000)]
2002-05-03  Roland McGrath  <roland@frob.com>

* shlib-versions (.*-.*-gnu-gnu.*): Remove USE_IN_LIBIO conditionals;
we can only build libc.so.0.3(GLIBC_2.2.6) now.

22 years agoUpdate.
Ulrich Drepper [Fri, 3 May 2002 07:39:22 +0000 (07:39 +0000)]
Update.

2002-05-02  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/ia64/Makefile: Add ia64libgcc in csu subdir.
* sysdeps/ia64/Versions (__divtf3, __divdf3, __divsf3, __divdi3,
__moddi3, __udivdi3, __umoddi3, __multi3): Export at GLIBC_2.0.
* sysdeps/ia64/ia64libgcc.S: New file.

2002-05-02  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/dl-tls.c (oom): Implement using _dl_fatal_printf.

* malloc/memusage.c: Distinguish anonymous mmap.

22 years agoDistinguish anonymous mmap.
Ulrich Drepper [Fri, 3 May 2002 03:49:29 +0000 (03:49 +0000)]
Distinguish anonymous mmap.

22 years ago* sysdeps/mach/hurd/close.c: #undef __close before function defn,
Roland McGrath [Thu, 2 May 2002 21:14:03 +0000 (21:14 +0000)]
* sysdeps/mach/hurd/close.c: #undef __close before function defn,

and use INTDEF on it.
* sysdeps/mach/hurd/fcntl.c: Use INTDEF2.

* sysdeps/mach/hurd/dl-sysdep.c (errno): New variable.

* sysdeps/mach/hurd/alpha/static-start.S: New file (unfinished).

22 years ago2002-05-01 Roland McGrath <roland@frob.com>
Roland McGrath [Thu, 2 May 2002 21:13:45 +0000 (21:13 +0000)]
2002-05-01  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/alpha/static-start.S: New file (unfinished).

22 years agoUpdate.
Ulrich Drepper [Wed, 1 May 2002 19:15:46 +0000 (19:15 +0000)]
Update.

2002-05-01  Ulrich Drepper  <drepper@redhat.com>

* malloc/memusage.c: Add support for tracking mmap & friends.
* malloc/memusage.sh: Implement -m/--mmap option.

22 years agoUpdate.
Ulrich Drepper [Wed, 1 May 2002 17:09:58 +0000 (17:09 +0000)]
Update.

2002-04-30  Jakub Jelinek  <jakub@redhat.com>

* locale/programs/locarchive.c (create_archive): Add archivefname
argument, create fname from it.
(enlarge_archive): Honour output_prefix.
(open_archive): Likewise.

2002-04-30  Jakub Jelinek  <jakub@redhat.com>

* locale/programs/locarchive.c (add_locales_to_archive): Don't nest
too many stpcpy macros.

2002-04-26  Bruno Haible  <bruno@clisp.org>

* locale/programs/ld-collate.c (collate_read): Cast first argument
for "%.*s" to int.

2002-04-26  Bruno Haible  <bruno@clisp.org>

* include/libintl.h (__ngettext, __dngettext, __dcngettext,
__dcngettext_internal): New declarations.
(__gettext, __dgettext, __dcgettext, __dcgettext_internal): Add
attribute declarations.

22 years ago(__ngettext, __dngettext, __dcngettext): New declarations. (__gettext, __dgettext...
Ulrich Drepper [Wed, 1 May 2002 16:41:24 +0000 (16:41 +0000)]
(__ngettext, __dngettext, __dcngettext): New declarations. (__gettext, __dgettext, __dcgettext, __dcgettext_internal): Add attribute declarations.

22 years agoRemoved old GNU stdio implementation; GNU libio is now the only option.
Roland McGrath [Tue, 30 Apr 2002 22:10:34 +0000 (22:10 +0000)]
Removed old GNU stdio implementation; GNU libio is now the only option.

* configure.in: Removed --enable-libio option and @stdio@ subst var.
Define USE_IN_LIBIO unconditionally.
* configure: Regenerated.
* Makeconfig (stdio): Set to libio by default.
* config.make.in (stdio): Variable removed.
* sysdeps/unix/sysv/linux/configure.in: Don't set $stdio.
* sysdeps/unix/sysv/linux/configure: Regenerated.
* sysdeps/mach/hurd/configure.in: Don't test $stdio.
* sysdeps/mach/hurd/configure: Regenerated.
* stdio/.cvsignore: File removed.
* stdio/Makefile: File removed.
* stdio/Versions: File removed.
* stdio/__fbufsize.c: File removed.
* stdio/__flbf.c: File removed.
* stdio/__fpending.c: File removed.
* stdio/__fpurge.c: File removed.
* stdio/__freadable.c: File removed.
* stdio/__freading.c: File removed.
* stdio/__fsetlocking.c: File removed.
* stdio/__fwritable.c: File removed.
* stdio/__fwriting.c: File removed.
* stdio/clearerr.c: File removed.
* stdio/fclose.c: File removed.
* stdio/fcloseall.c: File removed.
* stdio/feof.c: File removed.
* stdio/ferror.c: File removed.
* stdio/fflush.c: File removed.
* stdio/fgetc.c: File removed.
* stdio/fgetpos.c: File removed.
* stdio/fgets.c: File removed.
* stdio/fileno.c: File removed.
* stdio/fmemopen.c: File removed.
* stdio/fopen.c: File removed.
* stdio/fopncook.c: File removed.
* stdio/fputc.c: File removed.
* stdio/fputs.c: File removed.
* stdio/fread.c: File removed.
* stdio/freopen.c: File removed.
* stdio/fseek.c: File removed.
* stdio/fsetpos.c: File removed.
* stdio/ftell.c: File removed.
* stdio/fwrite.c: File removed.
* stdio/getc.c: File removed.
* stdio/getchar.c: File removed.
* stdio/getdelim.c: File removed.
* stdio/gets.c: File removed.
* stdio/glue.c: File removed.
* stdio/internals.c: File removed.
* stdio/linewrap.c: File removed.
* stdio/linewrap.h: File removed.
* stdio/memstream.c: File removed.
* stdio/newstream.c: File removed.
* stdio/obstream.c: File removed.
* stdio/putc.c: File removed.
* stdio/putchar.c: File removed.
* stdio/puts.c: File removed.
* stdio/rewind.c: File removed.
* stdio/setbuf.c: File removed.
* stdio/setbuffer.c: File removed.
* stdio/setlinebuf.c: File removed.
* stdio/setvbuf.c: File removed.
* stdio/stdio.h: File removed.
* stdio/ungetc.c: File removed.
* stdio/vasprintf.c: File removed.
* stdio/vscanf.c: File removed.
* stdio/vsnprintf.c: File removed.
* stdio/vsprintf.c: File removed.
* stdio/vsscanf.c: File removed.
* sysdeps/generic/defs.c: File removed.
* sysdeps/generic/fdopen.c: File removed.
* sysdeps/generic/pipestream.c: File removed.
* sysdeps/generic/stdio_init.c: File removed.
* sysdeps/generic/sysd-stdio.c: File removed.
* sysdeps/generic/vdprintf.c: File removed.
* sysdeps/mach/hurd/defs.c: File removed.
* sysdeps/mach/hurd/fdopen.c: File removed.
* sysdeps/mach/hurd/pipestream.c: File removed.
* sysdeps/mach/hurd/stdio_init.c: File removed.
* sysdeps/mach/hurd/sysd-stdio.c: File removed.
* sysdeps/mach/hurd/vdprintf.c: File removed.
* sysdeps/posix/defs.c: File removed.
* sysdeps/posix/fdopen.c: File removed.
* sysdeps/posix/pipestream.c: File removed.
* sysdeps/posix/stdio_init.c: File removed.
* sysdeps/posix/vdprintf.c: File removed.
* sysdeps/unix/pipestream.c: File removed.
* sysdeps/unix/sysv/sysd-stdio.c: File removed.
* sysdeps/unix/sysv/sco3.2.4/pipestream.c: File removed.
* sysdeps/unix/sysv/sysv4/pipestream.c: File removed.

22 years ago2002-04-30 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 30 Apr 2002 22:00:59 +0000 (22:00 +0000)]
2002-04-30  Roland McGrath  <roland@frob.com>

Removed old GNU stdio implementation; GNU libio is now the only option.
* configure.in: Removed --enable-libio option and @stdio@ subst var.
Define USE_IN_LIBIO unconditionally.
* configure: Regenerated.
* Makeconfig (stdio): Set to libio by default.
* config.make.in (stdio): Variable removed.
* sysdeps/unix/sysv/linux/configure.in: Don't set $stdio.
* sysdeps/unix/sysv/linux/configure: Regenerated.
* sysdeps/mach/hurd/configure.in: Don't test $stdio.
* sysdeps/mach/hurd/configure: Regenerated.
* stdio/.cvsignore: File removed.
* stdio/Makefile: File removed.
* stdio/Versions: File removed.
* stdio/__fbufsize.c: File removed.
* stdio/__flbf.c: File removed.
* stdio/__fpending.c: File removed.
* stdio/__fpurge.c: File removed.
* stdio/__freadable.c: File removed.
* stdio/__freading.c: File removed.
* stdio/__fsetlocking.c: File removed.
* stdio/__fwritable.c: File removed.
* stdio/__fwriting.c: File removed.
* stdio/clearerr.c: File removed.
* stdio/fclose.c: File removed.
* stdio/fcloseall.c: File removed.
* stdio/feof.c: File removed.
* stdio/ferror.c: File removed.
* stdio/fflush.c: File removed.
* stdio/fgetc.c: File removed.
* stdio/fgetpos.c: File removed.
* stdio/fgets.c: File removed.
* stdio/fileno.c: File removed.
* stdio/fmemopen.c: File removed.
* stdio/fopen.c: File removed.
* stdio/fopncook.c: File removed.
* stdio/fputc.c: File removed.
* stdio/fputs.c: File removed.
* stdio/fread.c: File removed.
* stdio/freopen.c: File removed.
* stdio/fseek.c: File removed.
* stdio/fsetpos.c: File removed.
* stdio/ftell.c: File removed.
* stdio/fwrite.c: File removed.
* stdio/getc.c: File removed.
* stdio/getchar.c: File removed.
* stdio/getdelim.c: File removed.
* stdio/gets.c: File removed.
* stdio/glue.c: File removed.
* stdio/internals.c: File removed.
* stdio/linewrap.c: File removed.
* stdio/linewrap.h: File removed.
* stdio/memstream.c: File removed.
* stdio/newstream.c: File removed.
* stdio/obstream.c: File removed.
* stdio/putc.c: File removed.
* stdio/putchar.c: File removed.
* stdio/puts.c: File removed.
* stdio/rewind.c: File removed.
* stdio/setbuf.c: File removed.
* stdio/setbuffer.c: File removed.
* stdio/setlinebuf.c: File removed.
* stdio/setvbuf.c: File removed.
* stdio/stdio.h: File removed.
* stdio/ungetc.c: File removed.
* stdio/vasprintf.c: File removed.
* stdio/vscanf.c: File removed.
* stdio/vsnprintf.c: File removed.
* stdio/vsprintf.c: File removed.
* stdio/vsscanf.c: File removed.
* sysdeps/generic/defs.c: File removed.
* sysdeps/generic/fdopen.c: File removed.
* sysdeps/generic/pipestream.c: File removed.
* sysdeps/generic/stdio_init.c: File removed.
* sysdeps/generic/sysd-stdio.c: File removed.
* sysdeps/generic/vdprintf.c: File removed.
* sysdeps/mach/hurd/defs.c: File removed.
* sysdeps/mach/hurd/fdopen.c: File removed.
* sysdeps/mach/hurd/pipestream.c: File removed.
* sysdeps/mach/hurd/stdio_init.c: File removed.
* sysdeps/mach/hurd/sysd-stdio.c: File removed.
* sysdeps/mach/hurd/vdprintf.c: File removed.
* sysdeps/posix/defs.c: File removed.
* sysdeps/posix/fdopen.c: File removed.
* sysdeps/posix/pipestream.c: File removed.
* sysdeps/posix/stdio_init.c: File removed.
* sysdeps/posix/vdprintf.c: File removed.
* sysdeps/unix/pipestream.c: File removed.
* sysdeps/unix/sysv/sysd-stdio.c: File removed.
* sysdeps/unix/sysv/sco3.2.4/pipestream.c: File removed.
* sysdeps/unix/sysv/sysv4/pipestream.c: File removed.

22 years agoUpdate.
Ulrich Drepper [Mon, 29 Apr 2002 08:23:04 +0000 (08:23 +0000)]
Update.

* sysdeps/generic/tls.h: Describe what must be defined.

22 years ago* include/libc-symbols.h (link_warning): Use `unused' attribute.
Roland McGrath [Mon, 29 Apr 2002 07:46:52 +0000 (07:46 +0000)]
* include/libc-symbols.h (link_warning): Use `unused' attribute.

22 years ago2002-04-29 Roland McGrath <roland@frob.com>
Roland McGrath [Mon, 29 Apr 2002 07:46:42 +0000 (07:46 +0000)]
2002-04-29  Roland McGrath  <roland@frob.com>

* include/libc-symbols.h (link_warning): Use `unused' attribute.

22 years agoUpdate.
Ulrich Drepper [Mon, 29 Apr 2002 05:00:43 +0000 (05:00 +0000)]
Update.

* sysdeps/generic/tls.h: Describe would must be defined.

22 years agoUpdate.
Ulrich Drepper [Mon, 29 Apr 2002 04:32:06 +0000 (04:32 +0000)]
Update.

* sysdeps/generic/glob.c (glob): Don't pass GLOB_NOMAGIC flag to
glob_in_dir [PR libc/3385].
* posix/globtest.sh: Add test case.

22 years agoUpdate.
Ulrich Drepper [Mon, 29 Apr 2002 02:53:27 +0000 (02:53 +0000)]
Update.

2002-04-28  Ulrich Drepper  <drepper@redhat.com>

* intl/loadmsgcat.c [!_LIBC] (_nl_init_domain_conv): Don't add
//TRANSLIT twice.

22 years agoUpdate.
Ulrich Drepper [Sat, 27 Apr 2002 20:14:37 +0000 (20:14 +0000)]
Update.

2002-04-27  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/ia64/fxstat.c: Fix a few issues with the
_internal symbol handling.
* sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.

22 years agoUpdate.
Ulrich Drepper [Fri, 26 Apr 2002 23:40:02 +0000 (23:40 +0000)]
Update.

2002-04-26  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/ia64/fpu/s_finite.S: Define _internal aliases.
* sysdeps/unix/sysv/linux/ia64/fork.S: Likewise.

22 years agoUpdate.
Ulrich Drepper [Fri, 26 Apr 2002 20:52:02 +0000 (20:52 +0000)]
Update.

2002-04-26  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regcomp.c (re_compile_fastmap_iter): Fix fastmap in case of
not _LIBC and RE_ENABLE_I18N.
(build_range_exp): Implement for not _LIBC.
(build_collating_symbol): Likewise.
(parse_bracket_exp): Unify redundant error handlings.
Don't erase mbcset for non matching list in multibyte envs.
(build_word_op): Add '_' to matching list for \w operator.
* posix/regex_internal.c (re_string_construct): Invoke
build_upper_buffer in case of not RE_ENABLE_I18N.
(re_string_reconstruct): Don't touch cur_state in case of not
RE_ENABLE_I18N.
* posix/regex_internal.h (attribute_hidden): New macro in case of
not _LIBC.
(re_charset_t): Define range_starts/ends in case of not _LIBC.
* posix/regexec.c (sift_states_iter_mb): Hide in case of not
RE_ENABLE_I18N.
(transit_state_mb): Likewise.
(check_node_accept_bytes): Implement the code evaluating range
expression in case of not _LIBC.
(find_collation_sequence_value): Hide in case of not _LIBC.

2002-04-26  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Copied from
i386/semctl.c.
(__old_semctl, __new_semctl): Only use va_arg if the argument will
be used.

22 years agoUpdate.
Ulrich Drepper [Fri, 26 Apr 2002 20:26:21 +0000 (20:26 +0000)]
Update.

* sysdeps/ia64/fpu/s_isinf.S: Fix definition of _internal names.

22 years agoUpdate.
Ulrich Drepper [Fri, 26 Apr 2002 07:56:14 +0000 (07:56 +0000)]
Update.

2002-04-26  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/ia64/strncpy.S: Fix recovery code.
Patch by David Mosberger <davidm@hpl.hp.com>.

22 years agoUpdate.
Ulrich Drepper [Thu, 25 Apr 2002 00:18:11 +0000 (00:18 +0000)]
Update.

2002-04-24  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/ia64/Versions [libc]: Add getunwind for
GLIBC_2.2.6.

22 years agoUpdate.
Ulrich Drepper [Wed, 24 Apr 2002 22:02:03 +0000 (22:02 +0000)]
Update.

2002-04-14  Bruno Haible  <bruno@clisp.org>

* posix/regex.c (re_max_failures): Add back symbol for binary
compatibility.

22 years agoUpdate.
Ulrich Drepper [Wed, 24 Apr 2002 21:54:53 +0000 (21:54 +0000)]
Update.

2002-04-22  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regcomp.c (re_compile_internal): Adapt it to new interface
of buffer building functions.
* posix/regex_internal.c (re_string_allocate): New function.
(re_string_realloc_buffers): New function.
(re_string_skip_chars): New function.
(re_string_reconstruct): New function.
(re_string_construct): Adapt it to new interface of buffer building
functions.
(re_string_construct_common): Likewise.
(build_wcs_buffer): Likewise.
(build_wcs_upper_buffer): Likewise.
(build_upper_buffer): Likewise.
(re_string_translate_buffer): Likewise.
(re_string_context_at): Adapt it to variable length buffers.
* posix/regex_internal.h (re_string_t): Add new fields to handle
variable length buffers.
(re_match_context_t): Likewise.
* posix/regexec.c (re_search_internal): Adapt it to new interface
of re_string_t and re_match_context_t.
(acquire_init_state_context): Likewise.
(check_matching): Likewise.
(check_halt_state_context): Likewise.
(proceed_next_node): Likewise.
(set_regs): Likewise.
(sift_states_backward): Likewise.
(clean_state_log_if_need): Likewise.
(sift_states_iter_mb): Likewise.
(sift_states_iter_bkref): Likewise.
(add_epsilon_backreference): Likewise.
(transit_state): Likewise.
(transit_state_sb): Likewise.
(transit_state_mb): Likewise.
(transit_state_bkref): Likewise.
(transit_state_bkref_loop): Likewise.
(check_node_accept): Likewise.
(match_ctx_init): Likewise.
(extend_buffers): New function.

2002-04-21  Bruno Haible  <bruno@clisp.org>

* iconvdata/tst-table.sh: For the second check, use the truncated
GB18030 charmap table, like for the first check.

22 years ago* charmaps/GB18030: Add Unicode planes 1 (scripts, symbols), 2 (CJK),
Ulrich Drepper [Wed, 24 Apr 2002 21:41:32 +0000 (21:41 +0000)]
* charmaps/GB18030: Add Unicode planes 1 (scripts, symbols), 2 (CJK),

14 (tags), 15 and 16 (private use), accidentally removed by the
2002-01-16 patch.  Replace width table by one which is based on
Unicode but is biased for CJK.

22 years agoUpdate.
Ulrich Drepper [Wed, 24 Apr 2002 21:09:14 +0000 (21:09 +0000)]
Update.

2002-04-24  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-load.c (open_verify): Correct __lseek parameters.
Patch by Simon Hildrew <simon@hildrew.net> [PR libc/3354].

2002-04-23  H.J. Lu  <hjl@gnu.org>

* include/math.h (isfinite): Fix a typo.

2002-04-24  Ulrich Drepper  <drepper@redhat.com>

* libio/bug-ungetwc2.c (test_locale): Use the de_DE.UTF-8 locale
which is created by the test suite.

2002-04-20  Bruno Haible  <bruno@clisp.org>

* iconvdata/iso-2002-kr.c (MAX_NEEDED_FROM): Set to 4.
(BODY for FROM_LOOP): Fix comparisons between inptr and inend.

2002-04-20  Bruno Haible  <bruno@clisp.org>

* iconvdata/johab.c (BODY for FROM_LOOP): Change type of i, m, f,
to avoid gcc warning.

2002-04-20  Bruno Haible  <bruno@clisp.org>

* iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Fix modification mask
of data->__statep->__count.

2002-04-20  Bruno Haible  <bruno@clisp.org>

* iconvdata/euc-jisx0213.c (BODY for TO_LOOP): Really ignore Unicode
tag characters.
* iconvdata/shift_jisx0213.c (BODY for TO_LOOP): Likewise.

* sysdeps/unix/sysv/linux/x86_64/ldconfig.h: New file.
* sysdeps/unix/sysv/linux/x86_64/dl-cache.h: New file.

22 years agoFix the Unicode values for LETTER H WITH CARON.
Ulrich Drepper [Wed, 24 Apr 2002 20:14:49 +0000 (20:14 +0000)]
Fix the Unicode values for LETTER H WITH CARON.

22 years ago* sysdeps/mach/alpha/syscall.S: Don't use .frame, ENTRY will have it;
Roland McGrath [Wed, 24 Apr 2002 18:17:16 +0000 (18:17 +0000)]
* sysdeps/mach/alpha/syscall.S: Don't use .frame, ENTRY will have it;

use END macro instead of our own .end directive.
Use `callsys' insn mnemonic instead of `call_pal'.

* sysdeps/mach/alpha/sysdep.h (ENTRY): New macro.

* sysdeps/alpha/dl-machine.h (ELF_MACHINE_USER_ADDRESS_MASK): New
macro; we need this for Hurd.

Log entry was missing for 2002/03/24 commit of rev 1.8,
goes with 2002-03-17 changes.
* sysdeps/mach/hurd/i386/Makefile [$(subdir) = misc]
(sysdep_routines): Append ioperm here.
(sysdep_headers): Append sys/io.h here.

22 years ago* sysdeps/mach/hurd/send.c: int -> size_t for WROTE.
Roland McGrath [Tue, 23 Apr 2002 22:23:13 +0000 (22:23 +0000)]
* sysdeps/mach/hurd/send.c: int -> size_t for WROTE.

* sysdeps/mach/hurd/sendto.c: Likewise.
* hurd/hurdioctl.c (siocgifconf): int -> size_t for DATA_LEN.
* sysdeps/mach/hurd/wait4.c (__wait4): natural_t -> int for SIGCODE.
* sysdeps/mach/hurd/getpriority.c: unsigned int -> size_t for PISIZE.

22 years ago2002-04-23 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 23 Apr 2002 22:22:24 +0000 (22:22 +0000)]
2002-04-23  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/send.c: int -> size_t for WROTE.
* sysdeps/mach/hurd/sendto.c: Likewise.
* hurd/hurdioctl.c (siocgifconf): int -> size_t for DATA_LEN.
* sysdeps/mach/hurd/wait4.c (__wait4): natural_t -> int for SIGCODE.
* sysdeps/mach/hurd/getpriority.c: unsigned int -> size_t for PISIZE.

22 years agoAdd strerror_r prototype.
Ulrich Drepper [Tue, 23 Apr 2002 21:16:22 +0000 (21:16 +0000)]
Add strerror_r prototype.

22 years ago* sysdeps/mach/hurd/i386/ioperm.c (ioperm): Translate MIG_BAD_ID
Roland McGrath [Tue, 23 Apr 2002 03:49:04 +0000 (03:49 +0000)]
* sysdeps/mach/hurd/i386/ioperm.c (ioperm): Translate MIG_BAD_ID

failure from i386_io_perm_* RPCs to ENOSYS.

22 years ago2002-04-22 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 23 Apr 2002 03:48:54 +0000 (03:48 +0000)]
2002-04-22  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/i386/ioperm.c (ioperm): Translate MIG_BAD_ID
failure from i386_io_perm_* RPCs to ENOSYS.

22 years ago(Output Conversion Syntax): Document how to use precision with the * precision.
Ulrich Drepper [Mon, 22 Apr 2002 19:42:10 +0000 (19:42 +0000)]
(Output Conversion Syntax): Document how to use precision with the * precision.

22 years agoUpdate.
Andreas Jaeger [Mon, 22 Apr 2002 11:52:42 +0000 (11:52 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/ldconfig.h: New.

* sysdeps/unix/sysv/linux/x86_64/dl-cache.h: New.

22 years agoUpdate.
Andreas Jaeger [Mon, 22 Apr 2002 05:58:22 +0000 (05:58 +0000)]
Update.

2002-04-22  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/vfork.S: Use %rdi as temp
register instead of destroying %rbx.

22 years agoUse %rdi as temp register instead of destroying %rbx.
Andreas Jaeger [Mon, 22 Apr 2002 05:58:12 +0000 (05:58 +0000)]
Use %rdi as temp register instead of destroying %rbx.

22 years agoUpdate.
Ulrich Drepper [Sun, 21 Apr 2002 18:04:21 +0000 (18:04 +0000)]
Update.

2002-04-21  Ulrich Drepper  <drepper@redhat.com>

* string/string.h: Declare strerror_r also for XPG6.

22 years agoUpdate.
Ulrich Drepper [Sun, 21 Apr 2002 00:49:57 +0000 (00:49 +0000)]
Update.

* manual/Makefile: Likewise.

22 years ago(glibc-targets): Add xtests.
Ulrich Drepper [Sun, 21 Apr 2002 00:42:54 +0000 (00:42 +0000)]
(glibc-targets): Add xtests.

22 years ago* sysdeps/mach/hurd/tmpfile.c: Create a file descriptor and use fdopen.
Roland McGrath [Sat, 20 Apr 2002 21:33:03 +0000 (21:33 +0000)]
* sysdeps/mach/hurd/tmpfile.c: Create a file descriptor and use fdopen.

22 years ago2002-04-19 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 20 Apr 2002 21:32:49 +0000 (21:32 +0000)]
2002-04-19  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/tmpfile.c: Create a file descriptor and use fdopen.

22 years agoUpdate.
Ulrich Drepper [Sat, 20 Apr 2002 20:36:26 +0000 (20:36 +0000)]
Update.

2002-04-20  Ulrich Drepper  <drepper@redhat.com>

* Makefile: Add handling of xtests and xcheck targets.
* MakeTAGS: Likewise.
* Makeconfig: Likewise.
* Makerules: Likewise.
* Rules: Likewise.
* sunrpc/Makefile (xtests): Add thrsvc if thread library available.
* sunrpc/thrsvc.c: New file.  By Zack Weinberg.

22 years agoUpdate.
Ulrich Drepper [Sat, 20 Apr 2002 18:57:50 +0000 (18:57 +0000)]
Update.

2002-04-11  Zack Weinberg  <zack@codesourcery.com>

* include/rpc/rpc.h (struct rpc_thread_variables): Remove
authnone_private_s.
* sunrpc/auth_none.c: Include bits/libc-lock.h.
Delete #ifdef _RPC_THREAD_SAFE_ block.
(authnone_private): Make a struct, not a pointer to struct.
(authnone_private_guard): New once-control variable.
(authnone_create_once): New function, split out of
authnone_create.  No need to allocate memory.
(authnone_create): Just call authnone_create_once via
__libc_once, then return &authnone_private->no_client.
(authnone_marshal): Access private data via CLIENT argument,
not authnone_private pointer.
Fix typo (MAX_MARSHEL_SIZE -> MAX_MARSHAL_SIZE).
* sunrpc/rpc_thread.c (__rpc_thread_destroy): No need to free
authnone_private_s.

22 years agoUpdate.
Ulrich Drepper [Sat, 20 Apr 2002 17:21:26 +0000 (17:21 +0000)]
Update.

2002-04-12  H.J. Lu  <hjl@gnu.org>

* sunrpc/clnt_raw.c (clntraw_create): Properly set xdrs and client.

22 years agoUpdate.
Ulrich Drepper [Sat, 20 Apr 2002 08:14:24 +0000 (08:14 +0000)]
Update.

2002-04-18  Bruno Haible  <bruno@clisp.org>

* iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for
FROM_DIRECTION): Make the FROM direction stateless.
* iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for
FROM_DIRECTION): Likewise.

* iconvdata/cvs11643l1.c: Update comments.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.

22 years agoUpdate.
Ulrich Drepper [Sat, 20 Apr 2002 07:58:48 +0000 (07:58 +0000)]
Update.

* iconvdata/JISX0213.TXT: New file.
* iconvdata/jisx0213.h: New file.
* iconvdata/jisx0213.c: New file.
* iconvdata/euc-jisx0213.c: New file.
* iconvdata/shift_jisx0213.c: New file.
* iconvdata/gconv-modules (EUC-JISX0213, SHIFT_JISX0213): New modules.
* iconvdata/EUC-JISX0213.precomposed: New file.
* iconvdata/SHIFT_JISX0213.precomposed: New file.
* iconvdata/SHIFT_JISX0213.irreversible: New file.
* iconvdata/tst-table-to.c (main): Make it work for encodings for
which the "to" direction is stateful.
* iconvdata/tst-tables.sh: Add EUC-JISX0213, SHIFT_JISX0213.
* iconvdata/Makefile (modules): Add libJISX0213, EUC-JISX0213,
SHIFT_JISX0213.
(libJISX0213-routines): New variable.
(LDFLAGS-EUC-JISX0213.so, LDFLAGS-SHIFT_JISX0213.so): New variables.
(EUC-JISX0213.so, SHIFT_JISX0213.so): Depend on libJISX0213.so.
(LDFLAGS-libJISX0213.so): New variable.
(distribute): Add JISX0213.TXT, EUC-JISX0213.precomposed,
SHIFT_JISX0213.precomposed, SHIFT_JISX0213.irreversible,
jisx0213.c, jisx0213.h, euc-jisx0213.c, shift_jisx0213.c.

2002-04-15  Bruno Haible  <bruno@clisp.org>

* iconvdata/big5hkscs.c (big5hkscs_to_ucs): Change element type to
uint32_t.  Update to Unicode 3.2.
(from_ucs4, from_ucs4_idx): Update to Unicode 3.2.
(BODY for TO_LOOP): Handle the ASCII range specially.
* iconvdata/BIG5HKSCS.irreversible: Add one more entry.
* iconvdata/testdata/BIG5HKSCS: Remove a character.
* iconvdata/testdata/BIG5HKSCS..UTF-8: Regenerated.

2002-04-15  Bruno Haible  <bruno@clisp.org>

* iconvdata/gb18030.c (__twobyte_to_ucs, __fourbyte_to_ucs,
__ucs_to_gb18030_tab1, __ucs_to_gb18030_tab2): Update to Unicode 3.2.

2002-04-15  Bruno Haible  <bruno@clisp.org>

* iconvdata/cns11643.h (__cns11643_from_ucs4p2c_tab): New declaration.
(ucs4_to_cns11643): Update.
* iconvdata/cns11643.c: Update to Unicode 3.2.
(__cns11643l2*_to_ucs4_tab, __cns11643_from_ucs4p0_tab,
__cns11643_from_ucs4p2_tab): Regenerated.
(__cns11643_from_ucs4p2c_tab): New array.
* iconvdata/EUC-TW.irreversible: Remove two entries.

2002-04-15  Bruno Haible  <bruno@clisp.org>

* locale/C-translit.h.in: Update to Unicode 3.2.
Add <U2047>, <U205F>..<U2063>, <U2145>..<U2149>, <U2A74>..<U2A76>,
<U30A0>, <U3251>..<U325F>, <U32B1>..<U32BF>, <UFE00>..<UFE0F>.

2002-04-15  Bruno Haible  <bruno@clisp.org>

22 years agoUpdate.
Ulrich Drepper [Sat, 20 Apr 2002 02:05:39 +0000 (02:05 +0000)]
Update.

2002-04-15  Bruno Haible  <bruno@clisp.org>

* iconvdata/sjis.c (halfkana_to_ucs4): Remove array.
(BODY for FROM_LOOP): Optimize the JISX0201:GR to Unicode conversion.

2002-04-15  Bruno Haible  <bruno@clisp.org>

* iconvdata/euc-jp.c (BODY for FROM_LOOP): When encountering an
invalid input (e.g. a byte > 0x80 followed by a byte < 0x80), skip
always one byte, not 0 bytes in some cases and 2 bytes in others.

* iconvdata/tst-table-from.c (main): Correct the usage message.

2002-04-19  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regcomp.c (parse_expression): Fix incorrect error code.
(parse_dup_op): Fix error handling like "a{}".
(parse_bracket_exp): Add error handling.
(fetch_number): Add error handling for "a{<very_large_number>}".

2002-04-19  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regcomp.c (parse_bracket_symbol): Add error handling
in case that the symbol name is too long.
(build_charclass): Handle [:lower:]/[:uppper:] correctly
in case of REG_ICASE.

22 years ago(parse_expression): Fix incorrect error code. (parse_dup_op): Fix error handling...
Ulrich Drepper [Sat, 20 Apr 2002 00:57:03 +0000 (00:57 +0000)]
(parse_expression): Fix incorrect error code. (parse_dup_op): Fix error handling like "a{}". (parse_bracket_exp): Add error handling. (fetch_number): Add error handling for "a{<very_large_number>}".

parse_bracket_symbol): Add error handling in case that the symbol name is too
long.
(build_charclass): Handle [:lower:]/[:uppper:] correctly in case of REG_ICASE.

22 years agoUpdate.
Andreas Jaeger [Fri, 19 Apr 2002 14:53:42 +0000 (14:53 +0000)]
Update.

2002-04-19  Andreas Jaeger  <aj@suse.de>

* math/libm-test.inc: Fix comment, suggested by Hartvig Ekner
<hartvige@mips.com>.

22 years agoFix comment.
Andreas Jaeger [Fri, 19 Apr 2002 14:52:54 +0000 (14:52 +0000)]
Fix comment.

22 years agoUpdate.
Ulrich Drepper [Fri, 19 Apr 2002 08:00:18 +0000 (08:00 +0000)]
Update.

2002-04-15  H.J. Lu  <hjl@gnu.org>

* include/math.h (__finitel_internal): Declare only if
__NO_LONG_DOUBLE_MATH is not defined.
(__isinfl_internal): Likewise.
(__isnanl_internal): Likewise.

* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __connect_internal.
* sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.

* sysdeps/unix/sysv/linux/syscalls.list: Add __chown_internal and
__fcntl_internal.

* sysdeps/unix/sysv/linux/fxstat.c (__fxstat64_internal): Added.
* sysdeps/unix/sysv/linux/lxstat.c (__lxstat64_internal): Added.

22 years agoUpdate.
Ulrich Drepper [Fri, 19 Apr 2002 07:49:16 +0000 (07:49 +0000)]
Update.

2002-04-15  Bruno Haible  <bruno@clisp.org>

* iconvdata/armscii-8.c (BODY for FROM_LOOP): Fix array access.
(BODY for TO_LOOP): Likewise.
* iconvdata/tcvn5712-1.c (from_ucs4): Map U+0309 to 0xB1.
* iconvdata/tst-table.sh: Add support for encodings which contain
precomposed Unicode characters, known to the iconv converter in both
directions but not listed in the charmap.
* iconvdata/IBM856.irreversible: New file.
* iconvdata/IBM922.irreversible: New file.
* iconvdata/IBM1132.irreversible: New file.
* iconvdata/IBM1133.irreversible: New file.
* iconvdata/IBM1160.irreversible: New file.
* iconvdata/IBM1161.irreversible: New file.
* iconvdata/IBM1163.irreversible: New file.
* iconvdata/IBM1164.irreversible: New file.
* iconvdata/ARMSCII-8.irreversible: New file.
* iconvdata/TCVN5712-1.precomposed: New file.
* iconvdata/tst-tables.sh: Add IBM856, IBM922, IBM1124, IBM1129,
IBM1160, IBM1161, IBM1132, IBM1133, IBM1162, IBM1163, IBM1164,
ARMSCII-8, TCVN5712-1.
* iconvdata/Makefile (distribute): Add IBM856.irreversible,
IBM922.irreversible, IBM1132.irreversible, IBM1133.irreversible,
IBM1160.irreversible, IBM1161.irreversible, IBM1163.irreversible,
IBM1164.irreversible, ARMSCII-8.irreversible, TCVN5712-1.precomposed.

2002-04-17  Jakub Jelinek  <jakub@redhat.com>

* time/tst-mktime.c: Include <stdlib.h>.  Use %d, not %ld format
for EVENING69.  Include offsets in TZ environment variable.

22 years agoUpdate.
Ulrich Drepper [Fri, 19 Apr 2002 00:37:44 +0000 (00:37 +0000)]
Update.

* iconv/skeleton.c (RESET_INPUT_BUFFER): Replace ifs with #ifs to
avoid compiler warnings.

* locale/programs/localedef.c (main): Always call
construct_output_path.

22 years agoUpdate.
Ulrich Drepper [Fri, 19 Apr 2002 00:19:38 +0000 (00:19 +0000)]
Update.

* iconv/Makefile (CFLAGS-simple-hash.c): Define to find hashval.h.