kopensolaris-gnu/glibc.git
18 years ago2001-08-22 Roland McGrath <roland@frob.com>
roland [Thu, 23 Aug 2001 06:02:45 +0000 (06:02 +0000)]
2001-08-22  Roland McGrath  <roland@frob.com>

* sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with
__libc_lock_define_recursive.
* elf/dl-open.c: Don't declare it here any more.
* elf/dl-close.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/dl-iteratephdr.c: Likewise.
* elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and
__libc_lock_unlock_recursive.
* elf/dl-close.c (_dl_close): Likewise
* elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise
* elf/dl-open.c (_dl_open): Likewise

18 years ago2001-08-22 Roland McGrath <roland@frob.com>
roland [Thu, 23 Aug 2001 06:02:40 +0000 (06:02 +0000)]
2001-08-22  Roland McGrath  <roland@frob.com>

* sysdeps/generic/bits/libc-lock.h
(__libc_lock_define_recursive): New macro.
* sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it.
(_IO_lock_lock): Use __libc_lock_lock_recursive.
(_IO_lock_unlock): Use __libc_lock_unlock_recursive.

18 years ago.
roland [Thu, 23 Aug 2001 04:34:57 +0000 (04:34 +0000)]
.

18 years ago2001-08-22 Roland McGrath <roland@frob.com>
roland [Thu, 23 Aug 2001 04:34:46 +0000 (04:34 +0000)]
2001-08-22  Roland McGrath  <roland@frob.com>

* sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT.
(POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these
definitions conditional on [__USE_XOPEN].

18 years ago2001-08-22 Roland McGrath <roland@frob.com>
roland [Thu, 23 Aug 2001 04:34:41 +0000 (04:34 +0000)]
2001-08-22  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define
these unconditionally, not only use [__USE_BSD], so as to match
the sysdeps/unix/sysv/linux files.

18 years ago2001-08-22 Roland McGrath <roland@frob.com>
roland [Thu, 23 Aug 2001 04:34:36 +0000 (04:34 +0000)]
2001-08-22  Roland McGrath  <roland@frob.com>

* conform/conformtest.pl (checknamespace): Sort the output list.

18 years agoUpdate.
drepper [Thu, 23 Aug 2001 04:17:06 +0000 (04:17 +0000)]
Update.

18 years ago(add_temp_file): Add __attribute__ ((unused)) to avoid warnings.
drepper [Thu, 23 Aug 2001 04:03:58 +0000 (04:03 +0000)]
(add_temp_file): Add __attribute__ ((unused)) to avoid warnings.

18 years ago(do_test): Get address of ref1 using DL_LOOKUP_ADDRESS.
drepper [Thu, 23 Aug 2001 04:01:56 +0000 (04:01 +0000)]
(do_test): Get address of ref1 using DL_LOOKUP_ADDRESS.

18 years ago.
roland [Thu, 23 Aug 2001 03:08:40 +0000 (03:08 +0000)]
.

18 years ago2001-08-22 Roland McGrath <roland@frob.com>
roland [Thu, 23 Aug 2001 03:07:50 +0000 (03:07 +0000)]
2001-08-22  Roland McGrath  <roland@frob.com>

* sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up
conditionalization of sa_handler/sa_sigaction member types to
match the sysdeps/unix/sysv/linux file.

18 years agoUpdate.
drepper [Thu, 23 Aug 2001 02:46:15 +0000 (02:46 +0000)]
Update.

18 years ago(_dl_addr): Handle broken binaries with zero symbol sizes a bit better.
drepper [Thu, 23 Aug 2001 02:45:31 +0000 (02:45 +0000)]
(_dl_addr): Handle broken binaries with zero symbol sizes a bit better.

18 years agoUpdate.
drepper [Thu, 23 Aug 2001 01:19:02 +0000 (01:19 +0000)]
Update.

18 years agoComplete rewrite.
drepper [Thu, 23 Aug 2001 01:18:43 +0000 (01:18 +0000)]
Complete rewrite.

18 years agoUpdate.
drepper [Thu, 23 Aug 2001 01:12:31 +0000 (01:12 +0000)]
Update.

18 years ago(main): Add strncpy test.
drepper [Thu, 23 Aug 2001 01:10:57 +0000 (01:10 +0000)]
(main): Add strncpy test.

18 years ago.
roland [Thu, 23 Aug 2001 00:51:16 +0000 (00:51 +0000)]
.

18 years ago2001-08-22 Roland McGrath <roland@frob.com>
roland [Thu, 23 Aug 2001 00:51:01 +0000 (00:51 +0000)]
2001-08-22  Roland McGrath  <roland@frob.com>

* sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>,
and don't declare unsetenv or _environ directly.
(unsetenv): Return int, not void.  Use __environ instead of _environ.

18 years agoFix formatting.
drepper [Wed, 22 Aug 2001 23:25:12 +0000 (23:25 +0000)]
Fix formatting.

18 years ago2001-08-20 Roland McGrath <roland@frob.com>
roland [Wed, 22 Aug 2001 23:12:51 +0000 (23:12 +0000)]
2001-08-20  Roland McGrath  <roland@frob.com>

* hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
(__hurd_file_name_split, __hurd_directory_name_split): Likewise.

18 years ago* sysdeps/unix/bsd/bsd4.4/Makefile: New file.
kettenis [Wed, 22 Aug 2001 22:29:38 +0000 (22:29 +0000)]
* sysdeps/unix/bsd/bsd4.4/Makefile: New file.
* sysdeps/unix/bsd/bsd4.4/Versions: New file.
* sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file.
* sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct
test for cmsg struct size.

18 years ago.
roland [Wed, 22 Aug 2001 22:24:10 +0000 (22:24 +0000)]
.

18 years ago2001-04-23 Paul Eggert <eggert@twinsun.com>
roland [Wed, 22 Aug 2001 22:24:05 +0000 (22:24 +0000)]
2001-04-23  Paul Eggert  <eggert@twinsun.com>

        * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal):
        Rename __argc to ___argc in prototypes to avoid compatibility
        problems with systems that reserve the identifier "__argc".
        Similarly for __argv.

