Ulrich Drepper [Wed, 2 Aug 2000 18:58:15 +0000 (18:58 +0000)]
Update.
* sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
asm/resource.h.
Ulrich Drepper [Wed, 2 Aug 2000 17:55:34 +0000 (17:55 +0000)]
Update.
2000-08-02 Ulrich Drepper <drepper@redhat.com>
* tests-mbwc/tst_types.h: Don't use `char' for types of any field,
use `int'.
Ulrich Drepper [Wed, 2 Aug 2000 16:13:18 +0000 (16:13 +0000)]
Update.
2000-08-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
Andreas Jaeger [Wed, 2 Aug 2000 16:07:52 +0000 (16:07 +0000)]
Update
* elf/elf.h (EM_S390): Added.
(R_390_*): New relocs for S390.
Andreas Jaeger [Wed, 2 Aug 2000 16:07:29 +0000 (16:07 +0000)]
* elf/elf.h (EM_S390): Added.
(R_390_*): New relocs for S390.
Ulrich Drepper [Wed, 2 Aug 2000 15:27:16 +0000 (15:27 +0000)]
Undo last change.
Andreas Jaeger [Wed, 2 Aug 2000 15:15:00 +0000 (15:15 +0000)]
Update.
2000-08-02 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/s390/Dist: New file.
* sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
* sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
* sysdeps/unix/sysv/linux/s390/syscall.S: New file.
* sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
* sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
* sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
* sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
* sysdeps/unix/sysv/linux/s390/socket.S: New file.
* sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
* sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
* sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
* sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
* sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
* sysdeps/unix/sysv/linux/s390/setregid.c: New file.
* sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
* sysdeps/unix/sysv/linux/s390/setgid.c: New file.
* sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
* sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
* sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
* sysdeps/unix/sysv/linux/s390/setegid.c: New file.
* sysdeps/unix/sysv/linux/s390/semctl.c: New file.
* sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
* sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
* sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
* sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
* sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
* sysdeps/unix/sysv/linux/s390/mmap.S: New file.
* sysdeps/unix/sysv/linux/s390/getuid.c: New file.
* sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
* sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
* sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
* sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
* sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
* sysdeps/unix/sysv/linux/s390/getegid.c: New file.
* sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
* sysdeps/unix/sysv/linux/s390/fchown.c: New file.
* sysdeps/unix/sysv/linux/s390/clone.S: New file.
* sysdeps/unix/sysv/linux/s390/brk.c: New file.
* sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
* sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
* sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
* sysdeps/unix/sysv/linux/s390/Makefile: New file.
* sysdeps/s390/sysdep.h: New file.
* sysdeps/s390/sys/ucontext.h: New file.
* sysdeps/s390/sub_n.S: New file.
* sysdeps/s390/strncpy.S: New file.
* sysdeps/s390/strcpy.S: New file.
* sysdeps/s390/stackinfo.h: New file.
* sysdeps/s390/setjmp.S: New file.
* sysdeps/s390/s390-mcount.S: New file.
* sysdeps/s390/mul_1.S: New file.
* sysdeps/s390/memusage.h: New file.
* sysdeps/s390/memset.S: New file.
* sysdeps/s390/memcpy.S: New file.
* sysdeps/s390/memchr.S: New file.
* sysdeps/s390/machine-gmon.h: New file.
* sysdeps/s390/ldbl2mpn.c: New file.
* sysdeps/s390/gmp-mparam.h: New file.
* sysdeps/s390/fpu/fpu_control.h: New file.
* sysdeps/s390/fpu/fesetround.c: New file.
* sysdeps/s390/fpu/fegetround.c: New file.
* sysdeps/s390/fpu/fclrexcpt.c: New file.
* sysdeps/s390/fpu/bits/fenv.h: New file.
* sysdeps/s390/ffs.c: New file.
* sysdeps/s390/elf/start.S: New file.
* sysdeps/s390/elf/setjmp.S: New file.
* sysdeps/s390/elf/bsd-setjmp.S: New file.
* sysdeps/s390/elf/bsd-_setjmp.S: New file.
* sysdeps/s390/dl-machine.h: New file.
* sysdeps/s390/bzero.S: New file.
* sysdeps/s390/bsd-setjmp.S: New file.
* sysdeps/s390/bsd-_setjmp.S: New file.
* sysdeps/s390/bits/string.h: New file.
* sysdeps/s390/bits/setjmp.h: New file.
* sysdeps/s390/bits/huge_val.h: New file.
* sysdeps/s390/bits/endian.h: New file.
* sysdeps/s390/bits/byteswap.h: New file.
* sysdeps/s390/bcopy.S: New file.
* sysdeps/s390/backtrace.c: New file.
* sysdeps/s390/atomicity.h: New file.
* sysdeps/s390/asm-syntax.h: New file.
* sysdeps/s390/addmul_1.S: New file.
* sysdeps/s390/add_n.S: New file.
* sysdeps/s390/abort-instr.h: New file.
* sysdeps/s390/__longjmp.c: New file.
* sysdeps/s390/Makefile: New file.
* sysdeps/s390/Implies: New file.
* sysdeps/s390/Dist: New file.
Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
Andreas Jaeger [Wed, 2 Aug 2000 12:23:18 +0000 (12:23 +0000)]
Update.
2000-08-02 Andreas Jaeger <aj@suse.de>
* linuxthreads/sysdeps/s390/pspinlock.c: New file.
* linuxthreads/sysdeps/s390/pt-machine.h: New file.
Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
Andreas Jaeger [Wed, 2 Aug 2000 12:20:32 +0000 (12:20 +0000)]
Linux/S390 POSIX spinlock implementation.
Ulrich Drepper [Wed, 2 Aug 2000 07:01:41 +0000 (07:01 +0000)]
Update.
Remove incompatible IPv6 extension of RPC.
* sunrpc/Makefile: Undo changes.
* sunrpc/rpc_main.c: Likewise.
* sunrpc/rpc/clnt.h: Likewise.
* sunrpc/rpc/svc.h: Likewise.
* sunrpc/bindrsvprt6.c: Removed.
* sunrpc/clnt_tcp6.c: Removed.
* sunrpc/clnt_udp6.c: Removed.
* sunrpc/svc_tcp6.c: Removed.
* sunrpc/svc_udp6.c: Removed.
* intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
dgettext, and dcgettetxt.
* intl/locale.alias: Update japanese aliases.
Ulrich Drepper [Wed, 2 Aug 2000 01:19:29 +0000 (01:19 +0000)]
Update.
* sysdeps/ia64/bits/byteswap.h: New file.
Patch by Dan Pop <Dan.Pop@cern.ch>.
* misc/sys/cdefs.h: Define __attribute_format_arg__.
* intl/libintl.h: Use it here instead of using __attribute__ directly.
2000-07-13 H.J. Lu <hjl@gnu.org>
* posix/regex.c (re_max_failures): Set to 4000.
2000-08-01 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Wed, 2 Aug 2000 00:09:25 +0000 (00:09 +0000)]
Update.
* gnulib/Makefile (tests): Add tst-gcc.
* gnulib/tst-gcc.c: New file.
* assert/Makefile (routines): Add __assert.
* assert/Versions: Export __assert for glibc 2.2.
* assert/__assert.c: New file.
* assert/assert.h: Declare __assert.
2000-07-27 Bruno Haible <haible@clisp.cons.org>
* locale/localeinfo.h (_ISCTYPE): New macro.
* posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
LC_CTYPE locale format.
* locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
(ctype_output): Output class_b[nr] right before class_3level[nr].
(allocate_arrays): Fill class_b, similarly to class_3level.
2000-08-01 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Tue, 1 Aug 2000 22:53:40 +0000 (22:53 +0000)]
Update.
2000-08-01 Ulrich Drepper <drepper@redhat.com>
Joseph S. Myers <jsm28@cam.ac.uk>
* math/tgmath.h: Make standard compliant. Don't ask how.
2000-07-04 H.J. Lu <hjl@gnu.org>
* elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* include/features.h (_XOPEN_SOURCE): Update the explanation.
(__USE_LARGEFILE): Add an explanation.
(_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
(__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
2000-08-01 Ulrich Drepper <drepper@redhat.com>
* libio/Makefile: Enable exception handling for genops, wgenops,
fileops, and wfileops.
Ulrich Drepper [Tue, 1 Aug 2000 21:30:45 +0000 (21:30 +0000)]
Enable exception handling for genops, wgenops, fileops, and wfileops.
Mark Kettenis [Tue, 1 Aug 2000 20:24:20 +0000 (20:24 +0000)]
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into acount that elf/rtld's main program might remove some varibales from the environment if we're trying to be secure. Move the Hurd startup data if necessary, or, if we there is no startup data, make sure the magical convention that ARGV[0] is stored just after the environment list.
2000-07-29 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
acount that elf/rtld's main program might remove some varibales
from the environment if we're trying to be secure. Move the Hurd
startup data if necessary, or, if we there is no startup data,
make sure the magical convention that ARGV[0] is stored just after
the environment list.
Ulrich Drepper [Tue, 1 Aug 2000 19:14:14 +0000 (19:14 +0000)]
Update.
2000-08-01 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
(sysdep_routines): Add oldgetrlimit, oldsetrlimit.
* sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
oldsetrlimit for GLIBC_2.0.
(LINE_PARSER): Allow any number of spaces between ip address and
number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
* nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
Likewise.
* Make-dist (dist): Resolve `..' in file names.
Ulrich Drepper [Tue, 1 Aug 2000 19:10:53 +0000 (19:10 +0000)]
Add oldgetrlimit, oldsetrlimit for GLIBC_2.0.
Andreas Jaeger [Tue, 1 Aug 2000 16:12:06 +0000 (16:12 +0000)]
Update.
* nss/nss_files/files-ethers.c: Use case-insensitive lookup.
(LINE_PARSER): Allow any number of spaces between ip address and number.
Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
Andreas Jaeger [Tue, 1 Aug 2000 16:05:21 +0000 (16:05 +0000)]
Update.
* conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
* include/netdb.h: Remove getipnodebyaddr and friends, leave
constants in.
* nis/Versions: Remove _nss_nis_getipnodebyname_r and
_nss_nisplus_getipnodebyname_r.
* nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
now, getipnodebyname is deprecated.
* nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r): Likewise.
* inet/Makefile (routines): Don't build getipnodebyaddr and
friends.
Andreas Jaeger [Tue, 1 Aug 2000 14:28:08 +0000 (14:28 +0000)]
Update.
* intl/Makefile (distribute): Add tst-translit.sh and translit.po.
* sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
Andreas Jaeger [Tue, 1 Aug 2000 13:06:28 +0000 (13:06 +0000)]
Update.
2000-08-01 Andreas Jaeger <aj@suse.de>
* hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
* elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
* wctype/Makefile (distribute): Add wchar-lookup.h.
* sysdeps/generic/Dist: Add bp-checks.h.
* iconvdata/Makefile (distribute): Add isiri-3342.h.
Andreas Jaeger [Tue, 1 Aug 2000 12:16:52 +0000 (12:16 +0000)]
(dist): Resolve `..' in file names.
2000-08-01 Andreas Schwab <schwab@suse.de>
* Make-dist (dist): Resolve `..' in file names.
Andreas Jaeger [Tue, 1 Aug 2000 09:29:48 +0000 (09:29 +0000)]
* Makefile (distribute): Follow name change of tst-ctype-de.in to
tst-ctype-de_DE.ISO-8859-1.in.
2000-08-01 Andreas Jaeger <aj@suse.de>
* Makefile (distribute): Follow name change of tst-ctype-de.in to
tst-ctype-de_DE.ISO-8859-1.in.
Andreas Jaeger [Tue, 1 Aug 2000 09:28:29 +0000 (09:28 +0000)]
Update.
2000-08-01 Andreas Jaeger <aj@suse.de>
* stdio-common/Makefile (distribute): Remove removed files, add
new files.
* Makefile (distribute): Remove include/db_185.h and db.h.
* include/db_185.h: Remove, it's not needed anymore.
* include/db.h: Likewise.
Andreas Jaeger [Tue, 1 Aug 2000 09:27:52 +0000 (09:27 +0000)]
* stdio-common/Makefile (distribute): Remove removed files, add
new files.
* include/db_185.h: Remove, it's not needed anymore.
* include/db.h: Likewise.
Ulrich Drepper [Tue, 1 Aug 2000 05:02:54 +0000 (05:02 +0000)]
Update.
* inet/Makefile (tests): Remove tst-ipnode.
Ulrich Drepper [Tue, 1 Aug 2000 04:04:09 +0000 (04:04 +0000)]
Update.
2000-07-31 Ulrich Drepper <drepper@redhat.com>
* include/netdb.h: Add stuff removed from resolv/netdb.h here for
now.
Ulrich Drepper [Tue, 1 Aug 2000 03:16:27 +0000 (03:16 +0000)]
Update.
2000-07-31 Jes Sorensen <jes@linuxcare.com>
* sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
endp statements have already been added.
2000-04-18 David Mosberger <davidm@hpl.hp.com>
* sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
<sysdeps/ia64/sysdep.h>.
* sysdeps/ia64/_mcount.S: New file.
* sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
__gmon_start__. Fix up extraneous whitespace.
2000-01-12 H.J. Lu <hjl@gnu.org>
* sysdeps/ia64/elf/initfini.c: New file.
2000-07-31 Jes Sorensen <jes@linuxcare.com>
* sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
dependency between branch and ar.pfs write.
Ulrich Drepper [Tue, 1 Aug 2000 03:10:27 +0000 (03:10 +0000)]
Update.
2000-07-31 H.J. Lu <hjl@gnu.org>
* sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
handle the wchar_t array.
Ulrich Drepper [Tue, 1 Aug 2000 02:19:31 +0000 (02:19 +0000)]
Update.
2000-07-31 Ulrich Drepper <drepper@redhat.com>
* iconvdata/gb18030.c: Don't map to and from positions in ISO
10646 which are not yet assigned.
Patch by wang shouhua <shouhuawang@redflag-linux.com>.
Ulrich Drepper [Mon, 31 Jul 2000 23:14:10 +0000 (23:14 +0000)]
Update.
2000-07-31 Andreas Jaeger <aj@suse.de>
* inet/Versions: Remove getipnodebyaddr and friends from
GLIBC_2.2.
* resolv/netdb.h: Remove getipnodebyaddr and friends.
Ulrich Drepper [Mon, 31 Jul 2000 22:47:52 +0000 (22:47 +0000)]
Update.
2000-07-30 Bruno Haible <haible@clisp.cons.org>
* iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
ch >= 0x81 && ch2 < 0x40 as invalid.
2000-07-30 Bruno Haible <haible@clisp.cons.org>
* iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
(BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
2000-07-30 Bruno Haible <haible@clisp.cons.org>
* iconvdata/johab.c (BODY for TO_LOOP): After calling
ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
2000-07-30 Bruno Haible <haible@clisp.cons.org>
* iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
0xb8.
(from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
2000-07-30 Bruno Haible <haible@clisp.cons.org>
* iconvdata/macintosh.c (HAS_HOLES): Set to 1.
2000-07-30 Bruno Haible <haible@clisp.cons.org>
* iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
(from_ucs4): Change values of U+00A4 and U+00ED.
(BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
2000-07-30 Bruno Haible <haible@clisp.cons.org>
* iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
(BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
2000-07-30 Bruno Haible <haible@clisp.cons.org>
* iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
* iconvdata/isiri-3342.h: New file.
* iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
treat 0x80 as a gap.
2000-07-30 Bruno Haible <haible@clisp.cons.org>
* string/strxfrm.c (encoding_mask, encoding_byte): Remove.
(utf8_encode): Use simple shifts instead. Fix return value.
Ulrich Drepper [Mon, 31 Jul 2000 20:38:49 +0000 (20:38 +0000)]
Update.
2000-07-31 Ulrich Drepper <drepper@redhat.com>
* timezone/private.h: Update from tzcode2000e.
* timezone/asia: Update from tzdata2000e.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.
* timezone/northamerica: Likewise.
* timezone/zone-tab: Likewise.
Ulrich Drepper [Mon, 31 Jul 2000 20:29:14 +0000 (20:29 +0000)]
Update from tzcode2000e.
Andreas Jaeger [Mon, 31 Jul 2000 08:19:44 +0000 (08:19 +0000)]
Update.
2000-07-30 Ralf Baechle <ralf@gnu.org>
* sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
the order of struct sigaltstack members is different.
Andreas Jaeger [Mon, 31 Jul 2000 08:19:13 +0000 (08:19 +0000)]
* sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
the order of struct sigaltstack members is different.
Ulrich Drepper [Sun, 30 Jul 2000 16:17:55 +0000 (16:17 +0000)]
Update.
2000-07-26 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
Ulrich Drepper [Sun, 30 Jul 2000 00:00:23 +0000 (00:00 +0000)]
Update.
2000-07-29 Ulrich Drepper <drepper@redhat.com>
* locale/langinfo.h: Add entries for extra tables in CTYPE data.
* locale/programs/ld-ctype.c: Adjust for this.
* locale/programs/ld-collate.c: Add more alignment checks.
* locale/string/strcoll.c: Likewise.
2000-07-30 Mark Kettenis <kettenis@gnu.org>
* stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
outside USE_IN_LIBIO block.
Ulrich Drepper [Sat, 29 Jul 2000 19:36:10 +0000 (19:36 +0000)]
Update.
2000-07-26 Philip Blundell <philb@gnu.org>
* sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
(elf_machine_rel): Use it for out-of-range PC24 relocs.
Ulrich Drepper [Sat, 29 Jul 2000 18:08:15 +0000 (18:08 +0000)]
Update.
2000-07-28 Philip Blundell <philb@gnu.org>
* math/test-fpucw.c: Ignore reserved bits in control word.
2000-07-28 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
(ret): Redefine to PSEUDO_RET.
(PSEUDO): Remove jump to syscall_error.
2000-07-29 Mark Kettenis <kettenis@gnu.org>
* resolv/README: Add some information about using the resolver in
multi-threaded code and with C++. Spelling fixes.
2000-07-29 Mark Kettenis <kettenis@gnu.org>
* resolv/resolv.h (struct __sockaddr_in): Remove.
(struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
* sysdeps/powerpc/backtrace.c (struct layout): Make pointers
__unbounded.
Ulrich Drepper [Sat, 29 Jul 2000 17:51:25 +0000 (17:51 +0000)]
Add tests for wprintf.
Greg McGary [Sat, 29 Jul 2000 08:11:47 +0000 (08:11 +0000)]
Update.
2000-07-29 Greg McGary <greg@mcgary.org>
* Rules (test-bp-inputs, make-test-out): New variables.
($(objpfx)%-bp.out): New rule.
($(objpfx)%.out): Rewrite in terms of new variables.
* libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
internal function that uses vtable.
* libio/vsnprintf.c (_IO_vsnprintf): Likewise.
* libio/vswprintf.c (_IO_vswprintf): Likewise.
* malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
(malloc_extend_top): Convert brk to chunk using chunk_at_offset.
(chunk_align): Likewise.
* time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
in a way that conforms to decl, and avoids spurious bounds violation.
* sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
* sysdeps/generic/frame.h: Likewise.
* sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
around return value.
(__backtrace): Qualify frame-pointer chain and return address
pointers as __unbounded. Wrap bounds around variable `current'.
* sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
around return value.
(catch_segfault): Qualify frame-pointer chain and return address
pointers as __unbounded. Wrap bounds around variable `current'.
* sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
(ADVANCE_STACK_FRAME): Wrap bounds around return value.
* sysdeps/powerpc/backtrace.c (struct layout): Make pointers __unbounded.
(__backtrace): Qualify frame-pointer chain and return address
pointers as __unbounded. Wrap bounds around variable `current'.
* sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
* sysdeps/i386/mul_1.S: Likewise.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/i586/addmul_1.S: Likewise.
* sysdeps/i386/i586/mul_1.S: Add bounds checks.
* sysdeps/i386/i586/submul_1.S: Likewise.
Greg McGary [Sat, 29 Jul 2000 08:09:30 +0000 (08:09 +0000)]
* sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
* sysdeps/i386/mul_1.S: Likewise.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/i586/addmul_1.S: Likewise.
* sysdeps/i386/i586/mul_1.S: Add bounds checks.
* sysdeps/i386/i586/submul_1.S: Likewise.
Andreas Jaeger [Sat, 29 Jul 2000 07:58:12 +0000 (07:58 +0000)]
Update.
2000-07-27 Andreas Jaeger <aj@suse.de>
* libio/Depend: New file, libio needs localedata for tests.
* posix/Depend: Likewise.
Andreas Jaeger [Sat, 29 Jul 2000 07:57:34 +0000 (07:57 +0000)]
New file, libio needs localedata for tests.
Ulrich Drepper [Sat, 29 Jul 2000 07:25:43 +0000 (07:25 +0000)]
Update.
* stdio-common/Makefile (routines): Remove _i18n_itoa and
_i18n_itowa.
Ulrich Drepper [Sat, 29 Jul 2000 06:45:51 +0000 (06:45 +0000)]
Update.
2000-07-28 Ulrich Drepper <drepper@redhat.com>
* stdio-common/_i18n_itoa.c: Removed.
* stdio-common/_i18n_itoa.h: Removed.
* stdio-common/_i18n_itowa.c: Removed.
* stdio-common/_i18n_itowa.h: Removed.
* stdio-common/_i18n_number.h: New file.
* stdio-common/Depend: New file.
* stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
* stdio-common/vfprintf.c: Rewrite buffer handling for integer
printing. Change printing of numbers with locale specific digits to
use new code in _i18n_number.h.
* stdio-common/bug13.c: Improve messages.
* locale/programs/ld-ctype.c (ctype_read): Improve error message.
(set_class_defaults): Always search also for Uxxxx names.
Detect insufficient number of outdigits.
* locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
Ulrich Drepper [Fri, 28 Jul 2000 19:52:40 +0000 (19:52 +0000)]
Update.
2000-07-27 Bruno Haible <haible@clisp.cons.org>
* locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
_NL_CTYPE_MAP_NAMES.
* locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
* wctype/wcfuncs.c (towlower, towupper): Use them.
* wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
* wctype/wctrans.c (wctrans): Likewise.
* wctype/wctrans_l.c (__wctrans_l): Likewise.
2000-07-27 Bruno Haible <haible@clisp.cons.org>
* posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
Use the optimized version of this function outside glibc as well.
Ulrich Drepper [Fri, 28 Jul 2000 17:45:15 +0000 (17:45 +0000)]
Update.
2000-07-27 Jakub Jelinek <jakub@redhat.com>
* locale/indigits.h (indigit_value): Correct.
* locale/indigitswc.h (indigitwc_value): Correct.
* stdio-common/vfscanf.c (__vfscanf): Fix I18N number
conversion, add GROUP checking for it, fix GROUP number
conversion with strlen(thousands) > 1.
Honour width correctly in the presence of floating
decimal points and thousands separators.
* stdio-common/tst-sscanf.c: New test.
* stdio-common/Makefile: Add it to tests.
* sysdeps/generic/strtol.c (strtol): Fix conversion if there are
thousands separators and group argument is non-zero.
Reported by Andi Kleen <ak@suse.de>.
Ulrich Drepper [Fri, 28 Jul 2000 16:45:10 +0000 (16:45 +0000)]
Taiwanese locale definition.
Andreas Jaeger [Fri, 28 Jul 2000 14:10:32 +0000 (14:10 +0000)]
Update.
2000-07-25 Bruno Haible <haible@clisp.cons.org>
* locale/Versions: Enumerate __*_l functions individually. __wctrans_l
starts at GLIBC_2.2.
Andreas Jaeger [Fri, 28 Jul 2000 13:37:56 +0000 (13:37 +0000)]
Update.
2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
* sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
_test_and_set.
(headers): Add sys/tas.h.
* sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
GLIBC_2.2 from libc.
* sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
* sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
_test_and_set.
Andreas Jaeger [Fri, 28 Jul 2000 13:36:23 +0000 (13:36 +0000)]
* sysdeps/mips/pspinlock.c (__pthread_spin_lock): Implement for
R3K.
* sysdeps/mips/pt-machine.h (testandset): Likewise.
2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* sysdeps/mips/pspinlock.c (__pthread_spin_lock): Implement for
R3K.
* sysdeps/mips/pt-machine.h (testandset): Likewise.
Andreas Jaeger [Fri, 28 Jul 2000 11:53:16 +0000 (11:53 +0000)]
tst-langinfo.c: Include <string.h> for strcmp prototype.
2000-07-28 Andreas Jaeger <aj@suse.de>
* tst-langinfo.c: Include <string.h> for strcmp prototype.
Andreas Jaeger [Fri, 28 Jul 2000 08:13:51 +0000 (08:13 +0000)]
Update.
2000-07-28 Andreas Jaeger <aj@suse.de>
* sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
* dlfcn/Makefile ($(objpfx)tst-dladdr): New.
($(objpfx)tst-dladdr.out): new.
(tests): Add tst-dladdr.
($(objpfx)glrefmain): Use libdl.
* dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
<vs@caldera.de>.
Andreas Jaeger [Fri, 28 Jul 2000 07:37:38 +0000 (07:37 +0000)]
Add TCP options from Linux 2.4.
Ulrich Drepper [Thu, 27 Jul 2000 23:15:34 +0000 (23:15 +0000)]
Update.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
ftruncate(64) calls.
2000-07-27 Jes Sorensen <jes@linuxcare.com>
Ulrich Drepper [Thu, 27 Jul 2000 22:18:43 +0000 (22:18 +0000)]
Update.
* intl/tst-translit.c: Include string.h to get prototype for
strcmp().
2000-07-27 Jes Sorensen <jes@linuxcare.com>
Ulrich Drepper [Thu, 27 Jul 2000 22:01:07 +0000 (22:01 +0000)]
Update.
2000-07-27 Jes Sorensen <jes@linuxcare.com>
* sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
name and add weak alias for __fork.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
& pwrite to use __libc_<name> as strong names instead of
__syscall_<name>.
* include/sched.h: Add clone2 prototype.
2000-07-26 Jes Sorensen <jes@linuxcare.com>
* sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
procedure name twice.
2000-07-27 Philip Blundell <philb@gnu.org>
* malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
Ulrich Drepper [Thu, 27 Jul 2000 21:55:04 +0000 (21:55 +0000)]
(HAVE_MREMAP): Undo change of 1997-12-04.
Andreas Jaeger [Thu, 27 Jul 2000 15:43:37 +0000 (15:43 +0000)]
Update.
* sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
Reported by Andi Kleen <ak@suse.de>.
Andreas Jaeger [Thu, 27 Jul 2000 13:03:50 +0000 (13:03 +0000)]
Update.
2000-07-27 Andreas Jaeger <aj@suse.de>
* rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
(do_wait): Test requests with aio_return64.
(do_test): Change callers of do_wait.
Andreas Jaeger [Thu, 27 Jul 2000 13:03:23 +0000 (13:03 +0000)]
* rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
(do_wait): Test requests with aio_return64.
(do_test): Change callers of do_wait.
Ulrich Drepper [Thu, 27 Jul 2000 09:43:12 +0000 (09:43 +0000)]
Update.
2000-07-26 Andreas Jaeger <aj@suse.de>
* rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
(do_wait): Test requests with aio_return.
(do_test): Change callers of do_wait.
2000-07-27 Ulrich Drepper <drepper@redhat.com>
* rt/aio_misc.c (__aio_remove_request): New function. Handle removing
from request list. Don't do the list handling here, call
__aio_remove_request.
* rt/aio_misc.h: Add prototype for __aio_remove_request.
* rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
request might already be processed. Don't do the list handling
here, call __aio_remove_request.
* rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
LIO_DSYNC.
* rt/aio_misc.c: Add comment explaining why writer memory barriers
are missing.
Ulrich Drepper [Thu, 27 Jul 2000 09:38:42 +0000 (09:38 +0000)]
Don't assume __aio_find_req_fd succeeds since the request might already be processed. Don't do the list handling here, call __aio_remove_request.
Greg McGary [Thu, 27 Jul 2000 07:28:10 +0000 (07:28 +0000)]
* sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
* sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
in union init. Pass zero for ignored semnum arg to semctl.
* sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
2000-07-27 Greg McGary <greg@mcgary.org>
* sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
* sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
in union init. Pass zero for ignored semnum arg to semctl.
* sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
Greg McGary [Thu, 27 Jul 2000 06:25:28 +0000 (06:25 +0000)]
* sysdeps/gnu/bits/msq.h: Qualify kernel's
data structure pointers as __unbounded.
* sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
* sysdeps/generic/bp-semctl.h: New file.
* sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
pointers as __unbounded. Check bounds of syscall args.
* sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
* sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
* sysdeps/unix/sysv/linux/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/semop.c: Likewise.
* sysdeps/unix/sysv/linux/shmat.c: Likewise.
* sysdeps/unix/sysv/linux/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/shmdt.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
2000-07-26 Greg McGary <greg@mcgary.org>
* sysdeps/gnu/bits/msq.h: Qualify kernel's
data structure pointers as __unbounded.
* sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
* sysdeps/generic/bp-semctl.h: New file.
* sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
pointers as __unbounded. Check bounds of syscall args.
* sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
* sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
* sysdeps/unix/sysv/linux/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/semop.c: Likewise.
* sysdeps/unix/sysv/linux/shmat.c: Likewise.
* sysdeps/unix/sysv/linux/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/shmdt.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
Greg McGary [Thu, 27 Jul 2000 00:05:38 +0000 (00:05 +0000)]
fix typo in +link-bounded
Ulrich Drepper [Wed, 26 Jul 2000 23:00:05 +0000 (23:00 +0000)]
Update.
2000-07-26 Ulrich Drepper <drepper@redhat.com>
* libio/iofwide.c: Enable transliteration for conversion from wchar_t
by default.
* locale/C-ctype.c: Likewise.
* wcsmbs/wcsmbsload.c: Likewise.
Ulrich Drepper [Wed, 26 Jul 2000 19:02:00 +0000 (19:02 +0000)]
Update.
Contributed by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.Update.
Greg McGary [Wed, 26 Jul 2000 18:21:25 +0000 (18:21 +0000)]
update
2000-07-26 Greg McGary <greg@mcgary.org>
* Makeconfig (+link-bounded, link-libc-bounded,
link-extra-libs-bounded): New variables.
(built-program-cmd): Omit $(run-program-prefix) for static BP tests.
* Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
* Rules (tests-bp.out): New variable.
(tests): Conditionally add BP tests.
(binaries-bounded): Add variable and associated rule.
* csu/Makefile [build-bounded] (extra-objs, install-lib):
Move conditional stuff after place where condition is defined.
* malloc/malloc.c (bp-checks.h): Add #include.
(mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
(_bin_at): Add unbounded version of bin_at.
(IAV, chunk_alloc): Use unbounded _bin_at.
(mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
Wrap BOUNDED_N around return value.
(chunk_realloc): Adjust oldsize once.
* sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
(__ubp_memchr): Add correct decl.
(_CHECK_STRING): Use __ubp_memchr.
* sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
New alias for unbounded-pointer __memchr.
* sysdeps/i386/memchr.S: Likewise.
* sysdeps/ia64/memchr.S: Likewise.
* sysdeps/m68k/memchr.S: Likewise.
* sysdeps/sparc/sparc32/memchr.S: Likewise.
* sysdeps/sparc/sparc64/memchr.S: Likewise.
* sysdeps/vax/memchr.s: Likewise.
* sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
(SAVE_PTR): New macro. (save_ptr): Expand size as BP.
(strtok): Don't bother to write into SAVE_PTR when returning NULL.
* sysdeps/i386/i686/strtok.S: Likewise.
* sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
* sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
* sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
bounds of copy_result to mount_proc.
Greg McGary [Wed, 26 Jul 2000 18:18:43 +0000 (18:18 +0000)]
* Makeconfig (+link-bounded, link-libc-bounded,
link-extra-libs-bounded): New variables.
(built-program-cmd): Omit $(run-program-prefix) for static BP tests.
* Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
* Rules (tests-bp.out): New variable.
(tests): Conditionally add BP tests.
(binaries-bounded): Add variable and associated rule.
* csu/Makefile [build-bounded] (extra-objs, install-lib):
Move conditional stuff after place where condition is defined.
Ulrich Drepper [Wed, 26 Jul 2000 17:52:36 +0000 (17:52 +0000)]
Update.
2000-07-25 Bruno Haible <haible@clisp.cons.org>
* wctype/wctype.h (__wctrans_l): New declaration.
* wctype/wctrans_l.c: New file.
* wctype/Makefile (routines): Add wctrans_l.
* rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
* rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
Ulrich Drepper [Wed, 26 Jul 2000 16:20:41 +0000 (16:20 +0000)]
Update.
2000-07-26 Ulrich Drepper <drepper@redhat.com>
* posix/fnmatch_loop.c: Fixes for use outside glibc.
Patch by MacGyver <macgyver@tos.net>.
Ulrich Drepper [Wed, 26 Jul 2000 16:04:48 +0000 (16:04 +0000)]
Fixes for use outside glibc.
Andreas Jaeger [Wed, 26 Jul 2000 13:49:15 +0000 (13:49 +0000)]
Update.
2000-07-26 Andreas Jaeger <aj@suse.de>
* rt/tst-aio4.c: New file, slighlty modified version of tst-aio2.
* rt/tst-aio5.c: New file, slighlty modified version of tst-aio2.
* rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
* rt/tst-aio.c (test_file): Fix typo.
* rt/tst-aio64.c (test_file): Likewise.
* rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
* rt/Makefile: Add rules to build and run tst-aio3.
* sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
it's not needed and confuses only.
Andreas Jaeger [Wed, 26 Jul 2000 10:06:18 +0000 (10:06 +0000)]
Initialize p_sem_avail.
2000-07-26 Andreas Jaeger <aj@suse.de>
* pthread.c: Initialize p_sem_avail.
Ulrich Drepper [Wed, 26 Jul 2000 08:05:34 +0000 (08:05 +0000)]
Update.
2000-07-26 Ulrich Drepper <drepper@redhat.com>
* resolv/res_init.c: Add support for nameserver communication with
IPv6.
* resolv/res_send.c: Likewise.
* resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
in nsaddrs field.
Patch by <venaas@nvg.ntnu.no>.
Ulrich Drepper [Wed, 26 Jul 2000 06:40:20 +0000 (06:40 +0000)]
Update.
2000-07-25 Bruno Haible <haible@clisp.cons.org>
* locale/programs/ld-ctype.c (wctype_table_get): New function.
(wcwidth_table_get): New function.
(wcwidth_table_add): Call it.
(wctrans_table_get): New function.
(wctrans_table_add): Call it.
Ulrich Drepper [Wed, 26 Jul 2000 06:30:30 +0000 (06:30 +0000)]
Update.
* rt/lio_listio.c (lio_listio): Always disable individual
notification.
* rt/Makefile: Add rules to build and run tst-aio2.
* rt/tst-aio2.c: New file.
Ulrich Drepper [Wed, 26 Jul 2000 05:54:30 +0000 (05:54 +0000)]
Update.
2000-07-25 Ulrich Drepper <drepper@redhat.com>
* rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
Ulrich Drepper [Wed, 26 Jul 2000 03:32:13 +0000 (03:32 +0000)]
Update.
* internals.h (struct __pthread_descr_struct): Add p_sem_avail.
Ulrich Drepper [Wed, 26 Jul 2000 02:18:41 +0000 (02:18 +0000)]
Update.
* internals.h (strict __pthread_descr_struct): Add p_sem_avail.
* semaphore.c: Handle spurious wakeups.
* sysdeps/pthread/pthread.h: Add back PTHREAD_MUTX_FAST_NP as an alias
for PTHREAD_MUTEX_ADAPTIVE_NP for source code compatibility.
* pthread.c (__pthread_set_own_extricate): Use THREAD_GETMEM.
(__pthread_wait_for_restart): Likewise.
* condvar.c (pthread_cond_wait): Also check whether thread is
cancelable before aborting loop.
(pthread_cond_timedwait): Likewise.
Ulrich Drepper [Wed, 26 Jul 2000 01:37:02 +0000 (01:37 +0000)]
Update.
2000-07-25 Ulrich Drepper <drepper@redhat.com>
* signals.c (pthread_sighandler): Remove special code to restrore
%gs on x86.
(pthread_sighandler_t): Likewise.
Ulrich Drepper [Tue, 25 Jul 2000 22:27:43 +0000 (22:27 +0000)]
Update.
* libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
Ulrich Drepper [Tue, 25 Jul 2000 22:19:16 +0000 (22:19 +0000)]
Update.
2000-07-25 Mark Kettenis <kettenis@gnu.org>
* nss/nss_files/files-netgrp.c (strip_whitespace): New function.
(_nss_netgroup_parseline): Use strip_whitespace to strip off any
leading and trailing spaces from host, user and domain name.
2000-07-25 Jes Sorensen <jes@linuxcare.com>
* csu/defs.awk: Add support for need_endp.
2000-07-25 Mark Kettenis <kettenis@gnu.org>
* resolv/resolv.h: Remove __P from res_send_qhook and
res_send_rhook typedefs.
2000-07-25 Bruno Haible <haible@clisp.cons.org>
* intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
Ulrich Drepper [Tue, 25 Jul 2000 21:59:36 +0000 (21:59 +0000)]
Update.
2000-07-25 Ulrich Drepper <drepper@redhat.com>
* iconv/gconv_builtin.h: Add WCHAR_T alias.
Ulrich Drepper [Tue, 25 Jul 2000 21:57:31 +0000 (21:57 +0000)]
Add WCHAR_T alias.
Mark Kettenis [Tue, 25 Jul 2000 21:43:38 +0000 (21:43 +0000)]
* hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the calling thread, set the cancellation flag and return success instead of EINTR.
2000-07-25 Mark Kettenis <kettenis@gnu.org>
* hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
calling thread, set the cancellation flag and return success
instead of EINTR.
Ulrich Drepper [Tue, 25 Jul 2000 21:09:46 +0000 (21:09 +0000)]
Update.
* libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
* libio/tst-widetext.c: New file.
* libio/tst-widetext.input: New file.
* libio/iogetwline.c (_IO_getwline_info): Pretty print.
Ulrich Drepper [Tue, 25 Jul 2000 19:01:44 +0000 (19:01 +0000)]
Update.
2000-07-25 Ulrich Drepper <drepper@redhat.com>
* libio/wfileops.c (_IO_wfile_underflow): Correct not entirely
empty external buffer correctly.
Ulrich Drepper [Tue, 25 Jul 2000 18:55:52 +0000 (18:55 +0000)]
(_IO_wfile_underflow): Correct not entirely empty external buffer correctly.
Andreas Jaeger [Tue, 25 Jul 2000 10:34:14 +0000 (10:34 +0000)]
Update.
2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
__STRING(entry) and not #entry.
(_RTLD_EPILOGUE): Likewise.
* sysdeps/mips/mips64/dl-machine.h: Likewise.
2000-07-25 Andreas Jaeger <aj@suse.de>
* stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
according to changes in test program, run also with static only
builds.
($(objpfx)tst-printf.out): Likewise.
* stdio-common/tst-unbputc.sh: Likewise.
* stdio-common/tst-printf.sh: Likewise.
Andreas Jaeger [Tue, 25 Jul 2000 10:06:51 +0000 (10:06 +0000)]
* stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
according to changes in test program, run also with static only
builds.
($(objpfx)tst-printf.out): Likewise.
* stdio-common/tst-unbputc.sh: Likewise.
* stdio-common/tst-printf.sh: Likewise.
Ulrich Drepper [Tue, 25 Jul 2000 09:08:50 +0000 (09:08 +0000)]
Update.
* libio/wfileops.c (_IO_wdo_write): Correct return value.
Ulrich Drepper [Tue, 25 Jul 2000 07:08:50 +0000 (07:08 +0000)]
Update.
2000-07-25 Ulrich Drepper <drepper@redhat.com>
* libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
loop.
* libio/fileops.c: Pretty print.
Ulrich Drepper [Tue, 25 Jul 2000 07:01:50 +0000 (07:01 +0000)]
Pretty print.
Andreas Jaeger [Tue, 25 Jul 2000 06:12:57 +0000 (06:12 +0000)]
Update
* sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
check for offset.
* grp/initgroups.c (initgroups_dyn_function): Renamed from
initgroups_function, adopted prototype for change from 2000-07-23.
(initgroups): Follow type change.
Ulrich Drepper [Tue, 25 Jul 2000 04:37:22 +0000 (04:37 +0000)]
Update.
2000-07-23 Bruno Haible <haible@clisp.cons.org>
* wctype/wchar-lookup.h: New file.
* wctype/iswctype.c: Include "wchar-lookup.h".
(__iswctype): Support alternate locale format with 3-level tables.
* wctype/iswctype_l.c (__iswctype_l): Likewise.
* wctype/towctrans.c (__towctrans): Likewise.
* wctype/towctrans_l.c (__towctrans_l): Likewise.
* wctype/wcfuncs.c: Include "wchar-lookup.h".
(__ctype32_wctype, __ctype32_wctrans): Declare external.
(__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
__iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
__iswxdigit, towlower, towupper): Support alternate locale format
with 3-level tables.
* wctype/wcextra.c (iswblank): Likewise.
* wctype/wcfuncs_l.c: Include "wchar-lookup.h".
(__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
__iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
__iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
format with 3-level tables.
* wctype/wcextra_l.c (__iswblank_l): Likewise.
* wctype/wctype.c (__wctype): Likewise. In the alternate locale
format, return a 3-level table pointer.
* wctype/wctype_l.c (__wctype_l): Likewise.
* wctype/wctrans.c (wctrans): Likewise.
* wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
__ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
__ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
(iswctype): Remove macro definition.
* wcsmbs/wcwidth.h: Include "wchar-lookup.h".
(internal_wcwidth): Support alternate locale format with 3-level
tables.
* locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
New nl_items.
* locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
Define them as being type "word".
* locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
* ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
__ctype32_width): New exported variables.
* locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
alternate locale format. Don't initialize __ctype_names and
__ctype_width in the alternate locale format.
* locale/programs/localedef.h (oldstyle_tables): New declaration.
* locale/programs/localedef.c (oldstyle_tables): New variable.
(OPT_OLDSTYLE): New macro.
(options): Add --old-style option.
(parse_opt): Handle --old-style option.
* locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
map_offset, class_3level, map_3level, width_3level members.
(ctype_output): Support for alternate locale format: Computation of
nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
_NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
_NL_CTYPE_WIDTH now contains the three-level table. Extra elems
now contain both class and map tables.
(struct wctype_table): New type.
(wctype_table_init, wctype_table_add, wctype_table_finalize): New
functions.
(struct wcwidth_table): New type.
(wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
functions.
(struct wctrans_table): New type.
(wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
functions.
(allocate_arrays): Support for alternate locale format: Set
plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
to the first 256 characters. Compute ctype->map_3level. Set
ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
instead of ctype->width.
Ulrich Drepper [Tue, 25 Jul 2000 03:54:45 +0000 (03:54 +0000)]
Update.
* Makefile: Add rules to build, run, and distribute tst-langinfo.
* tst-langinfo.c: New file.
* tst-langinfo.sh: New file.