kopensolaris-gnu/glibc.git
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.

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

16 years agoInclude limits.h and sys/param.h.
drepper [Wed, 3 Sep 2003 03:05:03 +0000 (03:05 +0000)]
Include limits.h and sys/param.h.
(main): Set size to MAX (70 * 1024, PTHREAD_STACK_MIN).

16 years ago(__old_pthread_attr_setstacksize, __old_pthread_attr_setstack): New functions.
drepper [Wed, 3 Sep 2003 03:04:52 +0000 (03:04 +0000)]
(__old_pthread_attr_setstacksize, __old_pthread_attr_setstack): New functions.
(pthread_attr_setstacksize): If PTHREAD_STACK_MIN != 16384, export
as @@GLIBC_2.3.2 and also export compatibility @GLIBC_2.1.
(pthread_attr_setstack): If PTHREAD_STACK_MIN != 16384, export
as @@GLIBC_2.3.2 and also export compatibility @GLIBC_2.2.

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

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

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

16 years agoAdditional Versions for Linux/ia64.
drepper [Wed, 3 Sep 2003 03:02:33 +0000 (03:02 +0000)]
Additional Versions for Linux/ia64.

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

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

16 years agoUpdate.
drepper [Wed, 3 Sep 2003 02:58:30 +0000 (02:58 +0000)]
Update.

16 years ago(__pthread_barrierattr_getpshared): Always return PTHREAD_PROCESS_PRIVATE.
drepper [Wed, 3 Sep 2003 02:57:58 +0000 (02:57 +0000)]
(__pthread_barrierattr_getpshared): Always return PTHREAD_PROCESS_PRIVATE.
(pthread_barrierattr_setpshared): Return EINVAL if pshared
is neither PTHREAD_PROCESS_PRIVATE nor PTHREAD_PROCESS_SHARED.

16 years agoUpdate.
drepper [Wed, 3 Sep 2003 02:57:48 +0000 (02:57 +0000)]
Update.

16 years agoInclude errno.h.
drepper [Wed, 3 Sep 2003 02:57:24 +0000 (02:57 +0000)]
Include errno.h.
(pthread_condattr_setpshared): Return EINVAL if pshared
is neither PTHREAD_PROCESS_PRIVATE nor PTHREAD_PROCESS_SHARED.

16 years agoAdditional syscalls for Linux/SPARC.
drepper [Wed, 3 Sep 2003 02:55:44 +0000 (02:55 +0000)]
Additional syscalls for Linux/SPARC.

16 years agoAdditional syscalls for Linux/PPC.
drepper [Wed, 3 Sep 2003 02:55:30 +0000 (02:55 +0000)]
Additional syscalls for Linux/PPC.

16 years ago(PSEUDO): Revert last change.
drepper [Wed, 3 Sep 2003 02:54:45 +0000 (02:54 +0000)]
(PSEUDO): Revert last change.

16 years agoBump.
drepper [Wed, 3 Sep 2003 02:54:22 +0000 (02:54 +0000)]
Bump.

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

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

16 years ago(__open_nocancel, __close_nocancel, __read_nocancel, __write_nocancel,
drepper [Wed, 3 Sep 2003 02:52:03 +0000 (02:52 +0000)]
(__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.

16 years ago(PSEUDO): Also defined symbol for entry point to avoid cancellation.
drepper [Wed, 3 Sep 2003 02:51:39 +0000 (02:51 +0000)]
(PSEUDO): Also defined symbol for entry point to avoid cancellation.

16 years agoWrappers for not cancelable syscalls for Linux/SPARC.
drepper [Wed, 3 Sep 2003 02:50:37 +0000 (02:50 +0000)]
Wrappers for not cancelable syscalls for Linux/SPARC.

16 years agoWrappers for not cancelable syscalls for Linux/PPC.
drepper [Wed, 3 Sep 2003 02:49:28 +0000 (02:49 +0000)]
Wrappers for not cancelable syscalls for Linux/PPC.

16 years agoWrapper for not cancelable syscalls for Linux/S390.
drepper [Wed, 3 Sep 2003 02:48:37 +0000 (02:48 +0000)]
Wrapper for not cancelable syscalls for Linux/S390.

16 years ago(CFLAGS-vprintf.c): Add -fexceptions.
drepper [Wed, 3 Sep 2003 00:24:52 +0000 (00:24 +0000)]
(CFLAGS-vprintf.c): Add -fexceptions.

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

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

16 years agoUpdate.
drepper [Tue, 2 Sep 2003 19:59:33 +0000 (19:59 +0000)]
Update.

16 years ago(DL_SYSINFO_IMPLEMENTATION): Add CFI and make sure the code ends up in .text.
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.

16 years ago.
jakub [Tue, 2 Sep 2003 13:25:14 +0000 (13:25 +0000)]
.

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

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

16 years agoUpdate.
drepper [Tue, 2 Sep 2003 09:33:38 +0000 (09:33 +0000)]
Update.

16 years agoKnown files popping up in cancellation analysis but which are fine.
drepper [Tue, 2 Sep 2003 09:24:58 +0000 (09:24 +0000)]
Known files popping up in cancellation analysis but which are fine.

16 years ago(CFLAGS-pathconf.c): Add -fexceptions.
drepper [Tue, 2 Sep 2003 09:19:29 +0000 (09:19 +0000)]
(CFLAGS-pathconf.c): Add -fexceptions.
(CFLAGS-fpathconf.c): Likewise.

16 years ago(PSEUDO): Also define *_nocancel name.
drepper [Tue, 2 Sep 2003 09:06:34 +0000 (09:06 +0000)]
(PSEUDO): Also define *_nocancel name.

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

16 years agoUpdate.
drepper [Tue, 2 Sep 2003 08:47:09 +0000 (08:47 +0000)]
Update.

16 years agoWrappers for not-cancelable syscalls.
drepper [Tue, 2 Sep 2003 08:46:24 +0000 (08:46 +0000)]
Wrappers for not-cancelable syscalls.