kopensolaris-gnu/glibc.git
16 years ago(_IO_wfile_underflow): Mark beginning of the narrow character buffer.
drepper [Sat, 6 Sep 2003 09:29:37 +0000 (09:29 +0000)]
(_IO_wfile_underflow): Mark beginning of the narrow character buffer.

16 years agoDon't use the first grouping number twice.
drepper [Sat, 6 Sep 2003 07:50:03 +0000 (07:50 +0000)]
Don't use the first grouping number twice.

16 years ago(vfscanf): Fix recognition of characters matching the decimal point
drepper [Sat, 6 Sep 2003 07:15:41 +0000 (07:15 +0000)]
(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.

16 years ago(tests): Add bug-ungetc2.
drepper [Sat, 6 Sep 2003 05:42:09 +0000 (05:42 +0000)]
(tests): Add bug-ungetc2.

16 years agoCheck ungetc and switching to write mode.
drepper [Sat, 6 Sep 2003 05:41:42 +0000 (05:41 +0000)]
Check ungetc and switching to write mode.

16 years ago(_IO_new_file_overflow): Always perform read overflow check.
drepper [Sat, 6 Sep 2003 05:22:28 +0000 (05:22 +0000)]
(_IO_new_file_overflow): Always perform read overflow check.

16 years ago(_IO_new_file_overflow): Handle switching to write mode from read of
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.

16 years ago.
roland [Fri, 5 Sep 2003 21:25:15 +0000 (21:25 +0000)]
.

16 years ago2003-09-04 Roland McGrath <roland@frob.com>
roland [Fri, 5 Sep 2003 21:24:54 +0000 (21:24 +0000)]
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.

16 years ago2003-09-05 Roland McGrath <roland@redhat.com>
roland [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.

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

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

16 years agoUpdate.
aj [Fri, 5 Sep 2003 10:03:19 +0000 (10:03 +0000)]
Update.

16 years ago * sysdeps/i386/bits/string.h (__memrchr): Do addition in assembler
aj [Fri, 5 Sep 2003 10:03:03 +0000 (10:03 +0000)]
* sysdeps/i386/bits/string.h (__memrchr): Do addition in assembler
to make it conforming C.
* sysdeps/i386/i486/bits/string.h (__memrchr): Likewise.

16 years agoUpdate.
aj [Fri, 5 Sep 2003 08:44:59 +0000 (08:44 +0000)]
Update.

16 years agofcntl for x86_64.
aj [Fri, 5 Sep 2003 08:44:35 +0000 (08:44 +0000)]
fcntl for x86_64.

16 years agoUpdate.
aj [Fri, 5 Sep 2003 07:58:18 +0000 (07:58 +0000)]
Update.

16 years ago (__fcntl_nocancel): Change
aj [Fri, 5 Sep 2003 07:50:17 +0000 (07:50 +0000)]
  (__fcntl_nocancel): Change
prototype to use variable argument lists and get the possible one
argument via va_arg.

16 years agoUpdate.
aj [Fri, 5 Sep 2003 06:10:43 +0000 (06:10 +0000)]
Update.

16 years ago (__fcntl_nocancel): Change
aj [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.

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

16 years agoAdd back __THROW to sysconf, pathconf, fpathconf.
drepper [Thu, 4 Sep 2003 16:18:03 +0000 (16:18 +0000)]
Add back __THROW to sysconf, pathconf, fpathconf.

16 years agoUpdate.
drepper [Thu, 4 Sep 2003 14:42:25 +0000 (14:42 +0000)]
Update.

16 years ago(__statfs_filesize_max): Report correct value for vxfs.
drepper [Thu, 4 Sep 2003 14:40:21 +0000 (14:40 +0000)]
(__statfs_filesize_max): Report correct value for vxfs.

16 years agoDfeine VXFS_SUPER_MAGIC.
drepper [Thu, 4 Sep 2003 14:39:49 +0000 (14:39 +0000)]
Dfeine VXFS_SUPER_MAGIC.

16 years agoUpdate.
drepper [Thu, 4 Sep 2003 14:26:36 +0000 (14:26 +0000)]
Update.

16 years agoUse only not-cancelable syscalls to write profiling data.
drepper [Thu, 4 Sep 2003 14:20:46 +0000 (14:20 +0000)]
Use only not-cancelable syscalls to write profiling data.

16 years agoUpdate.
drepper [Thu, 4 Sep 2003 14:08:24 +0000 (14:08 +0000)]
Update.

16 years ago(__fcntl_nocancel): Declare.
drepper [Thu, 4 Sep 2003 14:07:32 +0000 (14:07 +0000)]
(__fcntl_nocancel): Declare.

16 years agoUse not-cancelable syscalls all over the place. It would be allowed
drepper [Thu, 4 Sep 2003 14:06:47 +0000 (14:06 +0000)]
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.

16 years ago(fcntl_not_cancel): Define.
drepper [Thu, 4 Sep 2003 14:05:35 +0000 (14:05 +0000)]
(fcntl_not_cancel): Define.

16 years ago(fcntl_not_cancel): Define.
drepper [Thu, 4 Sep 2003 14:05:12 +0000 (14:05 +0000)]
(fcntl_not_cancel): Define.

16 years agoUpdate.
drepper [Thu, 4 Sep 2003 14:04:02 +0000 (14:04 +0000)]
Update.

16 years ago(fcntl_not_cancel): Define.
drepper [Thu, 4 Sep 2003 14:03:28 +0000 (14:03 +0000)]
(fcntl_not_cancel): Define.

16 years agoLinux generic implementation for fcntl.
drepper [Thu, 4 Sep 2003 14:02:35 +0000 (14:02 +0000)]
Linux generic implementation for fcntl.

16 years ago(__fcntl_nocancel): Define.
drepper [Thu, 4 Sep 2003 13:38:44 +0000 (13:38 +0000)]
(__fcntl_nocancel): Define.

16 years ago(__libc_fcntl): Only enable cancellation if absolutely needed.
drepper [Thu, 4 Sep 2003 13:24:56 +0000 (13:24 +0000)]
(__libc_fcntl): Only enable cancellation if absolutely needed.

16 years ago(gethostid): Remove __THROW. Clarify comment.
drepper [Thu, 4 Sep 2003 13:07:14 +0000 (13:07 +0000)]
(gethostid): Remove __THROW.  Clarify comment.

16 years ago(CFLAGS-gethostid.c): Add -fexceptions.
drepper [Thu, 4 Sep 2003 13:01:08 +0000 (13:01 +0000)]
(CFLAGS-gethostid.c): Add -fexceptions.

16 years ago(gethostid): Use extend_alloca.
drepper [Thu, 4 Sep 2003 13:00:47 +0000 (13:00 +0000)]
(gethostid): Use extend_alloca.

16 years ago(__res_nclose): Use close_not_cancel_no_status instead of __close.
drepper [Thu, 4 Sep 2003 12:48:52 +0000 (12:48 +0000)]
(__res_nclose): Use close_not_cancel_no_status instead of __close.

16 years agoUpdate.
drepper [Thu, 4 Sep 2003 12:31:47 +0000 (12:31 +0000)]
Update.

16 years ago(FUNCTION_NAME): Add a few casts. Remove unnecessary errno handling.
drepper [Thu, 4 Sep 2003 12:30:20 +0000 (12:30 +0000)]
(FUNCTION_NAME): Add a few casts.  Remove unnecessary errno handling.

16 years ago(INTERNAL): Use better variable name. Initialize it in all cases. Change
drepper [Thu, 4 Sep 2003 12:27:55 +0000 (12:27 +0000)]
(INTERNAL): Use better variable name.  Initialize it in all cases.  Change
it to be a bit more like the code we had before.

16 years agoUpdate.
drepper [Thu, 4 Sep 2003 08:53:13 +0000 (08:53 +0000)]
Update.

16 years ago(_IO_file_read, _IO_new_file_write): Add __builtin_expect.
drepper [Thu, 4 Sep 2003 08:52:29 +0000 (08:52 +0000)]
(_IO_file_read, _IO_new_file_write): Add __builtin_expect.
(_IO_file_open): Likewise.  Use close_not_cancel.

16 years ago(_IO_new_file_fopen): Need to look at one more character in the mode string.
drepper [Thu, 4 Sep 2003 08:33:34 +0000 (08:33 +0000)]
(_IO_new_file_fopen): Need to look at one more character in the mode string.

16 years agoUpdate.
drepper [Thu, 4 Sep 2003 08:27:37 +0000 (08:27 +0000)]
Update.

16 years agoRemove CFLAGS-mntent_r.c, CFLAGS-mntent.c, and CFLAGS-fstab.c definition.
drepper [Thu, 4 Sep 2003 08:26:47 +0000 (08:26 +0000)]
Remove CFLAGS-mntent_r.c, CFLAGS-mntent.c, and CFLAGS-fstab.c definition.

16 years agoUndo last change.
drepper [Thu, 4 Sep 2003 08:25:44 +0000 (08:25 +0000)]
Undo last change.

16 years agoUse fopen with 'c' mode flag.
drepper [Thu, 4 Sep 2003 08:25:11 +0000 (08:25 +0000)]
Use fopen with 'c' mode flag.

16 years ago[_LIBC]: Remove close macro.
drepper [Thu, 4 Sep 2003 08:20:06 +0000 (08:20 +0000)]
[_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.

16 years agoDefine _IO_FLAGS2_NOTCANCEL.
drepper [Thu, 4 Sep 2003 08:15:45 +0000 (08:15 +0000)]
Define _IO_FLAGS2_NOTCANCEL.

16 years agoUpdate.
drepper [Thu, 4 Sep 2003 05:57:06 +0000 (05:57 +0000)]
Update.

16 years agoUpdate.
drepper [Thu, 4 Sep 2003 05:43:59 +0000 (05:43 +0000)]
Update.

16 years agoInclude jmpbuf-unwind.h.
drepper [Thu, 4 Sep 2003 05:43:37 +0000 (05:43 +0000)]
Include jmpbuf-unwind.h.
(unwind_stop): Use _JMPBUF_CFA_UNWINDS macro.

16 years agoSupport to access jmpbuf for unwind. Linux/NPTL/ia64.
drepper [Thu, 4 Sep 2003 05:43:26 +0000 (05:43 +0000)]
Support to access jmpbuf for unwind.  Linux/NPTL/ia64.

16 years agoForced unwind support for Linux/NPTL/ia64.
drepper [Thu, 4 Sep 2003 05:42:57 +0000 (05:42 +0000)]
Forced unwind support for Linux/NPTL/ia64.

16 years agoSupport for accessing jmpbuf to unwind.
drepper [Thu, 4 Sep 2003 05:42:24 +0000 (05:42 +0000)]
Support for accessing jmpbuf to unwind.

16 years agoSupport for forced unwind.
drepper [Thu, 4 Sep 2003 05:41:57 +0000 (05:41 +0000)]
Support for forced unwind.

16 years agoMoved to sysdeps/pthread.
drepper [Thu, 4 Sep 2003 05:41:39 +0000 (05:41 +0000)]
Moved to sysdeps/pthread.

16 years ago(_Unwind_GetBSP): Add prototype.
drepper [Thu, 4 Sep 2003 05:40:43 +0000 (05:40 +0000)]
(_Unwind_GetBSP): Add prototype.

16 years agoUpdate.
drepper [Thu, 4 Sep 2003 04:43:56 +0000 (04:43 +0000)]
Update.

16 years ago(INTERNAL): Explicitly set errno and avoid returning ERANGE if this
drepper [Thu, 4 Sep 2003 04:43:12 +0000 (04:43 +0000)]
(INTERNAL): Explicitly set errno and avoid returning ERANGE if this
wasn't intended.

16 years agoUpdate.
drepper [Wed, 3 Sep 2003 17:45:50 +0000 (17:45 +0000)]
Update.

16 years ago(open, close, read, mmap, munmap): Define as function-like macros.
drepper [Wed, 3 Sep 2003 17:44:46 +0000 (17:44 +0000)]
(open, close, read, mmap, munmap): Define as function-like macros.

16 years agoUpdate.
drepper [Wed, 3 Sep 2003 09:26:15 +0000 (09:26 +0000)]
Update.

16 years ago(CFLAGS-getgrent_r.c): Add -fexceptions.
drepper [Wed, 3 Sep 2003 08:57:10 +0000 (08:57 +0000)]
(CFLAGS-getgrent_r.c): Add -fexceptions.
(CFLAGS-getgrent.c): Likewise.

16 years ago(CFLAGS-getpwent_r.c): Add -fexceptions.
drepper [Wed, 3 Sep 2003 08:56:11 +0000 (08:56 +0000)]
(CFLAGS-getpwent_r.c): Add -fexceptions.
(CFLAGS-getpwent.c): Likewise.

16 years ago(CFLAGS-getspent_r.c): Add -fexceptions.
drepper [Wed, 3 Sep 2003 08:55:07 +0000 (08:55 +0000)]
(CFLAGS-getspent_r.c): Add -fexceptions.
(CFLAGS-getspent.c): Likewise.

16 years agoAdd -fexceptions to CFLAGS for the various getXXent and getXXbyYY funtions.
drepper [Wed, 3 Sep 2003 08:52:38 +0000 (08:52 +0000)]
Add -fexceptions to CFLAGS for the various getXXent and getXXbyYY funtions.

16 years agoUse not-cancelable variants of open, close, and read.
drepper [Wed, 3 Sep 2003 07:54:22 +0000 (07:54 +0000)]
Use not-cancelable variants of open, close, and read.

16 years agoSomehow the text was added twice.
drepper [Wed, 3 Sep 2003 05:06:52 +0000 (05:06 +0000)]
Somehow the text was added twice.

16 years ago(Temporary Files): Explain where mktemp et.al are declared.
drepper [Wed, 3 Sep 2003 04:16:58 +0000 (04:16 +0000)]
(Temporary Files): Explain where mktemp et.al are declared.

16 years agoUpdate.
drepper [Wed, 3 Sep 2003 03:22:23 +0000 (03:22 +0000)]
Update.

16 years agoRemove unused __syscall_* prototypes.
drepper [Wed, 3 Sep 2003 03:21:26 +0000 (03:21 +0000)]
Remove unused __syscall_* prototypes.

16 years agoNot needed anymore.
drepper [Wed, 3 Sep 2003 03:20:39 +0000 (03:20 +0000)]
Not needed anymore.

16 years ago(__syscall_*): Remove unused __syscall_ stubs.
drepper [Wed, 3 Sep 2003 03:18:05 +0000 (03:18 +0000)]
(__syscall_*): Remove unused __syscall_ stubs.

16 years ago(sysdep_routines): Remove rt_*.
drepper [Wed, 3 Sep 2003 03:17:45 +0000 (03:17 +0000)]
(sysdep_routines): Remove rt_*.

16 years ago(__syscall_*): Remove unused __syscall_ stubs.
drepper [Wed, 3 Sep 2003 03:17:22 +0000 (03:17 +0000)]
(__syscall_*): Remove unused __syscall_ stubs.

16 years ago(sysdep_routines): Remove rt_*.
drepper [Wed, 3 Sep 2003 03:16:54 +0000 (03:16 +0000)]
(sysdep_routines): Remove rt_*.

16 years ago(__syscall_*): Remove unused __syscall_ stubs.
drepper [Wed, 3 Sep 2003 03:16:40 +0000 (03:16 +0000)]
(__syscall_*): Remove unused __syscall_ stubs.

16 years ago(__syscall_recvfrom, __syscall_sendto): Remove unused aliases.
drepper [Wed, 3 Sep 2003 03:16:25 +0000 (03:16 +0000)]
(__syscall_recvfrom, __syscall_sendto): Remove unused aliases.

16 years agoNot needed anymore.
drepper [Wed, 3 Sep 2003 03:15:51 +0000 (03:15 +0000)]
Not needed anymore.

16 years ago(sysdep_routines): Remove rt_*.
drepper [Wed, 3 Sep 2003 03:15:36 +0000 (03:15 +0000)]
(sysdep_routines): Remove rt_*.

16 years ago(__syscall_*): Remove unused __syscall_ stubs.
drepper [Wed, 3 Sep 2003 03:15:23 +0000 (03:15 +0000)]
(__syscall_*): Remove unused __syscall_ stubs.

16 years ago(__syscall_rt_sigaction): New prototype.
drepper [Wed, 3 Sep 2003 03:15:08 +0000 (03:15 +0000)]
(__syscall_rt_sigaction): New prototype.

16 years ago(sysdep_routines): Remove rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
drepper [Wed, 3 Sep 2003 03:14:43 +0000 (03:14 +0000)]
(sysdep_routines): Remove rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
rt_sigqueueinfo and rt_sigpending.

16 years agoUpdate.
drepper [Wed, 3 Sep 2003 03:13:32 +0000 (03:13 +0000)]
Update.

16 years agoInclude limits.h and sys/param.h.
drepper [Wed, 3 Sep 2003 03:12:29 +0000 (03:12 +0000)]
Include limits.h and sys/param.h.
(do_test): Set size to MAX (4 * getpagesize (), PTHREAD_STACK_MIN).

16 years agoTest for minimum stack size.
drepper [Wed, 3 Sep 2003 03:12:17 +0000 (03:12 +0000)]
Test for minimum stack size.

16 years ago(tests): Add tst-stack2.
drepper [Wed, 3 Sep 2003 03:12:01 +0000 (03:12 +0000)]
(tests): Add tst-stack2.

16 years ago(__old_pthread_attr_setstacksize): New function.
drepper [Wed, 3 Sep 2003 03:11:46 +0000 (03:11 +0000)]
(__old_pthread_attr_setstacksize): New function.
(pthread_attr_setstacksize): If PTHREAD_STACK_MIN != 16384, export
as @@GLIBC_2.3.2 and also export compatibility @GLIBC_2.1.

16 years ago(__old_pthread_attr_setstack): New function.
drepper [Wed, 3 Sep 2003 03:11:30 +0000 (03:11 +0000)]
(__old_pthread_attr_setstack): New function.
(pthread_attr_setstack): If PTHREAD_STACK_MIN != 16384, export
as @@GLIBC_2.3.2 and also export compatibility @GLIBC_2.2.

16 years agoPOSIX limits for Linux/SPARC.
drepper [Wed, 3 Sep 2003 03:11:10 +0000 (03:11 +0000)]
POSIX limits for Linux/SPARC.

16 years agoAdditional versions for Linux/SPARC.
drepper [Wed, 3 Sep 2003 03:10:44 +0000 (03:10 +0000)]
Additional versions for Linux/SPARC.

16 years agoAdditional versions for Linux/Alpha.
drepper [Wed, 3 Sep 2003 03:10:25 +0000 (03:10 +0000)]
Additional versions for Linux/Alpha.

16 years agoPOSIX limits for Linux/Alpha.
drepper [Wed, 3 Sep 2003 03:10:01 +0000 (03:10 +0000)]
POSIX limits for Linux/Alpha.

16 years agoPOSIX limits for Linux/ia64.
drepper [Wed, 3 Sep 2003 03:09:42 +0000 (03:09 +0000)]
POSIX limits for Linux/ia64.

16 years ago(libpthread): Export pthread_attr_setstack and pthread_attr_setstacksize
drepper [Wed, 3 Sep 2003 03:09:20 +0000 (03:09 +0000)]
(libpthread): Export pthread_attr_setstack and pthread_attr_setstacksize
@@GLIBC_2.3.3.