platform/upstream/linaro-glibc.git
21 years agoUpdate.
Ulrich Drepper [Sat, 20 Sep 2003 07:41:51 +0000 (07:41 +0000)]
Update.

2003-09-20  Ulrich Drepper  <drepper@redhat.com>

* pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt): Change
type of DECR parameter to int.
* pthreadP.h: Adjust prototype of __pthread_mutex_unlock_usercnt.

21 years agoUpdate.
Ulrich Drepper [Sat, 20 Sep 2003 06:16:45 +0000 (06:16 +0000)]
Update.

* elf/Makefile ($(objpfx)librtld.os): Create link map also for
final build to ease quality control.

21 years agoUpdate.
Ulrich Drepper [Sat, 20 Sep 2003 01:06:31 +0000 (01:06 +0000)]
Update.

2003-09-19  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/getcwd.c (__getcwd): If compiled for
ld.so, don't include NULL buffer pointer handling.

21 years agoUpdate.
Ulrich Drepper [Fri, 19 Sep 2003 20:41:17 +0000 (20:41 +0000)]
Update.

2003-09-19  Jakub Jelinek  <jakub@redhat.com>

* dlfcn/dlopen.c (dlopen): Add static_link_warning.

21 years agoUpdate.
Ulrich Drepper [Thu, 18 Sep 2003 19:15:31 +0000 (19:15 +0000)]
Update.

2003-09-18  Jakub Jelinek  <jakub@redhat.com>

* libio/memstream.c (open_memstream): Use _IO_init instead of
_IO_old_init.

21 years agoUpdate.
Ulrich Drepper [Thu, 18 Sep 2003 02:54:32 +0000 (02:54 +0000)]
Update.

2003-09-17  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/wordexp.c (eval_expr_val): Use strtol since we
have to recognize octal and hexadecimal numbers as well.  Simplify
function, signs are handled in strtol.
* posix/wordexp-test.c: Add tests for octal and hexadecimal
numbers in arithmetic expressions.

21 years agoUpdate.
Ulrich Drepper [Wed, 17 Sep 2003 19:15:35 +0000 (19:15 +0000)]
Update.

* elf/Makefile (distribute): Add tst-alignmod.c.
(tests): Add tst-align.
(modules-names): Add tst-alignmod.
(CFLAGS-tst-align.c, CFLAGS-tst-alignmod.c): Add
$(stack-align-test-flags).
($(objpfx)tst-align): Depend on libdl.
($(objpfx)tst-align.out): Depend on tst-alignmod.so.
* elf/tst-align.c: New file.
* elf/tst-alignmod.c: New file.
* misc/Makefile (CFLAGS-tst-tsearch.c): Add $(stack-align-test-flags).
* misc/tst-tsearch.c: Include tst-stack-align.h.
(stack_align_check): New array.
(cmp_fn, walk_action): Use TEST_STACK_ALIGN ().
(main): Report error if stack was not enough aligned
in cmp_fn or walk_action.
* stdlib/Makefile (CFLAGS-tst-qsort.c): Add $(stack-align-test-flags).
* stdlib/tst-qsort.c: Include tst-stack-align.h.
(align_check): New var.
(compare): Use TEST_STACK_ALIGN () macro.
(main): Report error if stack was not enough aligned in compare.
* sysdeps/i386/i686/Makefile (stack-align-test-flags): Remove
unneeded -mpreferred-stack-boundary=4.
* sysdeps/x86_64/tst-stack-align.h: New file.

* libio/memstream.c (_IO_wmem_jumps): Remove unused structure.
(_IO_wmem_sync, _IO_wmem_finish): Remove unused functions.

2003-09-17  Philip Blundell  <philb@gnu.org>

* sysdeps/arm/dl-machine.h (CALL_ROUTINE): Deleted.
(BX): Define.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Optimise a little.

* sysdeps/arm/sysdep.h (DO_RET): New.

* sysdeps/unix/sysv/linux/arm/vfork.S: Add #error if __NR_vfork
required but not defined.  Improve test of error code.

2003-09-17  Jakub Jelinek  <jakub@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Wed, 17 Sep 2003 18:23:49 +0000 (18:23 +0000)]
Update.

2003-09-17  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/arm/vfork.S: Branch to fork if
libpthread is loaded.  Elide backwards compatibility code when not
required.

21 years agoUpdate.
Ulrich Drepper [Wed, 17 Sep 2003 09:39:59 +0000 (09:39 +0000)]
Update.

2003-09-17  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/Makefile (stack-align-test-flags): Add
-malign-double -mpreferred-stack-boundary=4.

21 years agoUpdate.
Ulrich Drepper [Wed, 17 Sep 2003 09:18:37 +0000 (09:18 +0000)]
Update.

2003-09-17  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/utimes.c (__utimes): Truncate instead of round.
* sysdeps/unix/sysv/linux/utimes.c (__utimes): Likewise.

21 years agoUpdate.
Ulrich Drepper [Wed, 17 Sep 2003 08:47:44 +0000 (08:47 +0000)]
Update.

2003-09-15  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/Makefile (sysdep-CFLAGS): If not in math or csu
subdir, add -mpreferred-stack-boundary=4, with few exceptions.

2003-09-17  Jakub Jelinek  <jakub@redhat.com>

* Makeconfig (stack-align-test-flags): Set.
* stdlib/Makefile (CFLAGS-tst-bsearch.c): Add
$(stack-align-test-flags).
* stdlib/tst-bsearch.c: Include tst-stack-align.h.
(align_check): New var.
(comp): Use TEST_STACK_ALIGN macro.
(do_test): Fail if align_check != 1.
* sysdeps/generic/tst-stack-align.h: New file.
* sysdeps/i386/i686/Makefile (stack-align-test-flags): Add -msse.
* sysdeps/i386/i686/tst-stack-align.h: New file.

21 years agoUpdate.
Ulrich Drepper [Wed, 17 Sep 2003 08:02:17 +0000 (08:02 +0000)]
Update.

2003-09-17  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/clone.S: Make sure child gets a
stack which is aligned (mod 16).

21 years agoUpdate.
Ulrich Drepper [Wed, 17 Sep 2003 06:44:18 +0000 (06:44 +0000)]
Update.

2003-09-16  Ulrich Drepper  <drepper@redhat.com>

* attr.c (pthread_getattr_np): Correctly fill in the stack-related
values for the initial thread.

21 years agoUpdate.
Ulrich Drepper [Wed, 17 Sep 2003 05:04:16 +0000 (05:04 +0000)]
Update.

2003-09-17  Jakub Jelinek  <jakub@redhat.com>

