external/glibc.git
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.

22 years agoUpdate.
Ulrich Drepper [Thu, 18 Apr 2002 08:08:23 +0000 (08:08 +0000)]
Update.

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

* locale/programs/locfile.c (to_archive): New variable.  To collect
data which has to be added to the locale archive.
(write_all_categories): Take new third parameter with locale name.
Unless no_archive flag set add new locale data to the archive
(write_locale_data): Unless no-archive flag set store generated data
in to_archive data structure instead of generation output file.
Add new parameter with locale category index.
* locale/programs/locfile.h: Add new parameters in declaractions of
write_all_categories and write_locale_data.
* locale/programs/localedef.c: Recognize --no-archive, --list-archive,
--add-to-archive, and --delete-from-archive options.  Pass extra
parameter to write_all_categories.
* locale/programs/localedef.h: Add prototypes for functions in
locarchive.c.
* locale/locarchive.h: New file.
* locale/programs/locarchive.c: New file.
* locale/Makefile (distribute): Add programs/locarchive.c and
locarchive.h.
(localedef-modules): Add md5 and locarchive.
Add vpath to crypt subdir for md5.c.

* locale/programs/ld-address.c: Pass locale category ID as new second
parameter to write_locale_data.
* locale/programs/ld-collate.c: Likewise.
* locale/programs/ld-ctype.c: Likewise.
* locale/programs/ld-identification.c: Likewise.
* locale/programs/ld-measurement.c: Likewise.
* locale/programs/ld-messages.c: Likewise.
* locale/programs/ld-monetary.c: Likewise.
* locale/programs/ld-name.c: Likewise.
* locale/programs/ld-numeric.c: Likewise.
* locale/programs/ld-paper.c: Likewise.
* locale/programs/ld-telephone.c: Likewise.
* locale/programs/ld-time.c: Likewise.

* locale/simple-hash.c: Move compute_hashval function from here...
* locale/hashval.h: ...to here.  New file.
* locale/simple-hash.h: Add prototype for compute_hashval.

* include/libintl.h: Minor cleanups.

* elf/reldep7.c: New file.
* elf/reldep7mod1.c: New file.
* elf/reldep7mod2.c: New file.
* elf/Makefile: Add rules to build and run reldep7.

22 years agoUpdate.
Ulrich Drepper [Wed, 17 Apr 2002 05:56:15 +0000 (05:56 +0000)]
Update.

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

* posix/regcomp.c (gettext): Use INTUSE for _libc_intl_domainname.

* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.

22 years agoUpdate.
Ulrich Drepper [Mon, 15 Apr 2002 21:48:56 +0000 (21:48 +0000)]
Update.

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

* include/sys/stat.h: Fix typo.  Patch by HJ Lu.

22 years agoUpdate.
Ulrich Drepper [Mon, 15 Apr 2002 17:35:59 +0000 (17:35 +0000)]
Update.

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

* locale/programs/charmap.c (charmap_read): Don't access result if
result == NULL.

22 years agoUpdate.
Ulrich Drepper [Mon, 15 Apr 2002 17:10:22 +0000 (17:10 +0000)]
Update.

2002-02-17  Andreas Schwab  <schwab@suse.de>

* reldep7.c: New file.
* reldep7mod1.c: New file.
* reldep7mod2.c: New file.
* Makefile: Add rules to build and run reldep7.

22 years agoUpdate.
Ulrich Drepper [Mon, 15 Apr 2002 06:37:43 +0000 (06:37 +0000)]
Update.

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

* elf/dl-lookup.c (_dl_lookup_symbol): Move add_dependency call to
the end of the function.  Pass original flags to recursive call if
add_dependency failed.
(_dl_lookup_versioned_symbol): Likewise.

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

* time/mktime.c (__mktime_internal): If year is 69, don't bail out
early, but check whether it overflowed afterwards.
* time/tst-mktime.c (main): Add new tests.

* debug/xtrace.sh: Fix program name in help message.
Patch by Roger Luethi <rl@hellgate.ch>.

22 years agoUpdate.
Ulrich Drepper [Mon, 15 Apr 2002 05:35:10 +0000 (05:35 +0000)]
Update.

* include/sys/stat.h: Add prototypes for __lxstat_internal and
__lxstat64_internal.  Add macros __lxstat and __lxstat64 if not
NOT_IN_libc.
* sysdeps/generic/lxstat.c: Use INTDEF for __lxstat.
* sysdeps/mach/hurd/lxstat.c: Likewise.
* sysdeps/unix/common/lxstat.c: Likewise.
* sysdeps/unix/sysv/aix/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Likewise.
* sysdeps/generic/lxstat64.c: Use INTDEF for __lxstat64.
* sysdeps/mach/hurd/lxstat64.c: Likewise.
* sysdeps/unix/sysv/aix/lxstat64.c: Likewise.
* sysdeps/unix/sysv/linuxx/lxstat64.c: Likewise.

