kopensolaris-gnu/glibc.git
20 years agoAdd prototype for ruserpass.
drepper [Mon, 29 May 2000 18:03:59 +0000 (18:03 +0000)]
Add prototype for ruserpass.

20 years agoRemove __P. Remove unused variables.
drepper [Mon, 29 May 2000 18:03:46 +0000 (18:03 +0000)]
Remove __P.  Remove unused variables.
(ruserpass): Check results of memory allocation.

20 years agoRemove unused variables. Other small cleanups.
drepper [Mon, 29 May 2000 18:02:49 +0000 (18:02 +0000)]
Remove unused variables.  Other small cleanups.

20 years agoRemove __P. Remove unused variables.
drepper [Mon, 29 May 2000 18:02:04 +0000 (18:02 +0000)]
Remove __P.  Remove unused variables.
(iruserfopen): Make first parameter const.
(ruserok_sa): Return result of ruserok2_sa.
(__checkhost_sa): Correctly iterate through results of getaddrinfo.

20 years ago(CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c): Removed.
drepper [Mon, 29 May 2000 17:59:46 +0000 (17:59 +0000)]
(CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c): Removed.

20 years ago * elf/readlib.c (interpreters): Use LD_SO since this is supported
aj [Mon, 29 May 2000 17:19:36 +0000 (17:19 +0000)]
* elf/readlib.c (interpreters): Use LD_SO since this is supported
for all platforms.

20 years agoUpdate.
drepper [Mon, 29 May 2000 17:17:31 +0000 (17:17 +0000)]
Update.

20 years ago(rresvport_af): Use correct port number.
drepper [Mon, 29 May 2000 17:16:46 +0000 (17:16 +0000)]
(rresvport_af): Use correct port number.