* pthread.c (manager_thread): Remove static, add attribute_hidden.
(thread_self_stack): Rename to...
(__pthread_self_stack): ... this.  Remove static.
(pthread_handle_sigcancel): Use check_thread_self ().
(pthread_handle_sigrestart): Likewise.
* sighandler.c (__pthread_sighandler, __pthread_sighandler_rt):
Likewise.
* descr.h (manager_thread): Declare.
* internals.h (__pthread_self_stack): New prototype.
(__manager_thread): Define.
(check_thread_self): New function.

21 years ago(manager_thread): Remove static, add attribute_hidden. (thread_self_stack): Rename...
Ulrich Drepper [Wed, 17 Sep 2003 05:03:05 +0000 (05:03 +0000)]
(manager_thread): Remove static, add attribute_hidden. (thread_self_stack): Rename to... (__pthread_self_stack): ... this.  Remove static. (pthread_handle_sigcancel): Use check_thread_self (). (pthread_handle_sigrestart): Likewise.

21 years ago2003-09-17 Uwe Reimann <Uwe_Reimann@gmx.net>
Roland McGrath [Wed, 17 Sep 2003 02:48:45 +0000 (02:48 +0000)]
2003-09-17  Uwe Reimann  <Uwe_Reimann@gmx.net>

    Hans-Peter Nilsson  <hp@axis.com>

* sysdeps/cris/dl-machine.h (elf_machine_type_class): Classify
R_CRIS_GLOB_DAT as ELF_RTYPE_CLASS_PLT.  Clarify comment.

21 years ago2003-09-17 Uwe Reimann <Uwe_Reimann@gmx.net> Hans-Peter Nilsson <hp@axis.com>
Roland McGrath [Wed, 17 Sep 2003 02:47:48 +0000 (02:47 +0000)]
2003-09-17  Uwe Reimann  <Uwe_Reimann@gmx.net> Hans-Peter Nilsson  <hp@axis.com>

* sysdeps/cris/dl-machine.h (elf_machine_type_class): Classify
R_CRIS_GLOB_DAT as ELF_RTYPE_CLASS_PLT.  Clarify comment.

21 years agoUpdate.
Ulrich Drepper [Wed, 17 Sep 2003 01:19:43 +0000 (01:19 +0000)]
Update.

2003-09-17  Jakub Jelinek  <jakub@redhat.com>

* dirent/scandir.c: Include bits/libc-lock.h.
(struct scandir_cancel_struct): New type.
(cancel_handler): New function.
(SCANDIR): Add __libc_cleanup_{push,pop}, save state into
scandir_cancel_struct.

21 years agoUpdate.
Ulrich Drepper [Wed, 17 Sep 2003 00:49:19 +0000 (00:49 +0000)]
Update.

2003-09-16  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/Dist: Remove internal_statvfs.c.
* sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
Add internal_statvfs.
* sysdeps/unix/sysv/linux/fstatvfs.c: Call __internal_statvfs
instead of including "internal_statvfs.c".
* sysdeps/unix/sysv/linux/statvfs.c: Likewise.
* sysdeps/unix/sysv/linux/internal_statvfs.c: Make it a real function.
Add code to avoid the stat calls on all the reported mount points
when we can determine mismatch in advance.
* sysdeps/unix/sysv/linux/linux_fsinfo.h: Add AUTOFS_SUPER_MAGIC and
USBDEVFS_SUPER_MAGIC.

2003-09-16  Jakub Jelinek  <jakub@redhat.com>

* posix/Versions (sched_getaffinity, sched_setaffinity): Change
from GLIBC_2.3.2 to GLIBC_2.3.3 symbol version.

2003-09-16  Bruno Haible  <bruno@clisp.org>

* intl/tst-gettext2.sh: Set GCONV_PATH and LOCPATH only after
invoking msgfmt, not before.

21 years agoUpdate.
Ulrich Drepper [Tue, 16 Sep 2003 05:54:09 +0000 (05:54 +0000)]
Update.

2003-09-15  Jakub Jelinek  <jakub@redhat.com>

* argp/argp.h (argp_parse, __argp_parse): Remove __THROW.
* argp/Makefile (CFLAGS-argp-help.c, CFLAGS-argp-parse.c): Add
$(uses-callbacks).
* dirent/Makefile (CFLAGS-scandir.c, CFLAGS-scandir64.c): Likewise.
* elf/Makefile (CFLAGS-dl-iterate-phdr.c,
CFLAGS-dl-iterate-phdr-static.c): Add $(uses-callbacks).
* elf/dl-iteratephdr.c (cancel_handler): New function.
(__dl_iterate_phdr): Add __libc_cleanup_{push,pop}.
* elf/link.h (dl_iterate_phdr): Remove __THROW.
* io/Makefile (CFLAGS-fts.c): Merge into one assignment.
Add $(uses-callbacks).
(CFLAGS-ftw.c, CFLAGS-ftw64.c): Add $(uses-callbacks).
* misc/Makefile (CFLAGS-tsearch.c, CFLAGS-lsearch.c): Change
$(exceptions) to $(uses-callbacks).
* Makeconfig (uses-callbacks): Set to $(exceptions).
* posix/Makefile (CFLAGS-glob.c, CFLAGS-glob64.c): Add
$(uses-callbacks).
* stdlib/Makefile (CFLAGS-bsearch.c, CFLAGS-msort.c, CFLAGS-qsort.c):
Likewise.

21 years ago(argp_parse, __argp_parse): Remove __THROW.
Ulrich Drepper [Tue, 16 Sep 2003 05:46:27 +0000 (05:46 +0000)]
(argp_parse, __argp_parse): Remove __THROW.

21 years ago* sysdeps/m68k/setjmp.c: Add hidden_def.
Andreas Schwab [Mon, 15 Sep 2003 08:43:25 +0000 (08:43 +0000)]
* sysdeps/m68k/setjmp.c: Add hidden_def.

21 years agoAdd hidden_def.
Andreas Schwab [Mon, 15 Sep 2003 08:43:12 +0000 (08:43 +0000)]
Add hidden_def.

21 years agoUpdate.
Ulrich Drepper [Mon, 15 Sep 2003 06:28:10 +0000 (06:28 +0000)]
Update.

* libio/memstream.c (open_memstream): Don't allow wide char operations.

21 years agoUpdate.
Ulrich Drepper [Sun, 14 Sep 2003 20:38:01 +0000 (20:38 +0000)]
Update.

2003-09-14  Ulrich Drepper  <drepper@redhat.com>

* dirent/dirent.h: Remove __THROW from scandir.