* include/wchar.h: Declare __mbrtowc_internal and __mbrlen_internal
prototypes.  Add __mbrlen and __mbrtowc macros.
* wcsmbs/mbrlen.c: Use INTDEF for __mbrlen.
* wcsmbs/mbrtowc.c: Use INTDEF for __mbrtowc.

* include/unistd.h: Add prototype for __write_internal and add
__libc_write macro is SHARED.
* sysdeps/generic/write.c: Use INTDEF for __write.
* sysdeps/mach/hurd/write.c: Likewise.
* sysdeps/unix/sysv/aix/write.c: Likewise.
* sysdeps/unix/syscalls.list: Add __libc_write alias.

* assert/assert.c: Replace STR_N_SIZE with something usable in
macro arguments.
* assert/assert-perr.c: Likewise.

22 years agoUpdate.
Ulrich Drepper [Sun, 14 Apr 2002 20:15:40 +0000 (20:15 +0000)]
Update.

* include/sys/socket.h: Declare __libc_sa_len_internal and define
SA_LEN macro to use it if not NOT_IN_libc.
* sysdeps/unix/sysv/linux/sa_len.c: Use INTDEF for __libc_sa_len.

* include/fcntl.h: Declare __open_internal and define __open and
__libc_open macros if not NOT_IN_libc.
* sysdeps/generic/open.c: Use INTDEF for __open.
* sysdeps/mach/hurd/open.c: Likewise.
* sysdeps/unix/sysv/aix/open.c: Likewise.
* sysdeps/unix/syscalls.list: Add __open_internal alias.

* sysdeps/generic/check_fds.c: Make sure newly opened file descriptor
has correct number.

* include/fcntl.h: Define __libc_fcntl macro if not NOT_IN_libc.
* sysdeps/mach/hurd/fcntl.c: Undefine __libc_fcntl as well.
* sysdeps/unix/sysv/aix/fcntl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.

* include/wctype.h: Declare __iswalpha_l_internal,
__iswdigit_l_internal, __iswspace_l_internal,
__iswxdigit_l_internal, and __iswctype_internal.  Define
__iswalpha_l, __iswctype, __iswdigit_l, __iswspace_l, and
__iswxdigit_l macros if not NOT_IN_libc.
* wctype/iswctype.c: Use INTDEF for __iswctype.
* wctype/wcfuncs_l.c: Use INTDEF for all __iswXXX_l.

22 years agoUpdate.
Ulrich Drepper [Sun, 14 Apr 2002 17:55:43 +0000 (17:55 +0000)]
Update.

* include/math.h: Declare __isinf_internal, __isinfl_internal,
__isnan_internal, and __isnanl_internal.
* stdio-common/printf_fp.c: Use INTUSE for calls to __isinf, __isinfl,
__isnan, and __isnanl.
* stdio-common/printf_size.c: Likewise.
* sysdeps/generic/printf_fphex.c: Likewise.
* sysdeps/i386/fpu/s_isinfl.c: Also define _internal alias.
* sysdeps/i386/fpu/s_isnanl.c: Likewise.
* sysdeps/ia64/fpu/s_isinf.S: Likewise.
* sysdeps/ia64/fpu/s_isnan.S: Likewise.
* sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
* sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
* sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
* sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
* sysdeps/m68k/s_isinfl.c: Likewise.
* sysdeps/m68k/fpu/s_isinf.c: Likewise.
* sysdeps/powerpc/fpu/s_isnan.c: Likewise.

22 years agoUpdate.
Ulrich Drepper [Sun, 14 Apr 2002 09:14:45 +0000 (09:14 +0000)]
Update.

* include/sys/time.h: Declare __gettimeofday_internal and define
__gettimeofday macro if not NOT_IN_libc.
* sysdeps/generic/gettimeofday.c: Use INTEDEF for __gettimeofday.
* sysdeps/mach/gettimeofday.c: Likewise.
* sysdeps/posix/gettimeofday.c: Likewise.
* sysdeps/unix/sysv/aix/gettimeofday.c: Likewise.
* sysdeps/unix/common/syscalls.list: Define __gettimeofday alias.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Likewise.

22 years agoUpdate.
Ulrich Drepper [Sun, 14 Apr 2002 08:52:10 +0000 (08:52 +0000)]
Update.

* posix/bsd-getpgrp.c: Use INTUSE for __getpgid call.

22 years agoUpdate.
Ulrich Drepper [Sun, 14 Apr 2002 08:47:01 +0000 (08:47 +0000)]
Update.

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

* include/sys/stat.h: Declare __fxstat_internal and __fxstat64_internal
and define __fxstate and __fxstat64 macros if not NOT_IN_libc.
Remove __lstat and __fstat inline functions.
* sysdeps/generic/fxstat.c: Use INTDEF for __fxstat.
* sysdeps/mach/hurd/fxstat.c: Likewise.
* sysdeps/unix/fxstat.c: Likewise.
* sysdeps/unix/sysv/aix/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Likewise.
* sysdeps/generic/fxstat64.c: Use INTDEF for __fxstat64.
* sysdeps/mach/hurd/fxstat64.c: Likewise.
* sysdeps/unix/sysv/aix/fxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/fxstat64.c: Likewise.