18 years ago2001-08-21 Roland McGrath <roland@frob.com>
roland [Wed, 22 Aug 2001 22:24:02 +0000 (22:24 +0000)]
2001-08-21  Roland McGrath  <roland@frob.com>

* mach/Makefile (tests): Removed.
* mach/hello.c: File removed.

18 years ago2001-08-21 Roland McGrath <roland@frob.com>
roland [Wed, 22 Aug 2001 22:23:59 +0000 (22:23 +0000)]
2001-08-21  Roland McGrath  <roland@frob.com>

* stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.

18 years agoUpdate.
drepper [Wed, 22 Aug 2001 22:07:52 +0000 (22:07 +0000)]
Update.

18 years agoUpdate from translation team.
drepper [Wed, 22 Aug 2001 22:07:18 +0000 (22:07 +0000)]
Update from translation team.

18 years agoUpdate.
drepper [Wed, 22 Aug 2001 18:40:06 +0000 (18:40 +0000)]
Update.

18 years ago(tests): Add tst-sscanf.
drepper [Wed, 22 Aug 2001 18:39:25 +0000 (18:39 +0000)]
(tests): Add tst-sscanf.

18 years agoTest for sscanf.
drepper [Wed, 22 Aug 2001 18:38:55 +0000 (18:38 +0000)]
Test for sscanf.

18 years agoUpdate.
drepper [Wed, 22 Aug 2001 18:29:46 +0000 (18:29 +0000)]
Update.

18 years agoFix handling of %l[].
drepper [Wed, 22 Aug 2001 18:29:02 +0000 (18:29 +0000)]
Fix handling of %l[].

18 years agoFix typo.
drepper [Wed, 22 Aug 2001 18:01:36 +0000 (18:01 +0000)]
Fix typo.

18 years agoUpdate.
drepper [Wed, 22 Aug 2001 17:55:23 +0000 (17:55 +0000)]
Update.