2003-09-14  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/arm/mmap.S: Use sys_mmap2 if it's known
to be available.

* sysdeps/unix/sysv/linux/arm/mmap64.S: Optimise code a little.

* sysdeps/arm/memset.S: Rewrite.

21 years agoUpdate.
Ulrich Drepper [Sun, 14 Sep 2003 08:03:54 +0000 (08:03 +0000)]
Update.

2003-09-12  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/s390/bits/typesizes.h: New.
(__SSIZE_T_TYPE): Define to __SWORD_TYPE for gcc 2.95.x and
__SLONGWORD_TYPE otherwise.

2003-09-14  Ulrich Drepper  <drepper@redhat.com>

* io/Makefile (CFLAGS-ftw.c): Add -fexceptions.
(CFLAGS-ftw64.c): Likewise.

2003-09-13  Ulrich Drepper  <drepper@redhat.com>

* nscd/Makefile (CFLAGS-nscd_getpw_r.c): Add -fexceptions.
(CFLAGS-nscd_getgr_r.c): Likewise.
(CFLAGS-nscd_gethst_r.c): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sat, 13 Sep 2003 05:52:57 +0000 (05:52 +0000)]
Update.

* sysdeps/unix/sysv/linux/if_index.c: Use only non-cancelable
interfaces.

21 years agoUpdate.
Ulrich Drepper [Fri, 12 Sep 2003 22:37:19 +0000 (22:37 +0000)]
Update.

2003-09-12  Ulrich Drepper  <drepper@redhat.com>

* grp/Makefile (CFLAGS-getgrgid_r.c, CFLAGS-getgrnam_r.c,
CFLAGS-fgetgrent.c, CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c,
CFLAGS-initgroups.c, CFLAGS-getgrgid.c): Add -fexceptions.
* inet/Makefile (CFLAGS-either_ntoh.c, CFLAGS-either_hton.c,
CFLAGS-getnetgrent.c, CFLAGS-getnetgrent_r.c): Likewise.
* io/Makefile (CFLAGS-posix_fallocate.c, CFLAGS-posix_fallocate64.c):
Likewise.
* misc/Makefile (CFLAGS-err.c): Likewise.
* posix/Makefile (CFLAGS-getaddrinfo.c, CFLAGS-spawn.c,
CFLAGS-spawnp.c, CFLAGS-spawni.c, CFLAGS-pause.c, CFLAGS-glob.c,
CFLAGS-glob64.c): Likewise.
* pwd/Makefile (CFLAGS-getpw.c): Likewise.
* shadow/Makefile (CFLAGS-fgetspent.c, CFLAGS-fgetspent_r.c,
CFLAGS-putspent.c, CFLAGS-getspnam.c, CFLAGS-getspnam_r.c): Likewise.
* stdio-common/Makefile (CFLAGS-cuserid.c): Likewise.
* sunrpc/Makefile (CFLAGS-openchild.c): Likewise.

* stdlib/Makefile (CFLAGS-mkstemp.c): Remove definition.

* libio/stdio.h: Remove __THROW from cuserid prototype.

* locale/loadarchive.c: Use only non-cancelable interfaces.
* resolv/herror.c (herror): Likewise.

* malloc/hooks.c: Before using IO stream mark stream so it uses
only non-cancelable interfaces.
* malloc/malloc.c: Likewise.
* posix/getopt.c: Likewise.

2003-09-11  Jakub Jelinek  <jakub@redhat.com>

* Makerules (LDFLAGS-c.so): Remove -u __register_frame.

2003-09-12  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/stdio_ext.h: Mark most functions with __THROW.

* misc/err.h: Remove __THROW from all prototypes.

* posix/getopt.h (__THROW): Define if not already defined.  Add
__THROW to the getopt functions.

2003-09-11  Ulrich Drepper  <drepper@redhat.com>

* io/Makefile (CFLAGS-lockf.c): Add -fexceptions.
(CFLAGS-fts.c): Likewise.
* io/fcntl.h: Remove __THROW from lockf prototypes.
* io/fts.h: Remove most __THROW.

21 years agoUpdate.
Ulrich Drepper [Thu, 11 Sep 2003 23:57:58 +0000 (23:57 +0000)]
Update.

2003-09-11  H.J. Lu  <hongjiu.lu@intel.com>

* elf/tls-macros.h (TLS_IE): Add a stop bit for ia64.
(TLS_LD): Likewise.
(TLS_GD): Likewise.

2003-09-11  Jakub Jelinek  <jakub@redhat.com>

* libio/fileops.c (_IO_new_file_overflow): Add INTUSE to
_IO_free_backup_area call.

21 years agoUpdate.
Ulrich Drepper [Thu, 11 Sep 2003 18:56:41 +0000 (18:56 +0000)]
Update.

2003-09-11  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc64/pt-machine.h [MEMORY_BARRIER]: Use lwsync.
[READ_MEMORY_BARRIER]: Define.
[WRITE_MEMORY_BARRIER]: Define.

21 years agoUpdate.
Ulrich Drepper [Thu, 11 Sep 2003 08:01:46 +0000 (08:01 +0000)]
Update.

2003-09-11  Ulrich Drepper  <drepper@redhat.com>

* pthread_mutex_lock.c: Minor code rearrangements.

21 years agoMinor code rearrangements.
Ulrich Drepper [Thu, 11 Sep 2003 08:00:43 +0000 (08:00 +0000)]
Minor code rearrangements.

21 years ago* sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Fix
Roland McGrath [Wed, 10 Sep 2003 23:39:29 +0000 (23:39 +0000)]
* sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Fix

syscall invocation.
* sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
Also, only assert off_t size is 4 for N32 and O32, and clean up
white space.
* sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.

21 years ago* sysdeps/pthread/pthread-functions.h (struct pthread_functions): Move
Roland McGrath [Wed, 10 Sep 2003 22:27:42 +0000 (22:27 +0000)]
* sysdeps/pthread/pthread-functions.h (struct pthread_functions): Move

ptr___pthread_cond_timedwait to the end of the structure to avoid
breaking Wine unnecessarily.

21 years ago* sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr):
Roland McGrath [Wed, 10 Sep 2003 19:16:18 +0000 (19:16 +0000)]
* sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr):

Don't use c_ispeed under [! _HAVE_STRUCT_TERMIOS_C_ISPEED].
Don't use c_ospeed under [! _HAVE_STRUCT_TERMIOS_C_OSPEED].
* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
Reported by Daniel Jacobowitz  <drow@mvista.com>.