* include/unistd.h: Declare __getpid_internal and define
__getpid macro if not NOT_IN_libc.
* sysdeps/mach/hurd/getpid.c: Use INTDEF for __getpid.
* sysdeps/generic/getpid.c: Likewise.
* sysdeps/unix/syscalls.list: Add __getpid_internal alias.

* include/unistd.h: Declare __getpgid_internal and define
__getpgid macro if not NOT_IN_libc.
* sysdeps/generic/getpgid.c: Use INTDEF for __getpgid.
* sysdeps/mach/hurd/getpgid.c: Likewise.
* sysdeps/unix/sysv/aix/getpgid.c: Likewise.
* sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise.
* sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Add _getpgid_internal alias.

* include/unistd.h: Declare __getpagesize_internal and define
__getpagesize macro if not NOT_IN_libc.
* sysdeps/unix/sysv/linux/shmat.c: Include <unistd.h> for
__getpagesize.
* sysdeps/generic/getpagesize.c: Use INTDEF for __getpagesize.
* sysdeps/mach/getpagesize.c: Likewise.
* sysdeps/posix/getpagesize.c: Likewise.
* sysdeps/unix/getpagesize.c: Likewise.
* sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/getpagesize.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/getpagesize.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Likewise.

22 years agoDeclare __getpid_internaland define __getpid macro if not NOT_IN_libc.
Ulrich Drepper [Sun, 14 Apr 2002 08:32:15 +0000 (08:32 +0000)]
Declare __getpid_internaland define __getpid macro if not NOT_IN_libc.

Declare __getpgid_internaland define __getpgid macro if not NOT_IN_libc.

Declare __getpagesize_internaland define __getpagesize macro if not
NOT_IN_libc.

22 years agoUpdate.
Andreas Jaeger [Sun, 14 Apr 2002 07:24:33 +0000 (07:24 +0000)]
Update.

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

* sysdeps/i386/i486/bits/string.h (__strcspn_cg): Use only memory
as clobber to reduce register pressure.
(__strpbrk_cg): Likewise.
(__mempcpy_by4): Likewise.
(__strstr_cg): Likewise.
Add prototype for __memrchr.

22 years ago(__strcspn_cg): Use only memory as clobber to reduce register pressure.
Andreas Jaeger [Sun, 14 Apr 2002 07:24:12 +0000 (07:24 +0000)]
(__strcspn_cg): Use only memory as clobber to reduce register pressure.

(__strpbrk_cg): Likewise.
(__mempcpy_by4): Likewise.
(__strstr_cg): Likewise.
Add prototype for __memrchr.

22 years ago* sysdeps/m68k/fpu/s_finite.c: Add internal alias.
Andreas Schwab [Sat, 13 Apr 2002 15:42:16 +0000 (15:42 +0000)]
* sysdeps/m68k/fpu/s_finite.c: Add internal alias.

* sysdeps/m68k/fpu/s_finitef.c: Likewise.
* sysdeps/m68k/fpu/s_finitel.c: Likewise.

22 years ago* sysdeps/m68k/fpu/s_finite.c: Add internal alias.
Andreas Schwab [Sat, 13 Apr 2002 15:41:53 +0000 (15:41 +0000)]
* sysdeps/m68k/fpu/s_finite.c: Add internal alias.

* sysdeps/m68k/fpu/s_finitef.c: Likewise.
* sysdeps/m68k/fpu/s_finitel.c: Likewise.

22 years agoUpdate.
Ulrich Drepper [Sat, 13 Apr 2002 07:55:02 +0000 (07:55 +0000)]
Update.

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

* elf/do-lookup.h [!VERSIONED]: Add new parameter flags.  Use it to
check whether the caller prefers getting the most recent version of
a symbol of the earliest version.
* elf/dl-lookup.c: Adjust all callers of do_lookup.  Change
_dl_do_lookup to also take the new parameter and pass it on.
Change 'explicit' parameter of _dl_lookup_symbol and
_dl_lookup_versioned_symbol to flags.  Adjust tests.
* sysdeps/generic/ldsodefs.h: Adjust prototypes.
* elf/dl-libc.c: Adjust all callers of _dl_lookup_symbol and
_dl_lookup_versioned_symbol.
* elf/dl-reloc.c: Likewise.
* elf/dl-runtime.c: Likewise.
* elf/dl-sym.c: Likewise.
* sysdeps/mips/dl-machine.h: Likewise.

22 years agoUpdate.
Ulrich Drepper [Thu, 11 Apr 2002 20:44:10 +0000 (20:44 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (LOC): Don't paste
in a token.
* sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (LOC): Likewise.

* sysdeps/unix/sysv/linux/x86_64/glob.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.