20 years ago($(common-objpfx)soversions.mk): Prepend `$lib=' to
drepper [Mon, 29 May 2000 17:14:26 +0000 (17:14 +0000)]
($(common-objpfx)soversions.mk): Prepend `$lib=' to
entries in all-sonames.
($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
preserving the old name if different for compatibility.

20 years agoUpdate.
drepper [Mon, 29 May 2000 07:31:53 +0000 (07:31 +0000)]
Update.

20 years agoCheck success of malloc call.
drepper [Mon, 29 May 2000 07:31:13 +0000 (07:31 +0000)]
Check success of malloc call.

20 years agoCorrectly test for success of dup2 calls.
drepper [Mon, 29 May 2000 07:30:39 +0000 (07:30 +0000)]
Correctly test for success of dup2 calls.

20 years agoCorrectly account for new entry.
drepper [Mon, 29 May 2000 07:29:36 +0000 (07:29 +0000)]
Correctly account for new entry.

20 years agoCorrectly account for new entry.
drepper [Mon, 29 May 2000 07:28:55 +0000 (07:28 +0000)]
Correctly account for new entry.

20 years ago(tests): Add tst-spawn.
drepper [Mon, 29 May 2000 07:28:00 +0000 (07:28 +0000)]
(tests): Add tst-spawn.
(tst-spawn-ARGS): New variable.

20 years agoTest program for spawn.
drepper [Mon, 29 May 2000 07:26:54 +0000 (07:26 +0000)]
Test program for spawn.

20 years agoUpdate.
drepper [Mon, 29 May 2000 04:40:43 +0000 (04:40 +0000)]
Update.

20 years ago(tests): Add tst-exec.
drepper [Mon, 29 May 2000 04:39:51 +0000 (04:39 +0000)]
(tests): Add tst-exec.
(tst-exec-ARGS): New variable.

20 years agoTest program for exec.
drepper [Mon, 29 May 2000 04:39:21 +0000 (04:39 +0000)]
Test program for exec.

20 years agoUpdate.
drepper [Mon, 29 May 2000 01:00:03 +0000 (01:00 +0000)]
Update.

20 years ago(compare_and_swap): Return result.
drepper [Mon, 29 May 2000 00:59:18 +0000 (00:59 +0000)]
(compare_and_swap): Return result.

20 years ago(main): Check PID of child against parent PID.
drepper [Mon, 29 May 2000 00:57:46 +0000 (00:57 +0000)]
(main): Check PID of child against parent PID.

20 years agoUpdate.
drepper [Sun, 28 May 2000 22:53:25 +0000 (22:53 +0000)]
Update.

20 years ago(__pthread_lock): Remove ASSERT.
drepper [Sun, 28 May 2000 22:53:04 +0000 (22:53 +0000)]
(__pthread_lock): Remove ASSERT.

20 years agoUpdate.
drepper [Sun, 28 May 2000 22:39:21 +0000 (22:39 +0000)]
Update.

20 years agoRemove __strdup prototype, it's not needed in this file anymore.
drepper [Sun, 28 May 2000 22:38:27 +0000 (22:38 +0000)]
Remove __strdup prototype, it's not needed in this file anymore.

20 years agoUpdate.
drepper [Sun, 28 May 2000 22:14:55 +0000 (22:14 +0000)]
Update.

20 years ago(__fork): Revised so that the mutex is held across the fork operation
drepper [Sun, 28 May 2000 22:14:30 +0000 (22:14 +0000)]
(__fork): Revised so that the mutex is held across the fork operation
and while the handlers are called, and so that the child resets the
mutex.
Added calls to new functions __flockallfiles and __funlockallfiles.

20 years agoUpdated pthread_atfork documentation to make it clear that fork and
drepper [Sun, 28 May 2000 22:14:13 +0000 (22:14 +0000)]
Updated pthread_atfork documentation to make it clear that fork and
pthread_atfork can't be reentered from atfork handlers, that
pthread_atfork and fork are mutually atomic, and that the handlers are
inherited by the child process.

20 years ago(tests): Add ex8.
drepper [Sun, 28 May 2000 22:13:57 +0000 (22:13 +0000)]
(tests): Add ex8.

20 years agoTest for pthread_atfork function.
drepper [Sun, 28 May 2000 22:13:47 +0000 (22:13 +0000)]
Test for pthread_atfork function.

20 years agoUpdate.
drepper [Sun, 28 May 2000 21:16:58 +0000 (21:16 +0000)]
Update.

20 years ago(tests): Add tst-fork.
drepper [Sun, 28 May 2000 21:16:13 +0000 (21:16 +0000)]
(tests): Add tst-fork.

20 years agoTests for fork().
drepper [Sun, 28 May 2000 21:16:01 +0000 (21:16 +0000)]
Tests for fork().

20 years agoUpdate.
drepper [Sun, 28 May 2000 19:32:08 +0000 (19:32 +0000)]
Update.

20 years agoLoose __P.
drepper [Sun, 28 May 2000 19:31:28 +0000 (19:31 +0000)]
Loose __P.

20 years agoUpdate.
drepper [Sun, 28 May 2000 19:26:50 +0000 (19:26 +0000)]
Update.

20 years agoUpdate.
drepper [Sun, 28 May 2000 18:36:00 +0000 (18:36 +0000)]
Update.

20 years agoUpdate.
drepper [Sun, 28 May 2000 18:32:20 +0000 (18:32 +0000)]
Update.

20 years agoFix copyright year.
drepper [Sun, 28 May 2000 18:30:51 +0000 (18:30 +0000)]
Fix copyright year.

20 years ago(_IO_CHECK_WIDE): Define.
drepper [Sun, 28 May 2000 18:30:23 +0000 (18:30 +0000)]
(_IO_CHECK_WIDE): Define.

20 years ago(_IO_setvbuf): Use _IO_CHECK_WIDE.
drepper [Sun, 28 May 2000 18:29:52 +0000 (18:29 +0000)]
(_IO_setvbuf): Use _IO_CHECK_WIDE.

20 years ago(_IO_setbuffer): Use _IO_CHECK_WIDE.
drepper [Sun, 28 May 2000 18:29:34 +0000 (18:29 +0000)]
(_IO_setbuffer): Use _IO_CHECK_WIDE.

20 years ago(_IO_new_file_fopen): Return NULL if _IO_CHECK_WIDE fails.
drepper [Sun, 28 May 2000 18:28:57 +0000 (18:28 +0000)]
(_IO_new_file_fopen): Return NULL if _IO_CHECK_WIDE fails.

20 years agoUpdate.
drepper [Sun, 28 May 2000 16:44:57 +0000 (16:44 +0000)]
Update.

20 years agoDanish translations for libc.
drepper [Sun, 28 May 2000 16:44:21 +0000 (16:44 +0000)]
Danish translations for libc.

20 years agoUpdate.
drepper [Sun, 28 May 2000 16:42:45 +0000 (16:42 +0000)]
Update.

20 years ago(Other iconv Implementations): Fix typo.
drepper [Sun, 28 May 2000 16:42:02 +0000 (16:42 +0000)]
(Other iconv Implementations): Fix typo.

20 years ago(Extended Char Intro): Fix typo (and -> as).
drepper [Sun, 28 May 2000 16:32:52 +0000 (16:32 +0000)]
(Extended Char Intro): Fix typo (and -> as).

20 years agoUpdate.
drepper [Sun, 28 May 2000 16:31:09 +0000 (16:31 +0000)]
Update.

20 years ago(Rounding Functions): Fix documentation of trunc.
drepper [Sun, 28 May 2000 16:30:02 +0000 (16:30 +0000)]
(Rounding Functions): Fix documentation of trunc.

20 years agoUpdate.
drepper [Sun, 28 May 2000 07:07:05 +0000 (07:07 +0000)]
Update.

20 years agoBelarusian Language Locale for Belarus.
drepper [Sun, 28 May 2000 07:06:29 +0000 (07:06 +0000)]
Belarusian Language Locale for Belarus.

20 years agoUpdate.
aj [Sat, 27 May 2000 16:51:52 +0000 (16:51 +0000)]
Update.

20 years ago * elf/vismain.c: Use test-skeleton interface.
aj [Sat, 27 May 2000 16:51:26 +0000 (16:51 +0000)]
    * elf/vismain.c: Use test-skeleton interface.
        (TEST_FUNCTION): New macro.
        (do_test): Renamed from main.

20 years ago * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
aj [Sat, 27 May 2000 16:50:33 +0000 (16:50 +0000)]
    * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
        endianness to decide how to pass arguments.
        * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.

20 years ago * sysdeps/unix/sysv/linux/arm/pread.c: Removed, we can use the
aj [Sat, 27 May 2000 16:49:57 +0000 (16:49 +0000)]
    * sysdeps/unix/sysv/linux/arm/pread.c: Removed, we can use the
        normal version now.
        * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.

20 years ago * sysdeps/unix/sysv/linux/mips/pread.c: Removed, we can use the
aj [Sat, 27 May 2000 16:49:02 +0000 (16:49 +0000)]
    * sysdeps/unix/sysv/linux/mips/pread.c: Removed, we can use the
        normal version now.
        * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.

20 years ago * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
aj [Sat, 27 May 2000 16:48:06 +0000 (16:48 +0000)]
    * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
        normal version now.
        * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
        * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.

20 years agoUpdate.
drepper [Sat, 27 May 2000 08:17:05 +0000 (08:17 +0000)]
Update.

20 years ago(_nss_dns_gethostbyname2_r): If lookup
drepper [Sat, 27 May 2000 08:16:24 +0000 (08:16 +0000)]
(_nss_dns_gethostbyname2_r): If lookup
of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
perform lookup for T_A type and tell getanswer_r to convert the
result with new argument.
(_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
Don't convert addresses from IPv4 to IPv6 here.
(getanswer_r): Take new parameter indicating if mapping from IPv4 to
IPv6 is wanted.  Allow qtype and type from reply to disagree if
IPv4 mapping has to be done.  Perform mappings if required by the
caller and not if RES_USE_INET6 bit in _res.options is set.
Add several __builtin_expect.

20 years ago(LINE_PARSER): Simplify. Correct handling of AI_V4MAPPED flag.
drepper [Sat, 27 May 2000 08:10:55 +0000 (08:10 +0000)]
(LINE_PARSER): Simplify.  Correct handling of AI_V4MAPPED flag.

20 years ago(gaih_inet): If req->ai_family == AF_UNSPEC don't allow the IPv6
drepper [Sat, 27 May 2000 08:09:40 +0000 (08:09 +0000)]
(gaih_inet): If req->ai_family == AF_UNSPEC don't allow the IPv6
lookup to return mapped IPv4 addresses.

20 years agoUpdate.
aj [Sat, 27 May 2000 06:56:36 +0000 (06:56 +0000)]
Update.

20 years agoUpdate.
drepper [Sat, 27 May 2000 06:18:49 +0000 (06:18 +0000)]
Update.

20 years ago(__open_catalog): Add a few __builtin_expect.
drepper [Sat, 27 May 2000 06:18:08 +0000 (06:18 +0000)]
(__open_catalog): Add a few __builtin_expect.

20 years agoUpdate.
drepper [Sat, 27 May 2000 05:32:14 +0000 (05:32 +0000)]
Update.

20 years ago(_dl_map_object): Don't ignore RPATHs of loader == NULL.
drepper [Sat, 27 May 2000 05:31:29 +0000 (05:31 +0000)]
(_dl_map_object): Don't ignore RPATHs of loader == NULL.

20 years agoUpdate.
drepper [Fri, 26 May 2000 20:49:00 +0000 (20:49 +0000)]
Update.

20 years agoAllow parallel execution of tst-preadwrite and tst-preadwrite64.
drepper [Fri, 26 May 2000 20:48:52 +0000 (20:48 +0000)]
Allow parallel execution of tst-preadwrite and tst-preadwrite64.

20 years agoAllow parallel execution of tst-truncate and tst-truncate64.
drepper [Fri, 26 May 2000 20:46:37 +0000 (20:46 +0000)]
Allow parallel execution of tst-truncate and tst-truncate64.

20 years agoRemove unused variable.
drepper [Fri, 26 May 2000 20:32:19 +0000 (20:32 +0000)]
Remove unused variable.

20 years agoUpdate.
drepper [Fri, 26 May 2000 20:31:12 +0000 (20:31 +0000)]
Update.

20 years ago(tests): Add tst-truncate and tst-truncate64.
drepper [Fri, 26 May 2000 20:30:54 +0000 (20:30 +0000)]
(tests): Add tst-truncate and tst-truncate64.

20 years agoTest for truncate64 and ftruncate64.
drepper [Fri, 26 May 2000 20:30:36 +0000 (20:30 +0000)]
Test for truncate64 and ftruncate64.

20 years agoTest for truncate and ftruncate.
drepper [Fri, 26 May 2000 20:30:20 +0000 (20:30 +0000)]
Test for truncate and ftruncate.

20 years ago * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
aj [Fri, 26 May 2000 20:11:43 +0000 (20:11 +0000)]
* sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
of arguments dependend on endianness.
* sysdeps/unix/sysv/linux/truncate64.c: Likewise.

20 years agoUpdate.
drepper [Fri, 26 May 2000 19:55:51 +0000 (19:55 +0000)]
Update.

20 years agoThe little/big endian code was switched.
drepper [Fri, 26 May 2000 19:55:43 +0000 (19:55 +0000)]
The little/big endian code was switched.

20 years agoUpdate.
drepper [Fri, 26 May 2000 19:51:15 +0000 (19:51 +0000)]
Update.

20 years ago(tests): Add tst-preadwrite64.
drepper [Fri, 26 May 2000 19:51:06 +0000 (19:51 +0000)]
(tests): Add tst-preadwrite64.

20 years agoUpdate.
drepper [Fri, 26 May 2000 19:49:46 +0000 (19:49 +0000)]
Update.

20 years agoAllow file being used also for testing pread64 and pwrite64.
drepper [Fri, 26 May 2000 19:49:01 +0000 (19:49 +0000)]
Allow file being used also for testing pread64 and pwrite64.

20 years agoTest for pread64 and pwrite64.
drepper [Fri, 26 May 2000 19:48:39 +0000 (19:48 +0000)]
Test for pread64 and pwrite64.

20 years agoUpdate.
aj [Fri, 26 May 2000 15:46:14 +0000 (15:46 +0000)]
Update.

20 years ago * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
aj [Fri, 26 May 2000 15:45:57 +0000 (15:45 +0000)]
* sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
normal version now.
* sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.

20 years ago * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
aj [Fri, 26 May 2000 15:45:04 +0000 (15:45 +0000)]
* sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
endianness to check how to pass argument.
* sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.

20 years agoUpdate.
aj [Fri, 26 May 2000 10:23:45 +0000 (10:23 +0000)]
Update.

20 years ago * elf/ldconfig.h: Update parameter list for process_elf_file.
aj [Fri, 26 May 2000 10:22:53 +0000 (10:22 +0000)]
* elf/ldconfig.h: Update parameter list for process_elf_file.

* sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
Add parameter file_length and pass it ot process_elf*file.

* sysdeps/generic/readelflib.c (check_ptr): New.
(process_elf_file): Use check_ptr to check all accesses to the
mmapped file. Add parameter file_length.

* elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
library names.

20 years agoUpdate.
aj [Fri, 26 May 2000 09:16:40 +0000 (09:16 +0000)]
Update.

20 years agoUpdate.
drepper [Thu, 25 May 2000 19:10:22 +0000 (19:10 +0000)]
Update.

20 years agoDefine expm1 inline only if __FAST_MATH__ is defined.
drepper [Thu, 25 May 2000 19:09:41 +0000 (19:09 +0000)]
Define expm1 inline only if __FAST_MATH__ is defined.

20 years agoUpdate.
drepper [Thu, 25 May 2000 06:27:20 +0000 (06:27 +0000)]
Update.

20 years agoOnly use save inline functions unless -ffast-math is given to gcc.
drepper [Thu, 25 May 2000 06:26:27 +0000 (06:26 +0000)]
Only use save inline functions unless -ffast-math is given to gcc.

20 years agoAdd -D__FAST_MATH__ to CFLAGS-test-ifloat.c, CFLAGS-test-idouble.c,
drepper [Thu, 25 May 2000 06:26:11 +0000 (06:26 +0000)]
Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c, CFLAGS-test-idouble.c,
CFLAGS-test-ildoubl.c.

20 years ago(FP Function Optimizations): Document gcc -ffast-math behaviour with
drepper [Thu, 25 May 2000 06:25:44 +0000 (06:25 +0000)]
(FP Function Optimizations): Document gcc -ffast-math behaviour with
mathinlines.

20 years agoUpdate.
drepper [Thu, 25 May 2000 06:15:25 +0000 (06:15 +0000)]
Update.

20 years ago(__sincos, __sincosf, __sincosl): Guard with __USE_GNU.
drepper [Thu, 25 May 2000 06:14:40 +0000 (06:14 +0000)]
(__sincos, __sincosf, __sincosl): Guard with __USE_GNU.

20 years agoUpdate.
drepper [Thu, 25 May 2000 05:31:38 +0000 (05:31 +0000)]
Update.

20 years agoRemove pthread_spinlock_t back to _pthread_fastlock. Define new
drepper [Thu, 25 May 2000 05:30:59 +0000 (05:30 +0000)]
Remove pthread_spinlock_t back to _pthread_fastlock.  Define new
pthread_spinlock_t.