21 years ago2003-09-10 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 10 Sep 2003 19:16:07 +0000 (19:16 +0000)]
2003-09-10  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr):
Don't use c_ispeed under [! _HAVE_STRUCT_TERMIOS_C_ISPEED].
Don't use c_ospeed under [! _HAVE_STRUCT_TERMIOS_C_OSPEED].
* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
Reported by Daniel Jacobowitz  <drow@mvista.com>.

21 years agoUpdate.
Ulrich Drepper [Wed, 10 Sep 2003 05:23:33 +0000 (05:23 +0000)]
Update.

2003-09-10  Jakub Jelinek  <jakub@redhat.com>

* string/Makefile (strop-tests): Add memccpy.
* string/test-memccpy.c: New test.

21 years agoUpdate.
Ulrich Drepper [Tue, 9 Sep 2003 23:59:00 +0000 (23:59 +0000)]
Update.

2003-09-09  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT): Add
siginfo_t * argument before, change into struct ucontext *.
(SIGCONTEXT_EXTRA_ARGS): Define to _si,.
(GET_PC, GET_FRAME, GET_STACK): Adjust for ctx being a pointer
instead of structure.
* sysdeps/unix/sysv/linux/x86_64/register-dump.h (REGISTER_DUMP):
Likewise.

* sysdeps/unix/mips/sysdep.h (PSEUDO_END): Undef before defining.
* sysdeps/mips/mips64/n32/Implies: Move ieee754/ldbl-128 to
the top of the list.
* sysdeps/mips/mips64/n64/Implies: Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 9 Sep 2003 20:18:53 +0000 (20:18 +0000)]
Update.

2003-09-09  Ulrich Drepper  <drepper@redhat.com>

* string/stratcliff.c (main): Check memccpy.

2003-04-11  Jes Sorensen  <jes@wildopensource.com>

* sysdeps/ia64/memccpy.S: When recovering for src_aligned and the
character is found during recovery, use correct register when
determining the position of the found character.

2003-04-01  Jes Sorensen  <jes@wildopensource.com>

* sysdeps/ia64/memccpy.S: Use speculatively loads for readahead to
avoid segfaults when reading from unmapped pages. For aligned
reload and continue, for misaligned, roll back and use byte copy.
Save ar.ec on entry and restore on exit.

21 years ago(main): Check memccpy.
Ulrich Drepper [Tue, 9 Sep 2003 20:15:17 +0000 (20:15 +0000)]
(main): Check memccpy.

21 years ago2003-09-08 Chris Demetriou <cgd@broadcom.com>
Roland McGrath [Tue, 9 Sep 2003 20:10:35 +0000 (20:10 +0000)]
2003-09-08  Chris Demetriou  <cgd@broadcom.com>

        * sysdeps/mips/mips64/n32/Implies: Move ieee754/ldbl-128 to
        the top of the list.
        * sysdeps/mips/mips64/n64/Implies: Likewise.

21 years ago2003-09-09 Chris Demetriou <cgd@broadcom.com>
Roland McGrath [Tue, 9 Sep 2003 19:22:51 +0000 (19:22 +0000)]
2003-09-09  Chris Demetriou  <cgd@broadcom.com>

        * sysdeps/unix/mips/sysdep.h (PSEUDO_END): Undef before defining.

21 years ago* sysdeps/unix/sysv/linux/speed.c
Roland McGrath [Tue, 9 Sep 2003 07:01:01 +0000 (07:01 +0000)]
* sysdeps/unix/sysv/linux/speed.c

(cfsetospeed): Only set c_ospeed under [_HAVE_STRUCT_TERMIOS_C_OSPEED].
(cfsetispeed): Only set c_ispeed under [_HAVE_STRUCT_TERMIOS_C_ISPEED].
* sysdeps/unix/sysv/linux/bits/termios.h
(_HAVE_STRUCT_TERMIOS_C_ISPEED, _HAVE_STRUCT_TERMIOS_C_OSPEED): Define.
* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.

21 years ago2003-09-08 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 9 Sep 2003 06:44:48 +0000 (06:44 +0000)]
2003-09-08  Roland McGrath  <roland@frob.com>

* sysdeps/unix/sysv/linux/speed.c
(cfsetospeed): Only set c_ospeed under [_HAVE_STRUCT_TERMIOS_C_OSPEED].
(cfsetispeed): Only set c_ispeed under [_HAVE_STRUCT_TERMIOS_C_ISPEED].
* sysdeps/unix/sysv/linux/bits/termios.h
(_HAVE_STRUCT_TERMIOS_C_ISPEED, _HAVE_STRUCT_TERMIOS_C_OSPEED): Define.
* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 9 Sep 2003 02:42:46 +0000 (02:42 +0000)]
Update.

2003-09-08  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/register-dump.h: Undo last change.
* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.

* scripts/data/c++-types-i386-linux-gnu.data: New file.

21 years agoUpdate.
Ulrich Drepper [Tue, 9 Sep 2003 00:07:08 +0000 (00:07 +0000)]
Update.

2003-09-08  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/bits/types.h (__quad_t): Make long int if 64-bit.
(__u_quad_t): Make unsigned long int if 64-bit.
(__SQUAD_TYPE): Make long int if 64-bit.
(__UQUAD_TYPE): Make unsigned long int if 64-bit.
* sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Remove.

2003-09-08  Ulrich Drepper  <drepper@redhat.com>

* Makefile (tests): Run check-c++-types.sh if possible.
* scripts/check-c++-types.h: New file.
* scripts/data/c++-ctypes-i386-linux-gnu.data: New file.

contiguous case.  Bug report from Prem Gopalan <prem@mazunetworks.com>.

21 years agoScript to check non-changing C++ type name mangling.
Ulrich Drepper [Mon, 8 Sep 2003 23:11:09 +0000 (23:11 +0000)]
Script to check non-changing C++ type name mangling.

21 years ago* sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
Andreas Jaeger [Mon, 8 Sep 2003 19:14:42 +0000 (19:14 +0000)]
* sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):

Use struct sigcontext.
* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
Use struct sigcontext.
(GET_PC): Adopt.
(GET_FRAME): Likewise.
(GET_STACK): Likewise.
2003-09-08  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
Use struct sigcontext.

* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
Use struct sigcontext.
(GET_PC): Adopt.
(GET_FRAME): Likewise.
(GET_STACK): Likewise.

21 years agoUpdate.
Ulrich Drepper [Mon, 8 Sep 2003 16:33:12 +0000 (16:33 +0000)]
Update.

2003-09-08  Wolfram Gloger  <wg@malloc.de>

