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

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

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

* sysdeps/unix/sysv/linux/ia64/syscalls.list: Remove __syscall_
functions.

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

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

* libio/libio.h (_IO_acquire_lock_fct): Define as inline function.
Code by Richard Henderson.

21 years agoUpdate.
Ulrich Drepper [Sun, 31 Aug 2003 18:55:52 +0000 (18:55 +0000)]
Update.

2003-08-31  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/arm/Versions: Add posix_fadvise64 and
posix_fallocate64 at GLIBC_2.3.3.

21 years agoUpdate.
Ulrich Drepper [Sun, 31 Aug 2003 18:10:47 +0000 (18:10 +0000)]
Update.

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

* sysdeps/x86_64/bsd-_setjmp.S: Use HIDDEN_JUMPTARGET.
* include/setjmp.h: Add libc_hidden_proto for __sigsetjmp.

(CFLAGS-clnt_perr.c): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 31 Aug 2003 17:24:25 +0000 (17:24 +0000)]
Update.

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

* sysdeps/generic/sysdep.h (cfi_window_save, CFI_WINDOW_SAVE): Define.
* sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Allow file to be
included multiple times.
* sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Pass
ptid, tls, ctid arguments to the kernel.
* sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c (__getpagesize):
Use INTERNAL_SYSCALL instead of __syscall_getpagesize.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
(__libc_sigaction): Use INLINE_SYSCALL instead of
__syscall_rt_sigaction.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
(__syscall_getgroups, __syscall_getpagesize, __syscall__llseek,
__syscall_setfsgid, __syscall_setfsuid, __syscall_setgid,
__syscall_setgroups, __syscall_setregid, __syscall_setreuid,
__syscall_ipc, __syscall_setuid, __syscall_rt_sigaction,
__syscall_rt_sigpending, __syscall_rt_sigprocmask,
__syscall_rt_sigqueueinfo, __syscall_rt_sigsuspend,
__syscall_rt_sigtimedwait): Remove unneeded syscall stubs.
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (sysdep_routines):
Remove rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
rt_sigqueueinfo, rt_sigaction and rt_sigpending.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
(__CLONE_SYSCALL_STRING): Define.
* sysdeps/unix/sysv/linux/sparc/sparc32/socket.S (__socket): Add
CFI directives.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
(__CLONE_SYSCALL_STRING): Define.
  * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_CLONE_SYSCALL):
Define.
* sysdeps/unix/sysv/linux/sparc/system.c: New file.

* sunrpc/rpc/clnt.h: Remove a few __THROW.
* sunrpc/Makefile (CFLAGS-auth_unix.c): Add -fexceptions.
(CFLAGS-key_call.c): Likewise.
(CFLAGS-pmap_rmt.c): Likewise.
* sunrpc/rpc/auth.h: Remove serveral __THROW.

(CFLAGS-rcmd.c): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sat, 30 Aug 2003 18:51:25 +0000 (18:51 +0000)]
Update.

* inet/Makefile (CFLAGS-gethstbyad_r.c): Add -fexceptions.
(CFLAGS-gethstbynm_r.c): Likewise.
(CFLAGS-gethstbynm2_r.c): Likewise.
* resolv/Makefile (CFLAGS-res_hconf.c): Add -fexceptions.

21 years agoUpdate.
Ulrich Drepper [Sat, 30 Aug 2003 18:30:23 +0000 (18:30 +0000)]
Update.

* argp/Makefile (CFLAGS-argp-help.c): Add -fexceptions.
(CFLAGS-argp-fmtstream.c): Likewise.
* argp/argp.h: Remove a number of __THROW.

21 years agoUpdate.
Ulrich Drepper [Sat, 30 Aug 2003 09:32:23 +0000 (09:32 +0000)]
Update.

* misc/sys/syslog.h (vsyslog): Remove __THROW.

* posix/unistd.h: Remove __THROW from getpass prototype.

21 years agoUpdate.
Ulrich Drepper [Sat, 30 Aug 2003 09:10:12 +0000 (09:10 +0000)]
Update.

* misc/Makefile (CFLAGS-getpass.c): Add -fexceptions.
* misc/getpass.c (getpass): Add cleanup handler to ensure the
stream is closed even if the thread is canceled.
(call_fclose): New function.
* posix/unistd.h: Remove __THROW from getpass prorotype.

* posix/Makefile (CFLAGS-getopt.c): Add -fexceptions.

* signal/signal.h (psignal): Remove __THROW.
* stdio-common/Makefile (CFLAGS-psignal.c): Add -fexceptions.