18 years ago(tr_where): dli_sname always points to a non-empty string is != NULL.
drepper [Wed, 22 Aug 2001 17:52:55 +0000 (17:52 +0000)]
(tr_where): dli_sname always points to a non-empty string is != NULL.

18 years ago(_dl_addr): Fix tests to determine dli_sname.
drepper [Wed, 22 Aug 2001 17:49:44 +0000 (17:49 +0000)]
(_dl_addr): Fix tests to determine dli_sname.

18 years agoUpdate.
drepper [Wed, 22 Aug 2001 17:00:32 +0000 (17:00 +0000)]
Update.

18 years agoFree resources on failure.
drepper [Wed, 22 Aug 2001 16:58:57 +0000 (16:58 +0000)]
Free resources on failure.

18 years ago(xdrrec_create): Fix buf sizes before allocating buf. Free resources on
drepper [Wed, 22 Aug 2001 16:58:11 +0000 (16:58 +0000)]
(xdrrec_create): Fix buf sizes before allocating buf.  Free resources on
failure.

18 years ago(strnlen): Remove.
drepper [Wed, 22 Aug 2001 16:57:47 +0000 (16:57 +0000)]
(strnlen): Remove.

18 years agoGeneric strnlen implementation.
drepper [Wed, 22 Aug 2001 16:57:24 +0000 (16:57 +0000)]
Generic strnlen implementation.

18 years agoMoved to sysdeps/generic.
drepper [Wed, 22 Aug 2001 16:55:44 +0000 (16:55 +0000)]
Moved to sysdeps/generic.

18 years ago(print_and_abort): Explain use of the string.
drepper [Wed, 22 Aug 2001 16:06:53 +0000 (16:06 +0000)]
(print_and_abort): Explain use of the string.

18 years ago.
roland [Tue, 21 Aug 2001 20:32:34 +0000 (20:32 +0000)]
.

18 years ago2001-08-21 Roland McGrath <roland@frob.com>
roland [Tue, 21 Aug 2001 20:32:26 +0000 (20:32 +0000)]
2001-08-21  Roland McGrath  <roland@frob.com>

* sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
as a macro, not an extern inline function.

18 years ago2001-08-21 Roland McGrath <roland@frob.com>
roland [Tue, 21 Aug 2001 20:32:19 +0000 (20:32 +0000)]
2001-08-21  Roland McGrath  <roland@frob.com>

* hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
* Versions.def (libc): Add GLIBC_2.2.5 set.
* hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
(__hurd_fail): Use that instead of _EXTERN_INLINE in decl.

18 years agoUpdate.
drepper [Tue, 21 Aug 2001 17:12:43 +0000 (17:12 +0000)]
Update.

18 years agoAdd strnlen optimization.
drepper [Tue, 21 Aug 2001 17:12:28 +0000 (17:12 +0000)]
Add strnlen optimization.

18 years agoRemove strnlen optimization here.
drepper [Tue, 21 Aug 2001 17:12:04 +0000 (17:12 +0000)]
Remove strnlen optimization here.

18 years agoMake access to ..._hook pointers thread-safe.
drepper [Tue, 21 Aug 2001 17:10:54 +0000 (17:10 +0000)]
Make access to ..._hook pointers thread-safe.

18 years agoUpdate.
drepper [Tue, 21 Aug 2001 16:17:29 +0000 (16:17 +0000)]
Update.

18 years agoUpdate from translation team.
drepper [Tue, 21 Aug 2001 16:16:25 +0000 (16:16 +0000)]
Update from translation team.

18 years agoUpdate.
drepper [Tue, 21 Aug 2001 02:57:38 +0000 (02:57 +0000)]
Update.

18 years ago(error_tail): Use fputws_unlocked instead of fputws.
drepper [Tue, 21 Aug 2001 02:56:57 +0000 (02:56 +0000)]
(error_tail): Use fputws_unlocked instead of fputws.

18 years ago(convert_and_print): Use fputwc_unlocked instead of fputws.
drepper [Tue, 21 Aug 2001 02:55:41 +0000 (02:55 +0000)]
(convert_and_print): Use fputwc_unlocked instead of fputws.