* malloc/malloc.c (sYSMALLOc): Move foreign sbrk accounting into
contiguous case.  Bug report from Prem Gopalan
<prem@mazunetworks.com>.
(mALLOPt): Avoid requirement of C99.

21 years agoUpdate.
Ulrich Drepper [Mon, 8 Sep 2003 07:04:48 +0000 (07:04 +0000)]
Update.

2003-09-08  Ulrich Drepper  <drepper@redhat.com>

* libio/bug-ftell.c: Include <sys/types.h>.
(main): Mark cp as const.

21 years agoUpdate.
Ulrich Drepper [Sun, 7 Sep 2003 19:03:48 +0000 (19:03 +0000)]
Update.

2003-09-07  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/syscalls.list (fcntl): Remove.
* sysdeps/unix/sysv/linux/x86_64/fcntl.c: Remove.

21 years agoUpdate.
Ulrich Drepper [Sat, 6 Sep 2003 09:56:57 +0000 (09:56 +0000)]
Update.

21 years agoUpdate.
Ulrich Drepper [Sat, 6 Sep 2003 09:56:14 +0000 (09:56 +0000)]
Update.

* sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Fill in c_ispeed
and c_ospeed fields.
* sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Set c_ospeed field.
(cfsetispeed): Set c_ispeed field.
* sysdeps/unix/sysv/linux/tcsetattr.c (IBAUD0): Define unconditionally
to match corresponding speed.c code.

2003-09-06  Ulrich Drepper  <drepper@redhat.com>

* libio/wfileops.c (_IO_wfile_underflow): Mark beginning of the
narrow character buffer.
* libio/Makefile: Add rules to build and run bug-ftell.
* libio/bug-ftell.c: New file.

* stdio-common/vfprintf.c: Don't use the first grouping number twice.

* stdio-common/vfscanf.c (vfscanf): Fix recognition of characters
matching the decimal point and possibly leading the thousands
separator.  This caused the recognition of thousands separators to
always fail.

2003-09-05  Ulrich Drepper  <drepper@redhat.com>

* libio/fileops.c (_IO_new_file_overflow): Handle switching to
write mode from read in backup buffer.
* libio/Makefile (tests): Add bug-ungetc2.
* libio/bug-ungetc2.c: New file.

2003-09-05  Roland McGrath  <roland@redhat.com>

>>>>>>> 1.7905
* sysdeps/unix/sysv/linux/linux_fsinfo.h: Define VXFS_SUPER_MAGIC.

21 years ago(_IO_new_file_overflow): Handle switching to write mode from read of backup buffer.
Ulrich Drepper [Sat, 6 Sep 2003 05:16:44 +0000 (05:16 +0000)]
(_IO_new_file_overflow): Handle switching to write mode from read of backup buffer.

21 years ago* nss/getXXbyYY.c (FUNCTION_NAME): Remove unused variable.
Roland McGrath [Fri, 5 Sep 2003 21:25:15 +0000 (21:25 +0000)]
* nss/getXXbyYY.c (FUNCTION_NAME): Remove unused variable.

2003-09-04  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/mmap.c (__mmap): If io_map fails with MIG_BAD_ID,
EOPNOTSUPP, or ENOSYS, change it to ENODEV.

21 years ago2003-09-05 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 5 Sep 2003 21:24:50 +0000 (21:24 +0000)]
2003-09-05  Roland McGrath  <roland@redhat.com>

* nss/getXXbyYY.c (FUNCTION_NAME): Remove unused variable.

21 years agoUpdate.
Ulrich Drepper [Fri, 5 Sep 2003 18:21:07 +0000 (18:21 +0000)]
Update.

2003-09-04  H.J. Lu  <hongjiu.lu@intel.com>

* sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ):
Fix a typo.

21 years ago(MINSIGSTKSZ): Fix a typo.
Ulrich Drepper [Fri, 5 Sep 2003 18:04:05 +0000 (18:04 +0000)]
(MINSIGSTKSZ): Fix a typo.

21 years agoUpdate.
Andreas Jaeger [Fri, 5 Sep 2003 10:03:19 +0000 (10:03 +0000)]
Update.

* sysdeps/i386/bits/string.h (__memrchr): Do addition in assembler
to make it conforming C.
* sysdeps/i386/i486/bits/string.h (__memrchr): Likewise.