21 years agoUpdate.
Ulrich Drepper [Sat, 30 Aug 2003 08:33:15 +0000 (08:33 +0000)]
Update.

* misc/Makefile (CFLAGS-error.c): Define.

21 years agoUpdate.
Ulrich Drepper [Sat, 30 Aug 2003 08:31:39 +0000 (08:31 +0000)]
Update.

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

* misc/error.c (error): Disable cancellation handling around the
actual output.  The message should in any case be printed.
(error_at_line): Likewise.

* misc/error.h: Protect parameter names with leading __.

21 years agoUpdate.
Ulrich Drepper [Sat, 30 Aug 2003 00:24:07 +0000 (00:24 +0000)]
Update.

2003-08-28  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/unix/sysv/linux/hppa/syscalls.list: Add semtimedop.

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

* libio/iofgetpos64.c (_IO_new_fgetpos64): Move lock release to the
end.

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

* libio/stdio.h: Remove a few more __THROW.

* libio/iofputs.c (_IO_fputs): Likewise.
* libio/iofputws.c (fputws): Likewise.

21 years agoUpdate.
Ulrich Drepper [Fri, 29 Aug 2003 19:58:49 +0000 (19:58 +0000)]
Update.

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

* libio/Makefile: Compile fputc.c, fputwc.c, freopen64.c, freopen.c,
fseek.c, fseeko64.c, fseeko.c, ftello64.c, ftello.c, fwide.c, getc.c,
getchar.c, getwc.c, getwchar.c, iofclose.c, iofflush.c, iofgetpos64.c,
iofgetpos.c, iofgets.c, iofgetws.c, iofputs.c, iofputws.c, iofread.c,
iofsetpos64.c, iofsetpos.c, ioftell.c, iofwrite.c, iogetdelim.c,
iogetline.c, iogets.c, iogetwline.c, ioputs.c, ioseekoff.c,
ioseekpos.c, iosetbuffer.c, iosetvbuf.c, ioungetc.c, ioungetwc.c,
oldfileops.c, oldiofclose.c, oldiofgetpos64.c, oldiofgetpos.c,
oldiofsetpos64.c, oldiofsetpos.c, peekc.c, putc.c, putchar.c, putwc.c,
putwchar.c and rewind.c with exceptions.
* sysdeps/generic/bits/stdio-lock.h (_IO_acquire_lock,
_IO_release_lock): Define.
* libio/fileops.c (_IO_new_file_underflow): Use it.
* libio/fputc.c (fputc): Likewise.
* libio/fputwc.c (fputwc): Likewise.
* libio/freopen64.c (freopen64):
* libio/freopen.c (freopen): Likewise.
* libio/fseek.c (fseek): Likewise.
* libio/fseeko64.c (fseeko64): Likewise.
* libio/fseeko.c (fseeko): Likewise.
* libio/ftello64.c (ftello64): Likewise.
* libio/ftello.c (ftello): Likewise.
* libio/fwide.c (fwide): Likewise.
* libio/getc.c (_IO_getc): Likewise.
* libio/getchar.c (getchar): Likewise.
* libio/getwc.c (_IO_getwc): Likewise.
* libio/getwchar.c (getwchar): Likewise.
* libio/iofclose.c (_IO_new_fclose):
* libio/iofflush.c (_IO_fflush): Likewise.
* libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
* libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
* libio/iofgets.c (_IO_fgets): Likewise.
* libio/iofgetws.c (fgetws): Likewise.
* libio/iofputs.c (_IO_fputs):
* libio/iofputws.c (_IO_fputs): Likewise.
* libio/iofread.c (_IO_fread): Likewise.
* libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
* libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
* libio/ioftell.c (_IO_ftell): Likewise.
* libio/iofwrite.c (_IO_fwrite): Likewise.
* libio/iogetdelim.c (_IO_getdelim): Likewise.
* libio/iogets.c (_IO_gets): Likewise.
* libio/ioputs.c (_IO_puts): Likewise.
* libio/ioseekoff.c (_IO_seekoff): Likewise.
* libio/ioseekpos.c (_IO_seekpos): Likewise.
* libio/iosetbuffer.c (_IO_setbuffer): Likewise.
* libio/iosetvbuf.c (_IO_setvbuf): Likewise.
* libio/ioungetc.c (_IO_ungetc): Likewise.
* libio/ioungetwc.c (ungetwc): Likewise.
* libio/oldiofclose.c (_IO_old_fclose): Likewise.
* libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
* libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
* libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
* libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
* libio/peekc.c (_IO_peekc_locked): Likewise.
* libio/putc.c (_IO_putc): Likewise.
* libio/putchar.c (putchar): Likewise.
* libio/putwc.c (putwc): Likewise.
* libio/putwchar.c (putwchar): Likewise.
* libio/rewind.c (rewind): Likewise.
* libio/wfileops.c (_IO_wfile_underflow): Likewise.