18 years ago(print_and_abort): Use fprintf instead of two function calls.
drepper [Tue, 21 Aug 2001 02:54:29 +0000 (02:54 +0000)]
(print_and_abort): Use fprintf instead of two function calls.

18 years agoUpdate.
drepper [Tue, 21 Aug 2001 02:46:26 +0000 (02:46 +0000)]
Update.

18 years agoRevert the change of the gregset_t type.
drepper [Tue, 21 Aug 2001 02:44:52 +0000 (02:44 +0000)]
Revert the change of the gregset_t type.

18 years agoAlign errno.
drepper [Tue, 21 Aug 2001 02:43:08 +0000 (02:43 +0000)]
Align errno.

18 years ago(truncate_wchar): Use wcrtomb not wctomb.
drepper [Tue, 21 Aug 2001 02:39:40 +0000 (02:39 +0000)]
(truncate_wchar): Use wcrtomb not wctomb.

18 years agoUpdate.
drepper [Tue, 21 Aug 2001 01:42:08 +0000 (01:42 +0000)]
Update.

18 years agoFix the implementation. We cannot use memchr.
drepper [Tue, 21 Aug 2001 01:40:45 +0000 (01:40 +0000)]
Fix the implementation.  We cannot use memchr.

18 years ago* sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
kettenis [Mon, 20 Aug 2001 21:43:57 +0000 (21:43 +0000)]
* sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
before calling the cthreads initialization code.

18 years agoUpdate.
drepper [Mon, 20 Aug 2001 19:55:53 +0000 (19:55 +0000)]
Update.

18 years agoFix two problems introduced in last change.
drepper [Mon, 20 Aug 2001 19:55:03 +0000 (19:55 +0000)]
Fix two problems introduced in last change.

18 years agoUpdate from translation team.
drepper [Mon, 20 Aug 2001 13:41:23 +0000 (13:41 +0000)]
Update from translation team.

18 years agoUpdate.
drepper [Mon, 20 Aug 2001 07:17:10 +0000 (07:17 +0000)]
Update.

18 years agoInclude <dirstream.h> first.
drepper [Mon, 20 Aug 2001 07:16:37 +0000 (07:16 +0000)]
Include <dirstream.h> first.

18 years agoUse __asprintf and __fwprintf instead of asprintf and fwprintf.
drepper [Mon, 20 Aug 2001 07:10:11 +0000 (07:10 +0000)]
Use __asprintf and __fwprintf instead of asprintf and fwprintf.

18 years agoUpdate.
drepper [Mon, 20 Aug 2001 06:59:59 +0000 (06:59 +0000)]
Update.

18 years ago(fts_safe_changedir): Use __fxstat64 instead of __fstat.
drepper [Mon, 20 Aug 2001 06:59:41 +0000 (06:59 +0000)]
(fts_safe_changedir): Use __fxstat64 instead of __fstat.

18 years agoUpdate.
drepper [Mon, 20 Aug 2001 06:37:56 +0000 (06:37 +0000)]
Update.

18 years ago(_svcauth_des): Avoid using bcopy.
drepper [Mon, 20 Aug 2001 06:37:09 +0000 (06:37 +0000)]
(_svcauth_des): Avoid using bcopy.

18 years agoAvoid using bcopy.
drepper [Mon, 20 Aug 2001 06:35:53 +0000 (06:35 +0000)]
Avoid using bcopy.

18 years agoAvoid using bcopy.
drepper [Mon, 20 Aug 2001 06:34:36 +0000 (06:34 +0000)]
Avoid using bcopy.

18 years ago(_svcauth_unix): Avoid using bcopy.
drepper [Mon, 20 Aug 2001 06:33:15 +0000 (06:33 +0000)]
(_svcauth_unix): Avoid using bcopy.

18 years agoAvoid using bcopy.
drepper [Mon, 20 Aug 2001 06:31:54 +0000 (06:31 +0000)]
Avoid using bcopy.

18 years ago(getrpcport): Avoid using bcopy.
drepper [Mon, 20 Aug 2001 06:29:27 +0000 (06:29 +0000)]
(getrpcport): Avoid using bcopy.