21 years agoUpdate.
Andreas Jaeger [Fri, 5 Sep 2003 08:44:59 +0000 (08:44 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/fcntl.c: New.

21 years agoUpdate.
Andreas Jaeger [Fri, 5 Sep 2003 07:58:18 +0000 (07:58 +0000)]
Update.

* sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Likewise.

21 years agoUpdate.
Andreas Jaeger [Fri, 5 Sep 2003 06:10:43 +0000 (06:10 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Change
prototype to use variable argument lists and get the possible one
argument via va_arg.

21 years ago(__fcntl_nocancel): Change
Andreas Jaeger [Fri, 5 Sep 2003 06:10:20 +0000 (06:10 +0000)]
(__fcntl_nocancel): Change

prototype to use variable argument lists and get the possible one
argument via va_arg.

21 years agoUpdate.
Ulrich Drepper [Thu, 4 Sep 2003 16:19:05 +0000 (16:19 +0000)]
Update.

* posix/unistd.h: Add back __THROW to sysconf, pathconf, fpathconf.

over the place.  It would be allowed to have these functions as

21 years agoUpdate.
Ulrich Drepper [Thu, 4 Sep 2003 14:42:25 +0000 (14:42 +0000)]
Update.

* sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
Report correct value for vxfs.
* sysdeps/unix/sysv/linux/linux_fsinfo.h: Dfeine VXFS_SUPER_MAGIC.

21 years agoUpdate.
Ulrich Drepper [Thu, 4 Sep 2003 14:26:36 +0000 (14:26 +0000)]
Update.

* gmon/gmon.c: Use only not-cancelable syscalls to write profiling
data.

21 years agoUpdate.
Ulrich Drepper [Thu, 4 Sep 2003 14:08:24 +0000 (14:08 +0000)]
Update.

* sysdeps/generic/utmp_file.c: Use not-cancelable syscalls all
over the place.  It would be allowed to have these fucntions as
cancellation points but the cleanup would be ugly and a lot of
work.

* sysdeps/generic/not-cancel.h (fcntl_not_cancel): Define.
* sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Define.

* include/fcntl.h (__fcntl_nocancel): Declare.
* sysdeps/unix/sysv/linux/fcntl.c: New file.
* sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Only enable
cancellation if absolutely needed.
(__fcntl_nocancel): Define.

* posix/unistd.h (gethostid): Remove __THROW.  Clarify comment.
* sysdeps/unix/sysv/linux/Makefile (CFLAGS-gethostid.c): Add
-fexceptions.
* sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use
extend_alloca.

* resolv/res_init.c (__res_nclose): Use close_not_cancel_no_status
instead of __close.

21 years agoUpdate.
Ulrich Drepper [Thu, 4 Sep 2003 12:31:47 +0000 (12:31 +0000)]
Update.

2003-09-04  Ulrich Drepper  <drepper@redhat.com>

* nss/getXXbyYY.c (FUNCTION_NAME): Add a few casts.  Remove
unnecessary errno handling.

* nss/getXXbyYY_r.c (INTERNAL): Use better variable name.
Initialize it in all cases.  Change it to be a bit more like the
code we had before.

21 years agoUpdate.
Ulrich Drepper [Thu, 4 Sep 2003 08:53:13 +0000 (08:53 +0000)]
Update.

2003-09-04  Jakub Jelinek  <jakub@redhat.com>

* libio/fileops.c (_IO_file_read, _IO_new_file_write): Add
__builtin_expect.
(_IO_file_open): Likewise.  Use close_not_cancel.

21 years agoUpdate.
Ulrich Drepper [Thu, 4 Sep 2003 08:27:37 +0000 (08:27 +0000)]
Update.

2003-09-04  Ulrich Drepper  <drepper@redhat.com>

* libio/libio.h: Define _IO_FLAGS2_NOTCANCEL.
* libio/fileops.c [_LIBC]: Remove close macro.
(_IO_file_open): If _IO_FLAGS2_NOTCANCEL is set, use open_not_cancel.
(_IO_new_file_open): Recognize 'c' flag in mode string.
(_IO_file_read): If _IO_FLAGS2_NOTCANCEL is set use read_not_cancel.
(_IO_new_file_write): If _IO_FLAGS2_NOTCANCEL is set use
write_not_cancel.
* iconv/gconv_conf.c: Use fopen with 'c' mode flag.
* inet/rcmd.c: Likewise.
* inet/ruserpass.c: Likewise.
* intl/localealias.c: Likewise.
* malloc/mtrace.c: Likewise.
* misc/getpass.c: Likewise.
* misc/getttyent.c: Likewise.
* misc/mntent_r.c: Likewise.
* misc/getusershell.c: Likewise.
* nss/nsswitch.c: Likewise.
* resolv/res_hconf.c: Likewise.
* resolv/res_init.c: Likewise.
* sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
* time/getdate.c: Likewise.
* time/tzfile.c: Likewise.
* misc/fstab.h: Undo last change.
* misc/mntent.h: Likewise.
* misc/Makefile: Remove CFLAGS-mntent_r.c, CFLAGS-mntent.c, and
CFLAGS-fstab.c definition.

2003-09-04  Jakub Jelinek  <jakub@redhat.com>
2003-09-03  Ulrich Drepper  <drepper@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Thu, 4 Sep 2003 05:57:06 +0000 (05:57 +0000)]
Update.

22003-09-04  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/unwind.h (_Unwind_GetBSP): Add prototype.

003-09-03  Ulrich Drepper  <drepper@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Thu, 4 Sep 2003 04:43:56 +0000 (04:43 +0000)]
Update.

2003-09-03  Ulrich Drepper  <drepper@redhat.com>

* nss/getXXbyYY_r.c (INTERNAL): Explicitly set errno and avoid
returning ERANGE if this wasn't intended.

21 years agoUpdate.
Ulrich Drepper [Wed, 3 Sep 2003 17:45:50 +0000 (17:45 +0000)]
Update.

2003-09-03  Jakub Jelinek  <jakub@redhat.com>

* intl/loadmsgcat.c (open, close, read, mmap, munmap): Define as
function-like macros.

21 years agoUpdate.
Ulrich Drepper [Wed, 3 Sep 2003 09:26:15 +0000 (09:26 +0000)]
Update.

2003-09-03  Ulrich Drepper  <drepper@redhat.com>

* grp/Makefile (CFLAGS-getgrent_r.c): Add -fexceptions.
(CFLAGS-getgrent.c): Likewise.
* pwd/Makefile (CFLAGS-getpwent_r.c): Add -fexceptions.
(CFLAGS-getpwent.c): Likewise.
* shadow/Makefile (CFLAGS-getspent_r.c): Add -fexceptions.
(CFLAGS-getspent.c): Likewise.

* inet/Makefile: Add -fexceptions to CFLAGS for the various
getXXent and getXXbyYY functions.

* locale/loadlocale.c: Use not-cancelable variants of open, close,
and read.

21 years agoUpdate.
Ulrich Drepper [Wed, 3 Sep 2003 03:22:23 +0000 (03:22 +0000)]
Update.

2003-09-02  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove
rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo and
rt_sigpending.
* sysdeps/unix/sysv/linux/alpha/sigaction.c (__syscall_rt_sigaction):
New prototype.
* sysdeps/unix/sysv/linux/arm/syscalls.list (__syscall_*): Remove
unused __syscall_ stubs.
* sysdeps/unix/sysv/linux/arm/Makefile (sysdep_routines): Remove
rt_*.
* sysdeps/unix/sysv/linux/cris/Makefile: Removed.
* sysdeps/unix/sysv/linux/mips/mips64/syscalls.list
(__syscall_recvfrom, __syscall_sendto): Remove unused aliases.
* sysdeps/unix/sysv/linux/mips/syscalls.list (__syscall_*): Remove
unused __syscall_ stubs.
* sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Remove rt_*.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
(__syscall_*): Remove unused __syscall_ stubs.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
(__syscall_*): Likewise.
* sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines): Remove
rt_*.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__syscall_*):
Remove unused __syscall_ stubs.
* sysdeps/unix/sysv/linux/sh/Makefile (sysdep_routines): Remove rt_*.
* sysdeps/unix/sysv/linux/rt_sigaction.c: Removed.
* sysdeps/unix/sysv/linux/rt_sigpending.c: Removed.
* sysdeps/unix/sysv/linux/rt_sigprocmask.c: Removed.
* sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Removed.
* sysdeps/unix/sysv/linux/rt_sigreturn.c: Removed.
* sysdeps/unix/sysv/linux/rt_sigsuspend.c: Removed.
* sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Removed.
* sysdeps/unix/sysv/linux/s_pread64.c: Removed.
* sysdeps/unix/sysv/linux/s_pwrite64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/gethostname.c: Remove unused
__syscall_* prototypes.
* sysdeps/unix/sysv/linux/alpha/ipc_priv.h: 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/arm/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
* sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
* sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/ioctl.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/execve.c: Likewise.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/reboot.c: Likewise.
* sysdeps/unix/sysv/linux/_exit.c: Likewise.
* sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/gai_sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/readahead.c: Likewise.
* sysdeps/unix/sysv/linux/getcwd.c: Likewise.
* sysdeps/unix/sysv/linux/sigwait.c: Likewise.
* sysdeps/unix/sysv/linux/getdents.c: Likewise.
* sysdeps/unix/sysv/linux/readv.c: Likewise.
* sysdeps/unix/sysv/linux/getpriority.c: Likewise.
* sysdeps/unix/sysv/linux/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ipc_priv.h: Likewise.
* sysdeps/unix/sysv/linux/llseek.c: Likewise.
* sysdeps/unix/sysv/linux/sysctl.c: Likewise.
* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/mmap64.c: Likewise.
* sysdeps/unix/sysv/linux/ustat.c: Likewise.
* sysdeps/unix/sysv/linux/poll.c: Likewise.
* sysdeps/unix/sysv/linux/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/writev.c: Likewise.
* sysdeps/unix/sysv/linux/pread.c: Likewise.
* sysdeps/unix/sysv/linux/ptrace.c: Likewise.
* sysdeps/unix/sysv/linux/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/xmknod.c: Likewise.
* sysdeps/unix/sysv/linux/xstat64.c: Likewise.