21 years agoUpdate.
Ulrich Drepper [Fri, 29 Aug 2003 19:53:44 +0000 (19:53 +0000)]
Update.

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

* sysdeps/pthread/bits/stdio-lock.h (_IO_acquire_lock,
_IO_release_lock): Define.

21 years agoUpdate.
Ulrich Drepper [Fri, 29 Aug 2003 18:46:18 +0000 (18:46 +0000)]
Update.

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

* signal/signal.h: sighold, sigrelse, sigignore, sigset were
available in XPG4.2.

2003-08-27  Phil Knirsch  <pknirsch@redhat.com>

21 years agosighold, sigrelse, sigignore, sigset were available in XPG4.2.
Ulrich Drepper [Fri, 29 Aug 2003 18:45:35 +0000 (18:45 +0000)]
sighold, sigrelse, sigignore, sigset were available in XPG4.2.

21 years ago* tst-cancel.c (tf_sigwait, tf_sigwaitinfo, tf_sigtimedwait): Add
Jakub Jelinek [Fri, 29 Aug 2003 15:02:55 +0000 (15:02 +0000)]
* tst-cancel.c (tf_sigwait, tf_sigwaitinfo, tf_sigtimedwait): Add

sigemptyset before sigaddset.  Reported by jreiser@BitWagon.com.

21 years ago(tf_sigwait, tf_sigwaitinfo, tf_sigtimedwait): Add sigemptyset before sigaddset....
Jakub Jelinek [Fri, 29 Aug 2003 15:02:43 +0000 (15:02 +0000)]
(tf_sigwait, tf_sigwaitinfo, tf_sigtimedwait): Add sigemptyset before sigaddset. Reported by jreiser@BitWagon.com.

21 years agoUpdate.
Ulrich Drepper [Fri, 29 Aug 2003 07:46:40 +0000 (07:46 +0000)]
Update.

2003-08-27  Phil Knirsch <pknirsch@redhat.com>
    Jakub Jelinek  <jakub@redhat.com>

* sunrpc/svc.c (svc_getreqset): Fix fds_bits reading on 64-bit
big endian arches.  Don't read beyond end of fds_bits array.

21 years agoUpdate.
Ulrich Drepper [Fri, 29 Aug 2003 07:16:04 +0000 (07:16 +0000)]
Update.

2003-04-27  Bruno Haible  <bruno@clisp.org>

* manual/message.texi (Advanced gettext functions): Add information
about Korean, Portuguese, Latvian. Gaeilge is also known as Irish.
Add section about Lithuanian, reported by Ricardas Cepas
<rch@richard.eu.org>.
Add information about Croatian.
Ukrainian is like Russian, reported by Andy Rysin <arysin@yahoo.com>.
Remove remark about continuation lines that is not true for PO files.
Fix formula for Slovenian, reported by Roman Maurer
<roman.maurer@amis.net>.

21 years agoUpdate.
Ulrich Drepper [Thu, 28 Aug 2003 00:14:28 +0000 (00:14 +0000)]
Update.

* math/math_private.h: Declare __copysignf.
* sysdeps/ieee754/flt-32/s_scalbnf.c: Use __copysignf instead of
copysignf.

21 years agoUpdate.
Ulrich Drepper [Thu, 28 Aug 2003 00:04:58 +0000 (00:04 +0000)]
Update.

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

* sysdeps/x86_64/fpu/bits/mathinline.h: Define __signbitf,
__signbit, and __signbitl inline functions.

* sysdeps/unix/sysv/linux/x86_64/__start_context.S: Use
HIDDEN_JUMPTARGET instead of JUMPTARGET to call exit().

* sysdeps/x86_64/bsd-_setjmp.S [PIC]: Jump to __GI___sigsetjmp.
* sysdeps/x86_64/setjmp.S: Add libc_hidden_def for __sigsetjmp.

21 years agoUpdate.
Ulrich Drepper [Wed, 27 Aug 2003 20:57:30 +0000 (20:57 +0000)]
Update.

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

