aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-01-26Update.Ulrich Drepper9-10/+146
* libio/fileops.c (_IO_new_file_open): Recognize ,ccs= in mode string and load appropriate conversions. * libio/iofwide.c (__libio_codecvt): Renamed from libio_codecvt and made global. * libio/libioP.h: Declare __libio_codecvt. * manual/stdio.texi: Document ,ccs= option for fopen. * wcsmbs/wcsmbsload.c (__wcsmbs_named_conv): New function. * wcsmbs/wcsmbsload.h (__wcsmbs_named_conv): Declare. * libio/iofclose.c: Free conversion data if stream was wide-oriented. * sysdeps/unix/sysv/linux/i386/Dist: Add sys/io.h.
2000-01-26Update.Ulrich Drepper2-1/+2
* sysdeps/unix/sysv/linux/Dist: Remove sys/io.h.
2000-01-26Update.Ulrich Drepper3-12/+43
2000-01-25 Ulrich Drepper <drepper@cygnus.com> * posix/fnmatch_loop.c: Fix problem with FNM_LEADING_DIR. * posix/testfnm.c: Add a few more tests. Rearrange test output.
2000-01-26Update.Ulrich Drepper6-12/+45
2000-01-25 Andreas Schwab <schwab@suse.de> * posix/testfnm.c: Add new test case. Use FNM_PATHNAME instead of FNM_FILE_NAME consistently. * posix/fnmatch.c: Define STRCOLL appropriately for the loop definition. * posix/fnmatch_loop.c: Undefine STRCOLL. * sysdeps/unix/sysv/linux/i386/fxstat.c: Correct code to handle kernels with stat64 support. * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. Patch by SL Baur <steve@xemacs.org>.
2000-01-26Update.Ulrich Drepper2-2/+8
2000-01-25 Ulrich Drepper <drepper@cygnus.com> * string/strxfrm.c: Don't count in the terminating NUL byte/word.
2000-01-26Update.Ulrich Drepper5-22/+80
2000-01-24 Paul Eggert <eggert@twinsun.com> * posix/fnmatch_loop.c (FCT): Use locale's collating sequence when deciding whether a character falls within a character range. 2000-01-24 Paul Eggert <eggert@twinsun.com> * posix/fnmatch_loop.c (FCT): When matching [A-Z] and folding case, lower-case A too. 2000-01-24 Thorsten Kukuk <kukuk@suse.de> * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove old[gs]etrlimit.
2000-01-26Update.Ulrich Drepper3-52/+65
2000-01-23 Paul Eggert <eggert@twinsun.com> * posix/regex.c (GET_UNSIGNED_NUMBER): Allow only ASCII digits. 2000-01-23 Paul Eggert <eggert@twinsun.com> * posix/regex.c (compile_range): When matching a character range, use the current collating sequence, as POSIX requires.
2000-01-26Update.Ulrich Drepper2-8/+16
2000-01-25 Ulrich Drepper <drepper@cygnus.com> * string/argz-stringify.c: Handle case of missing \0 at the end of the given argz.
2000-01-25Update.Ulrich Drepper2-3/+4
* nscd/hstcache.c: Don't count in mapped IPv6 addresses in total size anymore.
2000-01-25Update.Ulrich Drepper6-9/+60
* locale/programs/ld-collate.c (collate_output): Also handle IGNOREd characters in the simple way when generating the multibyte table. * locale/programs/ld-ctype.c (allocate_arrays): Move codeset_name handling to ... (ctype_finish): ...here. Check for missing codeset name.
2000-01-24Update.Ulrich Drepper33-302/+312
2000-01-24 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/Dist: Add ipc_priv.h. * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. 2000-01-24 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/bits/ipc.h: Move private decls... * sysdeps/unix/sysv/linux/ipc_priv.h: ...here. * sysdeps/unix/sysv/linux/bits/msq.h: Move private decls... * sysdeps/unix/sysv/linux/msgctl.c: ...here. Include ipc_priv.h. * sysdeps/unix/sysv/linux/bits/sem.h: Move private decls... * sysdeps/unix/sysv/linux/semctl.c: ...here. Include ipc_priv.h. * sysdeps/unix/sysv/linux/bits/shm.h: Move private decls... * sysdeps/unix/sysv/linux/shmctl.c: ...here. Include ipc_priv.h. * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Move private decls... * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: ...here. * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove private decls. * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Include ipc_priv.h. * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise. * sysdeps/unix/sysv/linux/msgget.c: Likewise. * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. * sysdeps/unix/sysv/linux/semget.c: Likewise. * sysdeps/unix/sysv/linux/semop.c: Likewise. * sysdeps/unix/sysv/linux/shmat.c: Likewise. * sysdeps/unix/sysv/linux/shmdt.c: Likewise. * sysdeps/unix/sysv/linux/shmget.c: Likewise.
2000-01-24Update.Ulrich Drepper21-105/+570
2000-01-24 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/arm/bits/resource.h: New file. * sysdeps/unix/sysv/linux/arm/Makefile: Remove oldsetrlimit64.c. * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. * sysdeps/unix/sysv/linux/i386/Dist: Likewise. * sysdeps/unix/sysv/linux/arm/Versions: Remove setrlimit64@GLIBC_2.1.3. * sysdeps/unix/sysv/linux/i386/Versions: Likewise. * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: Remove. * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: Likewise. * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise. * sysdeps/unix/sysv/linux/i386/setrlimit64.c: Likewise. * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Call __new_getrlimit, so that setrlimit64@GLIBC_2.1 can report limits above 2G. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getrlimit, setrlimit): Remove syscall stubs, add normal syscalls. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (setrlimit): Remove syscall stub.
2000-01-24Update.Ulrich Drepper3-14/+151
2000-01-22 Andreas Jaeger <aj@suse.de> * localedata/tst-locale.sh: Enable test for de_DE.437.
2000-01-24Update.Ulrich Drepper2-0/+7
2000-01-23 Ulrich Drepper <drepper@cygnus.com> * string/Versions: Export __strndup.
2000-01-24Update.Ulrich Drepper24-45/+2269
2000-01-23 Philip Blundell <philb@gnu.org> Add basic support for RPC over IPv6: * sunrpc/rpc/svc.h (struct SVCXPRT): Use `struct sockaddr_storage' for remote address. (svcudp6_create, svcudp6_bufcreate, svctcp6_create): New prototypes. * sunrpc/rpc/clnt.h (clnttcp6_create, clntudp6_create, clntudp6_bufcreate): New prototypes. * inet/netinet/in.h (bindresport6): Likewise. * sunrpc/Makefile (routines): Add svc_tcp6, svc_udp6, bindrsvprt6. * sunrpc/Versions: Add svcfd6_create, svctcp6_create, svcudp6_create, svcudp6_bufcreate, svcudp6_enablecache, bindresvport6 for GLIBC_2.2. * sunrpc/rpc_main.c: Support `tcp6' and `udp6' transport types. * sunrpc/rpc_svcout.c: Likewise. * sunrpc/svc_tcp.c (rendezvous_request): Use memcpy rather than simple assignment when copying addresses. * sunrpc/svc_udp.c (cache_get): Likewise. * sunrpc/svc_unix.c (rendezvous_request): Likewise. * sunrpc/bindrsvprt6.c, sunrpc/clnt_tcp6.c, sunrpc/clnt_udp6.c, sunrpc/svc_tcp6.c, sunrpc/svc_udp6.c: New files. 2000-01-05 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/mmap64.S: Correct check for ENOSYS. 2000-01-23 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Pass right parameter to fstat calls. 2000-01-18 Roland McGrath <roland@baalperazim.frob.com> * sysdeps/generic/bits/socket.h (__ss_aligntype, struct sockaddr_storage): Make these like Linux version, replacing old type name `__ss_align'. 2000-01-05 Roland McGrath <roland@baalperazim.frob.com> * sysdeps/generic/lseek64.c (__libc_lseek64): Renamed from __lseek64. (__lseek64, lseek64): Make these weak aliases for __libc_lseek64. * sysdeps/mach/hurd/lseek.c (__libc_lseek): Renamed from __lseek. (__lseek, lseek): Make these weak aliases for __libc_lseek. * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Renamed from __fcntl. (__fcntl, fcntl): Make these weak aliases for __libc_fcntl. * sysdeps/mach/hurd/open.c (__libc_open): Renamed from __open. (__open, open): Make these weak aliases for __libc_open. * sysdeps/generic/bits/socket.h (enum __socket_type): Remove trailing comma. (anonymous enum for MSG_*): Likewise. (anonymous enum for SO_*): Likewise. 2000-01-23 Ulrich Drepper <drepper@cygnus.com> * string/bits/string2.h: Fix typo (__GNU_SOURCE -> __USE_GNU) (PR libc/1553).
2000-01-24Fix typo (__GNU_SOURCE -> __USE_GNU).Ulrich Drepper1-1/+1
2000-01-23Update.Mark Kettenis1-0/+6
2000-01-08 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function. (setitimer_locked): Use it to quantize the timer values. Use quantized timer values to check if the timeout changed.
2000-01-232000-01-08 Mark Kettenis <kettenis@gnu.org>Mark Kettenis1-3/+21
* sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function. (setitimer_locked): Use it to quantize the timer values. Use quantized timer values to check if the timeout changed.
2000-01-23Fix typo.Ulrich Drepper2-2/+2
Patch by Bruno Haible <haible@ilog.fr>.
2000-01-23Update.Ulrich Drepper2-1/+5
2000-01-22 Andreas Jaeger <aj@suse.de> * sunrpc/rpc/svc.h: Fix description for svc_register.
2000-01-23Update.Ulrich Drepper12-69/+228
2000-01-23 Mark Kettenis <kettenis@gnu.org> * inet/rexec.c (rexec_af): Use SA_LEN instead of __libc_sa_len. 2000-01-22 Thorsten Kukuk <kukuk@suse.de> * sunrpc/xdr_rec.c: Don't set frag_sent if no more data, fixes part 2 of bug 1549. * sunrpc/rpc_des.h: Remove unused defines. 2000-01-22 Mark Kettenis <kettenis@gnu.org> * intl/Makefile ($(objpfx)msgs.h): Do $(make-target-directory) first. 2000-01-22 Thorsten Kukuk <kukuk@suse.de> * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove sys/io.h. * sysdeps/unix/sysv/linux/alpha/Makefile: Add sys/io.h. * sysdeps/unix/sysv/linux/arm/Makefile: Likewise. * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. * sysdeps/unix/sysv/linux/sys/io.h: Move from here ... * sysdeps/unix/sysv/linux/i386/sys/io.h: ... to here, add inb, outb and other inline functions for port access. * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for port access functions. 2000-01-23 Ulrich Drepper <drepper@cygnus.com> * iconv/gconv_simple.c: Fix two problems in UTF-8 decoder. Patch by Bruno Haibe <haible@ilog.fr>.
2000-01-23Fix two problems in UTF-8 decoder.Ulrich Drepper1-7/+18
2000-01-22Update.Mark Kettenis1-0/+6
2000-01-05 Roland McGrath <roland@baalperazim.frob.com> * sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print them all at the end, eliding the final comma. * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2000-01-222000-01-05 Roland McGrath <roland@baalperazim.frob.com>Mark Kettenis2-32/+39
* sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print them all at the end, eliding the final comma. * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2000-01-22Update.Ulrich Drepper2-5/+310
* manual/message.texi: Document new interfaces.
2000-01-22Update.Ulrich Drepper2-3/+9
* intl/libintl.h: Add format_arg attributes to declarations of new functions.
2000-01-22Update.Ulrich Drepper19-847/+3416
2000-01-21 Ulrich Drepper <drepper@cygnus.com> * intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt, ngettext, and plural. (distribute): Add plural.y, po2test.sed, and tst-gettext.sh. (test-srcs): Add tst-gettext. (before-compile): Add $(objpfx)msgs.h. Add rules for plural.c and msgs.h generation and running tst-gettext.\ * intl/Versions [GLIBC_2.2]: Add __dcngettext, dcngettext, dngettext, and ngettext. * intl/dcgettext.c: Move most code into dcigettext.c. Add call dcigettext with appropriate parameters. * intl/dcigettext.c: New file. * intl/dcngettext.c: New file. * intl/dngettext.c: New file. * intl/ngettext.c: New file. * intl/gettextP.h (struct expression): Define. (struct loaded_domain): Add plural and nplurals members. Add prototypes for new internal functions. * intl/libintl.h: Declare new functions. Add optimizations for them. * intl/loadinfo.h: Add new parameter to _nl_find_msg declaration. * intl/loadmsgcat.c (_nl_load_domain): Search for plural information in header entry and parse and store the expression. * intl/plural.y: New file. * intl/po2test.sed: New file. * intl/tst-gettext.c: New file. * intl/tst-gettext.sh: New file. * intl/gettext.c: Call __dcgettext directly.
2000-01-21Update.Ulrich Drepper6-29/+58
* manual/getopt.texi (Using the getopt function): Fix description of return value for format string starting with '-' (PR libc/1551). Patch by Raúl Núñez de Arenas Coronado <dervishd@jazzfree.com> * sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH. Patch by jens.moeller@westgeo.com (PR libc/1550). * locale/programs/ld-collate.c (struct element_t): Add wclast and compute it where necessary. (collate_output): Insert indirect references in the right order.
2000-01-20Update.Ulrich Drepper3-4/+66
2000-01-20 Ulrich Drepper <drepper@cygnus.com> * math/Makefile (tests): Add test-misc. * math/test-misc.c: New file. * posix/regex.h: Update comment of RE_SYNTAX_POSIX_MINIMAL_EXTENDED.
2000-01-20Update.Ulrich Drepper4-3/+10
* sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments with exponent >31 and < 63 (PR libc/1548).
2000-01-20Adjust for last change in ld-collate.c of adding alignment padding.Ulrich Drepper2-0/+10
* locale/weight.h: Adjust for last change in ld-collate.c of adding alignment padding.
2000-01-20Update.Ulrich Drepper2-23/+41
* locale/programs/ld-collate.c (output_weightwc): Return index measured in words, not bytes. Don't write out words for ignored characters. (collate_output): Correct various problems with alignment in the output file.
2000-01-20Update.Ulrich Drepper3-6/+16
* stdlib/strfmon.c: Don't report an error if final NUL is at the end of the buffer. Set errno correctly if floating-point number would overflow buffer. * posix/regex.h: Update comment of RE_SYNTAX_POSIX_MINIMAL_EXTENDED.
2000-01-20Update.Ulrich Drepper3-47/+78
2000-01-19 Ulrich Drepper <drepper@cygnus.com> * locale/weight.h (findidx): Little optimization. Correctly return offset in indirect table. * locale/programs/ld-collate.c (struct element_t): Add mblast and compute it where necessary. (insert_weights): Correctly handle missing weights in ellipsis expression. (handle_ellipsis): Correctly enqueue new element. (collate_output): Insert indirect references in the right order.
2000-01-19Update.Ulrich Drepper5-4/+27
* wcsmbs/mbrtowc.c: Create temporary state object if no output is written. * wcsmbs/mbsrtowcs.c: Likewise. * wcsmbs/wcrtomb.c: Likewise. * wcsmbs/wcsrtombs.c: Likewise. * wcsmbs/wcrtomb.c: Compute result correctly for successful call with s == NULL.
2000-01-19Update.Ulrich Drepper4-5/+20
* wcsmbs/mbsrtowcs.c: Compute return value correctly after change in gconv function.
2000-01-19Update.Ulrich Drepper2-3/+8
* wcsmbs/mbrtowc.c: Don't set errno if byte sequence is only incomplete but correct. * locale/programs/charmap.c: NUL-terminate names of generated
2000-01-19Update.Ulrich Drepper2-0/+6
2000-01-18 Ulrich Drepper <drepper@cygnus.com> * locale/programs/charmap.c: NUL-terminte names of generated entries for ellipsis.
2000-01-19Update.Ulrich Drepper14-24/+231
2000-01-18 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs. * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Move _STAT_VER_KERNEL handling up; don't save errno. * sysdeps/unix/sysv/linux/arm/fxstat.c: New file. * sysdeps/unix/sysv/linux/arm/lxstat.c: Likewise. * sysdeps/unix/sysv/linux/arm/xstat.c: Likewise. * sysdeps/unix/sysv/linux/m68k/fxstat.c: Likewise. * sysdeps/unix/sysv/linux/m68k/lxstat.c: Likewise. * sysdeps/unix/sysv/linux/m68k/xstat.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/fxstat.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/lxstat.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/xstat.c: Likewise. Reported by Bruno Haible.
2000-01-19Update.Ulrich Drepper4-56/+13
2000-01-18 Ulrich Drepper <drepper@cygnus.com> * iconv/loop.c (COUNT_CONVERTED): Remove macro, comment, and all uses. Remove done variable and all uses. * iconv/skeleton.c: Update comment for *written modification. * iconv/gconv_int.h (__gconv): Update comment.
2000-01-19Update.Ulrich Drepper4-7/+53
2000-01-18 Bruno Haible <haible@ilog.fr> * posix/fnmatch.c (ISWCTYPE): New macro. (__wcschrnul): New function. (BTOWC): New macro. Define it instead of __btowc. (is_char_class) [!_LIBC]: Fix 'mstate_t' typo. Fix 2nd arg to wcsrtombs. Call wctype, not __wctype. * posix/fnmatch_loop.c (FCT): Use ISWCTYPE instead of __iswctype, and BTOWC instead of __btowc. 2000-01-18 Andreas Jaeger <aj@suse.de> * inet/Versions: Add new functions added on 2000-01-17.
2000-01-19Update.Ulrich Drepper2-2/+6
2000-01-18 Jakub Jelinek <jakub@redhat.com> * dirent/dirent.h (getdentries): Correct prototype to use __off64_t.
2000-01-19Update.Ulrich Drepper9-68/+204
* timezone/antarctica: Update from tzdata2000a. * timezone/asia: Likewise. * timezone/australasia: Likewise. * timezone/backward: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. * timezone/zone.tab: Likewise.
2000-01-19Update.Ulrich Drepper5-25/+27
* nscd/connections.c (dbs): Use PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock. Pretty printing. * nscd/hstcache.c (cache_addhst): Don't automatically add IPv6 address. Suggested by Philip Blundell.
2000-01-18Update.Ulrich Drepper6-14/+23
* posix/TESTS: Fix expected result for test cases with * with no leading expression.
2000-01-18Update.Ulrich Drepper6-97/+123
* sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in... * sysdeps/unix/sysv/linux/internal_statvfs.c: ...here. New file. * sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the open call would require read permission. Patch by James Antill <james@and.org>. * sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c. * inet/getnameinfo.c: Terminate host name for NI_NOFQDN. PR1515. Patches by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
2000-01-18Update.Ulrich Drepper2-10/+17
* sysdeps/posix/getaddrinfo.c: Correct modifications done for PR1515. Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
2000-01-18Update.Ulrich Drepper5-15/+31
2000-01-18 Ulrich Drepper <drepper@cygnus.com> * posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS. * posix/regex.c (regex_compile): Return appropriate errors for unterminated brace expressions. Detect invalid characters in brace expressions. * posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly. * sysdeps/posix/sysconf.c: Include regex.h. Reported by Geoff Clare <gwc@unisoft.com> (PR libc/1522).
2000-01-18Update.Ulrich Drepper2-0/+7
* sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and AI_NUMERICHOST flag is set, return an error. Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
2000-01-18Update.Ulrich Drepper4-175/+370
2000-01-17 Ulrich Drepper <drepper@cygnus.com> * inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and iruserok_af. * inet/rexec.c: Implement rexec_af. Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>. * resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af, and rresvport_af.