2003-09-02  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Revert last change.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: New file.
* sysdeps/unix/sysv/linux/sparc/syscalls.list: New file.

* stdio-common/Makefile (CFLAGS-vprintf.c): Add -fexceptions.

* intl/loadmsgcat.c: For _LIBC, call not cancelable versions of
open, close, and read.

21 years agoUpdate.
Ulrich Drepper [Wed, 3 Sep 2003 02:58:30 +0000 (02:58 +0000)]
Update.

2003-09-02  Jakub Jelinek  <jakub@redhat.com>

* barrier.c (__pthread_barrierattr_getpshared): Always
return PTHREAD_PROCESS_PRIVATE.
(pthread_barrierattr_setpshared): Return EINVAL if pshared
is neither PTHREAD_PROCESS_PRIVATE nor PTHREAD_PROCESS_SHARED.

21 years agoUpdate.
Ulrich Drepper [Wed, 3 Sep 2003 02:54:21 +0000 (02:54 +0000)]
Update.

21 years agoUpdate.
Ulrich Drepper [Wed, 3 Sep 2003 02:53:32 +0000 (02:53 +0000)]
Update.

* sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Also
defined symbol for entry point to avoid cancellation.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO):
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h (PSEUDO):
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h (PSEUDO):
Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h (PSEUDO):
Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h (PSEUDO):
Likewise.
* sysdeps/unix/sysv/linux/i386/not-cancel.h (__open_nocancel,
__close_nocancel, __read_nocancel, __write_nocancel,
__waitpid_nocancel): Add attribute_hidden.  If not in libc.so,
libpthread.so or librt.so, define to corresponding function
without _nocancel suffix.
* sysdeps/unix/sysv/linux/s390/not-cancel.h: New file.
* sysdeps/unix/sysv/linux/powerpc/not-cancel.h: New file.
* sysdeps/unix/sysv/linux/sparc/not-cancel.h: New file.

21 years agoFor _LIBC, call not cancelable versions of open, close, and read.
Ulrich Drepper [Wed, 3 Sep 2003 00:14:18 +0000 (00:14 +0000)]
For _LIBC, call not cancelable versions of open, close, and read.

21 years agoNew test.
Jakub Jelinek [Tue, 2 Sep 2003 22:02:59 +0000 (22:02 +0000)]
New test.