18 years ago(callrpc): Avoid using bcopy.
drepper [Mon, 20 Aug 2001 06:28:21 +0000 (06:28 +0000)]
(callrpc): Avoid using bcopy.

18 years ago(clnt_create): Avoid using bcopy.
drepper [Mon, 20 Aug 2001 06:27:16 +0000 (06:27 +0000)]
(clnt_create): Avoid using bcopy.

18 years agoAvoid using bcopy.
drepper [Mon, 20 Aug 2001 06:26:01 +0000 (06:26 +0000)]
Avoid using bcopy.

18 years agoHandle wide oriented stderr stream.
drepper [Mon, 20 Aug 2001 06:24:07 +0000 (06:24 +0000)]
Handle wide oriented stderr stream.

18 years agoUpdate from translation team.
drepper [Mon, 20 Aug 2001 06:22:50 +0000 (06:22 +0000)]
Update from translation team.

18 years agoUpdate.
drepper [Sun, 19 Aug 2001 03:52:42 +0000 (03:52 +0000)]
Update.

18 years agoLittle optimizations. Add some __builtin_expect.
drepper [Sun, 19 Aug 2001 03:52:19 +0000 (03:52 +0000)]
Little optimizations.  Add some __builtin_expect.

18 years agoUpdate.
drepper [Sun, 19 Aug 2001 01:33:45 +0000 (01:33 +0000)]
Update.

18 years ago<inttypes.h> test required <stddef.h>.
drepper [Sun, 19 Aug 2001 01:33:13 +0000 (01:33 +0000)]
<inttypes.h> test required <stddef.h>.

18 years agoUpdate.
drepper [Sun, 19 Aug 2001 01:09:06 +0000 (01:09 +0000)]
Update.

18 years ago(wcwdith): Change parameter type to wchar_t.
drepper [Sun, 19 Aug 2001 01:08:24 +0000 (01:08 +0000)]
(wcwdith): Change parameter type to wchar_t.

18 years ago(internal_wcwdith): Change parameter type to wchar_t.
drepper [Sun, 19 Aug 2001 01:08:07 +0000 (01:08 +0000)]
(internal_wcwdith): Change parameter type to wchar_t.

18 years ago(wcwdith): Change parameter type to wchar_t.
drepper [Sun, 19 Aug 2001 01:07:42 +0000 (01:07 +0000)]
(wcwdith): Change parameter type to wchar_t.

18 years agoRemove _SC_MULTIPLE_PROCESS.
drepper [Sun, 19 Aug 2001 01:04:28 +0000 (01:04 +0000)]
Remove _SC_MULTIPLE_PROCESS.

18 years agoFix typos in ucontext_t element tests.
drepper [Sun, 19 Aug 2001 01:02:25 +0000 (01:02 +0000)]
Fix typos in ucontext_t element tests.

18 years agoUpdate.
drepper [Sat, 18 Aug 2001 23:36:58 +0000 (23:36 +0000)]
Update.

18 years ago(struct timespec): Use __time_t for tv_sec element.
drepper [Sat, 18 Aug 2001 23:36:43 +0000 (23:36 +0000)]
(struct timespec): Use __time_t for tv_sec element.

18 years agoDefine __wchar_t. Use it instead of wchar_t for function declarations
drepper [Sat, 18 Aug 2001 23:35:55 +0000 (23:35 +0000)]
Define __wchar_t.  Use it instead of wchar_t for function declarations
and defintions.

18 years agoDefine __need_time_t before including <time.h>.
drepper [Sat, 18 Aug 2001 23:34:57 +0000 (23:34 +0000)]
Define __need_time_t before including <time.h>.
Define suseconds_t if it hasn't happened yet.

18 years agoDefine __need_wchar_t before including <stddef.h>.
drepper [Sat, 18 Aug 2001 23:33:51 +0000 (23:33 +0000)]
Define __need_wchar_t before including <stddef.h>.

18 years agoShuffle types around.
drepper [Sat, 18 Aug 2001 23:33:19 +0000 (23:33 +0000)]
Shuffle types around.