* inet/inet_mkadr.c (inet_makeaddr): Optimize.

21 years agoUpdate.
Ulrich Drepper [Wed, 27 Aug 2003 20:23:17 +0000 (20:23 +0000)]
Update.

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

* include/stdio.h: Add declarations for __builtin_fwrite and
__builtin_fwrite_unlocked.

21 years agoUpdate.
Ulrich Drepper [Wed, 27 Aug 2003 19:20:24 +0000 (19:20 +0000)]
Update.

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

* sysdeps/pthread/pthread.h (pthread_exit): Remove __THROW.
(__pthread_cleanup_class): Add missing return types of member
functions.

21 years agoUpdate.
Ulrich Drepper [Wed, 27 Aug 2003 16:54:04 +0000 (16:54 +0000)]
Update.

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

* sysdeps/unix/opendir.c (__opendir): Make sure even struct dirent64
fits into allocation.  Add padding on 32-bit arches so that
dirp->data is enough aligned for struct dirent64.
Avoid clearing of the buffer, just clear DIR structure.

21 years agoUpdate.
Ulrich Drepper [Wed, 27 Aug 2003 05:54:50 +0000 (05:54 +0000)]
Update.

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

* nss/nsswitch.c: Add libc_hidden_def for __nss_lookup_function.
* nss/nsswitch.h: Add libc_hidden_proto for __nss_lookup_function.

21 years agoUpdate.
Ulrich Drepper [Wed, 27 Aug 2003 04:36:23 +0000 (04:36 +0000)]
Update.

2003-08-26  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc64/elf/Makefile: New file.

21 years agoUpdate.
Ulrich Drepper [Wed, 27 Aug 2003 04:03:12 +0000 (04:03 +0000)]
Update.

* login/programs/utmpdump.c (print_entry): Cast tv_usec to long
to match format string.
* sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c (union semun): Add
__old_buf.
(__new_semctl): Shut up warning.
* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
(_dl_string_hwcap): Add __attribute__ ((always_inline)).

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

21 years agoUpdate.
Ulrich Drepper [Tue, 26 Aug 2003 20:29:48 +0000 (20:29 +0000)]
Update.

2003-08-26  Steven Munroe <sjmunroe@us.ibm.com>

* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
(lll_mutex_unlock_force): Add memory barrier between store and futex
syscall.

21 years agoUpdate.
Ulrich Drepper [Tue, 26 Aug 2003 08:08:21 +0000 (08:08 +0000)]
Update.

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

* elf/ldconfig.c (search_dir): When checking for GNU-style .so
link file use the real file name, not the resolved name we got by
following the symlinks.

21 years agoUpdate.
Ulrich Drepper [Mon, 25 Aug 2003 22:02:03 +0000 (22:02 +0000)]
Update.

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

* libio/oldfileops.c (_IO_old_file_init): Initialize _mode field
if the object size is large enough.

21 years agoUpdate.
Ulrich Drepper [Mon, 25 Aug 2003 21:50:13 +0000 (21:50 +0000)]
Update.

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

* elf/ldconfig.c (search_dir): Treat symlink as regular file
if it won't point to itself unless it is .so symlink for the linker.

21 years agoUpdate.
Ulrich Drepper [Mon, 25 Aug 2003 21:45:12 +0000 (21:45 +0000)]
Update.

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

* libio/libio.h (_IO_fwide): In the mode==0 optimization, don't
use _mode if _IO_fwide_maybe_incompatible.
* libio/iofwide.c (_IO_fwide): Move the test for mode == 0 after
the compatibility test.

21 years agoUpdate.
Ulrich Drepper [Mon, 25 Aug 2003 19:24:09 +0000 (19:24 +0000)]
Update.

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

* elf/cache.c (save_cache): Don't write beyond end of file_entries
buffer.
Duplicate last old cache entry if the count would be odd.

21 years ago(_IO_seekoff_unlocked): Add glibc 2.0 compatibility in wide stream test.
Ulrich Drepper [Mon, 25 Aug 2003 19:20:28 +0000 (19:20 +0000)]
(_IO_seekoff_unlocked): Add glibc 2.0 compatibility in wide stream test.

21 years ago* sysdeps/unix/sysv/linux/posix_fadvise64.c: Cast arguments of
Andreas Jaeger [Mon, 25 Aug 2003 18:51:40 +0000 (18:51 +0000)]
* sysdeps/unix/sysv/linux/posix_fadvise64.c: Cast arguments of