21 years agoUpdate.
Ulrich Drepper [Tue, 2 Sep 2003 19:59:33 +0000 (19:59 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/dl-sysdep.h
(DL_SYSINFO_IMPLEMENTATION): Add CFI and make sure the code ends
up in .text.

21 years ago(DL_SYSINFO_IMPLEMENTATION): Add CFI and make sure the code ends up in .text.
Ulrich Drepper [Tue, 2 Sep 2003 19:58:48 +0000 (19:58 +0000)]
(DL_SYSINFO_IMPLEMENTATION): Add CFI and make sure the code ends up in .text.

21 years ago* sysdeps/unix/sysv/linux/x86_64/not-cancel.h: Fix a typo.
Jakub Jelinek [Tue, 2 Sep 2003 13:25:14 +0000 (13:25 +0000)]
* sysdeps/unix/sysv/linux/x86_64/not-cancel.h: Fix a typo.

21 years agoFix a typo.
Jakub Jelinek [Tue, 2 Sep 2003 13:25:06 +0000 (13:25 +0000)]
Fix a typo.

21 years ago(parse_tilde): Fix use of extend_alloca.
Ulrich Drepper [Tue, 2 Sep 2003 09:36:53 +0000 (09:36 +0000)]
(parse_tilde): Fix use of extend_alloca.

21 years agoUpdate.
Ulrich Drepper [Tue, 2 Sep 2003 09:33:38 +0000 (09:33 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Also define
*_nocancel name.

* sysdeps/unix/sysv/linux/i386/syscalls.list: Add waitpid.

(CFLAGS-pathconf.c): Likewise.
(CFLAGS-fpathconf.c): Likewise.

21 years agoFix typo.
Ulrich Drepper [Tue, 2 Sep 2003 08:57:18 +0000 (08:57 +0000)]
Fix typo.

* sysdeps/unix/sysv/linux/x86_64/not-cancel.h: New file.

21 years agoUpdate.
Ulrich Drepper [Tue, 2 Sep 2003 08:47:09 +0000 (08:47 +0000)]
Update.

2003-09-02  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/not-cancel.h: New file.
* sysdeps/unix/sysv/linux/x86-64/not-cancel.h: New file.

* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Make sure the code
in subsections has a symbol associated with it.

* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Also
defined symbol for entry point to avoid cancellation.
* sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 2 Sep 2003 07:22:55 +0000 (07:22 +0000)]
Update.

2003-09-02  Ulrich Drepper  <drepper@redhat.com>

* libio/Makefile (CFLAGS-oldtmpfile.c): Add -fexceptions.
* sysdeps/generic/tmpfile.c (tmpfile): Use __unlink instead of remove.
* libio/oldtmpfile.c (__old_tmpfile): Likewise.

* misc/Makefile (CFLAGS-getusershell.c): Add -fexceptions.

* io/Makefile (CFLAGS-statfs.c): Add -fexceptions.
(CFLAGS-fstatfs.c): Likewise.
(CFLAGS-statvfs.c): Likewise.
(CFLAGS-fstatvfs.c): Likewise.

2003-09-01  Ulrich Drepper  <drepper@redhat.com>

* misc/Makefile (CFLAGS-getsysstats.c): Add -fexceptions.
* posix/unistd.h: Remove __THROW from pathconf, fpathconf,
sysconf.
* posix/Makefile (CFLAGS-sysconf.c): Add -fexceptions.

* misc/Makefile (CFLAGS-fstab.c): Add -fexceptions.
* misc/fstab.h: Remove all __THROW.
* misc/Makefile (CFLAGS-mntent.c): Add -fexceptions.
(CFLAGS-mntent_r.c): Likewise.
* misc/mntent.h: Remove most __THROW.

* misc/Makefile (CFLAGS-mkstemp.c): Add -fexceptions.
(CFLAGS-mkstemp64.c): Likewise.

* sysdeps/generic/wordexp.c (parse_comm): Disable cancellation
around call to exec_comm.
* posix/wordexp.h: Remove __THROW from wordexp.
* posix/Makefile (CFLAGS-wordexp.c): Add -fexceptions.

* sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Use
not-cancelable functions.

* libio/Makefile (CFLAGS-oldiofopen.c): Add -fexceptions.
(CFLAGS-iofopen.c): Likewise.
(CFLAGS-iofopen64.c): Likewise.

* stdlib/fmtmsg.c (fmtmsg): Disable cancellation around output
functions.
* stdlib/Makefile (CFLAGS-fmtmsg.c): Add -fexceptions.
* stdlib/fmtmsg.h: Remove __THROW from fmtmsg.

* stdlib/stdlib.h: Remove __THROW from posix_openpt and getpt.
* login/Makefile (CFLAGS-getpt.c): Add -fexceptions.

21 years ago(pthread_barrierattr_setpshared): We don't handle inter-process barriers.
Ulrich Drepper [Tue, 2 Sep 2003 07:22:27 +0000 (07:22 +0000)]
(pthread_barrierattr_setpshared): We don't handle inter-process barriers.

21 years agoFix formatting.
Andreas Jaeger [Tue, 2 Sep 2003 07:19:25 +0000 (07:19 +0000)]
Fix formatting.

21 years ago(CFLAGS-oldtmpfile.c): Add -fexceptions.
Ulrich Drepper [Tue, 2 Sep 2003 07:14:15 +0000 (07:14 +0000)]
(CFLAGS-oldtmpfile.c): Add -fexceptions.

21 years agoUpdate.
Ulrich Drepper [Tue, 2 Sep 2003 00:49:47 +0000 (00:49 +0000)]
Update.

2003-09-01  Thorsten Kukuk  <kukuk@suse.de>

* nis/nss_compat/compat-spwd.c (getspnam_plususer): Return
NSS_STATUS_SUCCESS if entry was found.
(getspent_next_file): Store user in blacklist after entry
was found, use innetgr.

2003-09-01  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: New.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: New.

* sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Fix tls offset
computation for TCB_AT_TP.  Support l_firstbyte_offset != 0 for
DTV_AT_TP, optimize.

21 years agoUpdate.
Ulrich Drepper [Tue, 2 Sep 2003 00:33:28 +0000 (00:33 +0000)]
Update.

2003-09-01  Jakub Jelinek  <jakub@redhat.com>

* Makefile (tests): Add tst-tls1.
(module-names): Add tst-tls1mod{,a,b,c,d,e,f}.
($(objpfx)tst-tls1mod{,a,b,c,d,e,f}.so-no-z-defs): Set to yes.
($(objpfx)tst-tls1): New.
($(objpfx)tst-tls2.out): Likewise.
(tests): Depend on $(objpfx)tst-tls2.out.
* tst-tls1.c: New test.
* tst-tls1.h: New.
* tst-tls1mod.c: New.
* tst-tls1moda.c: New.
* tst-tls1modb.c: New.
* tst-tls1modc.c: New.
* tst-tls1modd.c: New.
* tst-tls1mode.c: New.
* tst-tls1modf.c: New.
* tst-tls2.sh: New test.

21 years ago(tests): Add tst-tls1. (module-names): Add tst-tls1mod{,a,b,c,d,e,f}. ($(objpfx)tst...
Ulrich Drepper [Tue, 2 Sep 2003 00:29:02 +0000 (00:29 +0000)]
(tests): Add tst-tls1. (module-names): Add tst-tls1mod{,a,b,c,d,e,f}. ($(objpfx)tst-tls1mod{,a,b,c,d,e,f}.so-no-z-defs): Set to yes. ($(objpfx)tst-tls1): New. ($(objpfx)tst-tls2.out): Likewise. (tests): Depend on $(objpfx)tst-tls2.out.

21 years ago* sysdeps/unix/sysv/linux/alpha/timer_create.c: New file.
Jakub Jelinek [Mon, 1 Sep 2003 21:38:29 +0000 (21:38 +0000)]
* sysdeps/unix/sysv/linux/alpha/timer_create.c: New file.

* sysdeps/unix/sysv/linux/alpha/timer_delete.c: New file.
* sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: New file.
* sysdeps/unix/sysv/linux/alpha/timer_gettime.c: New file.
* sysdeps/unix/sysv/linux/alpha/timer_settime.c: New file.
* sysdeps/unix/sysv/linux/alpha/Versions: New file.

* sysdeps/unix/sysv/linux/alpha/aio_cancel.c: New file.

21 years ago* sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h: Define
Jakub Jelinek [Mon, 1 Sep 2003 20:06:05 +0000 (20:06 +0000)]
* sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h: Define

_POSIX_THREAD_PRIORITY_SCHEDULING.
* sysdeps/unix/sysv/linux/x86_64/bits/posix_opt.h: Likewise.

21 years agoDefine _POSIX_THREAD_PRIORITY_SCHEDULING.
Jakub Jelinek [Mon, 1 Sep 2003 20:05:59 +0000 (20:05 +0000)]
Define _POSIX_THREAD_PRIORITY_SCHEDULING.

21 years agoUpdate.
Ulrich Drepper [Mon, 1 Sep 2003 04:06:40 +0000 (04:06 +0000)]
Update.

2003-08-31  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sysv/linux/sh/Versions: Add posix_fadvise64 and
posix_fallocate64 at GLIBC_2.3.3.
* sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO_ERRVAL): Define.
(PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 31 Aug 2003 20:53:32 +0000 (20:53 +0000)]
Update.

* libio/libioP.h (_IO_acquire_lock_fct): Define as inline function.