__LONG_LONG_PAIR to long.
2003-08-25  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/posix_fadvise64.c: Cast arguments of
__LONG_LONG_PAIR to long.

21 years ago(save_cache): Don't write beyond end of file_entries buffer. Duplicate last old cache...
Ulrich Drepper [Mon, 25 Aug 2003 18:37:54 +0000 (18:37 +0000)]
(save_cache): Don't write beyond end of file_entries buffer. Duplicate last old cache entry if the count would be odd.

21 years agoUpdate.
Ulrich Drepper [Mon, 25 Aug 2003 18:31:28 +0000 (18:31 +0000)]
Update.

2003-08-25  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_ERRVAL): Define.
(PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise.

21 years agoUpdate.
Ulrich Drepper [Mon, 25 Aug 2003 17:30:35 +0000 (17:30 +0000)]
Update.

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

* tst-cancel4.c (do_test): Also unlink tempfname and remove
tempmsg in first loop.

21 years agoUpdate.
Ulrich Drepper [Mon, 25 Aug 2003 09:08:28 +0000 (09:08 +0000)]
Update.

2003-08-18  Alfred M. Szmidt  <ams@kemisten.nu>

* sysdeps/generic/bits/libc-lock.h (__libc_cleanup_pop): Redefine
and use __libc_cleanup_region_end instead.

21 years agoUpdate.
Ulrich Drepper [Mon, 25 Aug 2003 09:06:06 +0000 (09:06 +0000)]
Update.

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

* elf/ldconfig.c (search_dir): Revert patch of 2003-7-21.

21 years agoUpdate.
Ulrich Drepper [Fri, 22 Aug 2003 18:11:32 +0000 (18:11 +0000)]
Update.

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

* io/fcntl.h (posix_fallocate): Change type of third parameter to
off_t.
(posix_fallocate64): Change type of third parameter to off64_t.
* sysdeps/generic/posix_fallocate.c: Adjust for type change.
* sysdeps/posix/posix_fallocate.c: Likewise.
* sysdeps/generic/posix_fallocate64.c: Likewise.
* sysdeps/posix/posix_fallocate64.c: Likewise.  Add compatibility
code for 32-bit platforms.
* sysdeps/unix/sysv/linux/i386/Versions: Add new version for
posix_fallocate64.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.

21 years agoUpdate.
Ulrich Drepper [Wed, 20 Aug 2003 00:08:24 +0000 (00:08 +0000)]
Update.

* string/bits/string2.h (__STRING2_COPY_TYPE): Add attribute to
the type, not to name.

21 years agoUpdate.
Ulrich Drepper [Tue, 19 Aug 2003 20:24:45 +0000 (20:24 +0000)]
Update.

* stdio-common/test-vfprintf.c (main): Don't write temporary file
into source directory.

21 years agoUpdate.
Ulrich Drepper [Tue, 19 Aug 2003 09:30:22 +0000 (09:30 +0000)]
Update.

* malloc/malloc.c (_int_free): Add cheap test for some invalid
block sizes.

21 years agoUpdate.
Ulrich Drepper [Tue, 19 Aug 2003 08:31:06 +0000 (08:31 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Fix typo in
syscall name.

21 years agoUpdate.
Ulrich Drepper [Tue, 19 Aug 2003 06:15:56 +0000 (06:15 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/shm_open.c (shm_open): Fold EISDIR error
into EINVAL.

21 years agoDefine _POSIX_THREAD_PRIORITY_SCHEDULING.
Ulrich Drepper [Tue, 19 Aug 2003 05:26:54 +0000 (05:26 +0000)]
Define _POSIX_THREAD_PRIORITY_SCHEDULING.

21 years ago* sysdeps/ia64/dl-machine.h (elf_machine_rela): Use _dl_reloc_bad_type.
Roland McGrath [Mon, 18 Aug 2003 22:05:06 +0000 (22:05 +0000)]
* sysdeps/ia64/dl-machine.h (elf_machine_rela): Use _dl_reloc_bad_type.

(elf_machine_lazy_rel): Likewise.

21 years ago2003-08-18 H.J. Lu <hongjiu.lu@intel.com>
Roland McGrath [Mon, 18 Aug 2003 22:04:56 +0000 (22:04 +0000)]
2003-08-18  H.J. Lu  <hongjiu.lu@intel.com>

* sysdeps/ia64/dl-machine.h (elf_machine_rela): Use _dl_reloc_bad_type.
(elf_machine_lazy_rel): Likewise.