kopensolaris-gnu/glibc.git
18 years ago2002-07-31 Roland McGrath <roland@frob.com>
roland [Wed, 31 Jul 2002 23:16:48 +0000 (23:16 +0000)]
2002-07-31  Roland McGrath  <roland@frob.com>

* elf/rtld.c (dl_main): Fix typo in error message.

18 years ago.
roland [Wed, 31 Jul 2002 23:16:05 +0000 (23:16 +0000)]
.

18 years ago2002-07-31 Roland McGrath <roland@frob.com>
roland [Wed, 31 Jul 2002 23:15:21 +0000 (23:15 +0000)]
2002-07-31  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): __fxstat -> __fxstat64,
__xstat -> __xstat64, __lseek -> __libc_lseek64.  Completes 2002-06-09
sysdeps/mach/hurd/dl-sysdep.c change.

18 years agoUpdate.
drepper [Sun, 28 Jul 2002 22:43:25 +0000 (22:43 +0000)]
Update.

18 years agoRegenerated.
drepper [Sun, 28 Jul 2002 22:41:12 +0000 (22:41 +0000)]
Regenerated.

18 years agoCheck /lib/modules/`uname -r`/build/include for kernel headers.
drepper [Sun, 28 Jul 2002 22:40:47 +0000 (22:40 +0000)]
Check /lib/modules/`uname -r`/build/include for kernel headers.

18 years agoUpdate.
drepper [Sun, 28 Jul 2002 19:04:09 +0000 (19:04 +0000)]
Update.

18 years agoFix typo.
drepper [Sun, 28 Jul 2002 18:28:02 +0000 (18:28 +0000)]
Fix typo.

18 years agoFinish translations for glibc.
drepper [Sun, 28 Jul 2002 18:24:33 +0000 (18:24 +0000)]
Finish translations for glibc.

18 years agoUpdate.
drepper [Sat, 27 Jul 2002 08:47:23 +0000 (08:47 +0000)]
Update.

18 years agoRegenerated: autoconf configure.in
drepper [Sat, 27 Jul 2002 08:44:41 +0000 (08:44 +0000)]
Regenerated: autoconf  configure.in

18 years ago(static_nss): Set to `yes' if --disable-shared.
drepper [Sat, 27 Jul 2002 08:43:44 +0000 (08:43 +0000)]
(static_nss): Set to `yes' if --disable-shared.

18 years agoFix profil_counter arguments.
drepper [Sat, 27 Jul 2002 08:41:51 +0000 (08:41 +0000)]
Fix profil_counter arguments.

18 years agoLinux/IA-64 sigcontext definitions.
drepper [Sat, 27 Jul 2002 08:41:38 +0000 (08:41 +0000)]
Linux/IA-64 sigcontext definitions.

18 years ago(__adjtimex_internal): Add alias.
drepper [Sat, 27 Jul 2002 08:40:18 +0000 (08:40 +0000)]
(__adjtimex_internal): Add alias.

18 years ago(_nl_find_msg): Remove test for domain->hash_size,
drepper [Sat, 27 Jul 2002 08:38:31 +0000 (08:38 +0000)]
(_nl_find_msg): Remove test for domain->hash_size,
now done in loadmsgcat.c. Add support for system dependent strings.

18 years agoInclude stdint.h, inttypes.h, hash-string.h.
drepper [Sat, 27 Jul 2002 08:38:09 +0000 (08:38 +0000)]
Include stdint.h, inttypes.h, hash-string.h.
(PRI*): Define fallback values.
(get_sysdep_segment_value): New function.
(_nl_load_domain): Distinguish major and minor revision parts. Add
support for minor revision 1 with system dependent strings.
(_nl_unload_domain): Also free the 'malloced' field.

(PRI*): Redefine the macros if PRI_MACROS_BROKEN is set.

18 years ago(struct sysdep_string_desc): New type.
drepper [Sat, 27 Jul 2002 08:37:39 +0000 (08:37 +0000)]
(struct sysdep_string_desc): New type.
(struct loaded_domain): New fields malloced, n_sysdep_strings,
orig_sysdep_tab, trans_sysdep_tab, must_swap_hash_tab. Make fields
orig_tab, trans_tab, hash_tab to const pointers because they point
into read-only memory.

18 years ago(struct mo_file_header): New fields n_sysdep_segments,
drepper [Sat, 27 Jul 2002 08:37:24 +0000 (08:37 +0000)]
(struct mo_file_header): New fields n_sysdep_segments,
sysdep_segments_offset, n_sysdep_strings, orig_sysdep_tab_offset,
trans_sysdep_tab_offset.
(struct sysdep_segment): New type.
(struct sysdep_string): New type.
(SEGMENTS_END): New macro.

18 years ago(__GNU_GETTEXT_SUPPORTED_REVISION): New macro.
drepper [Sat, 27 Jul 2002 08:37:07 +0000 (08:37 +0000)]
(__GNU_GETTEXT_SUPPORTED_REVISION): New macro.

18 years agoUpdate.
drepper [Sat, 27 Jul 2002 08:28:46 +0000 (08:28 +0000)]
Update.

18 years ago(tests): Add bug-regex7 and bug-regex8.
drepper [Sat, 27 Jul 2002 08:27:20 +0000 (08:27 +0000)]
(tests): Add bug-regex7 and bug-regex8.

18 years agoTest case for regex bug.
drepper [Sat, 27 Jul 2002 08:27:03 +0000 (08:27 +0000)]
Test case for regex bug.

18 years agoFix warnings.
drepper [Sat, 27 Jul 2002 08:26:39 +0000 (08:26 +0000)]
Fix warnings.

18 years agoFix typos. Fix warnings.
drepper [Sat, 27 Jul 2002 08:26:29 +0000 (08:26 +0000)]
Fix typos.  Fix warnings.

18 years agoUpdate.
drepper [Sat, 27 Jul 2002 08:20:17 +0000 (08:20 +0000)]
Update.

18 years ago(re_string_allocate): Initialize pstr->len.
drepper [Sat, 27 Jul 2002 08:16:53 +0000 (08:16 +0000)]
(re_string_allocate): Initialize pstr->len.
(re_string_construct): Likewise.
(re_string_reconstruct): Adjust pstr->stop like pstr->len.

18 years agoAdd new member STOP to struct re_string_t.
drepper [Sat, 27 Jul 2002 08:16:29 +0000 (08:16 +0000)]
Add new member STOP to struct re_string_t.
(re_string_eoi): Use STOP instead of LEN.

18 years ago(re_compile_pattern): Typo in a comment fixed.
drepper [Sat, 27 Jul 2002 08:15:59 +0000 (08:15 +0000)]
(re_compile_pattern): Typo in a comment fixed.

18 years ago(re_match): Reorganize to remove duplicate code.
drepper [Sat, 27 Jul 2002 08:15:08 +0000 (08:15 +0000)]
(re_match): Reorganize to remove duplicate code.
(re_search): Likewise.
(re_match_2): Likewise.
(re_search_2): Likewise.
(re_search_stub): New function.
(re_search_2_stub): New function.

(re_search_internal): Add a new argument STOP
so that it can handle the argument STOP of re_search_2 and re_match_2 correctly.
(regexec): Adapt to new I/F of re_search_internal.
(re_search_stub): Likewise.

18 years ago(CPPFLAGS): Add NOT_IN_libc.
drepper [Sat, 27 Jul 2002 08:06:14 +0000 (08:06 +0000)]
(CPPFLAGS): Add NOT_IN_libc.

18 years ago(main): Improve error message for the cases where -t and/or -f
drepper [Sat, 27 Jul 2002 07:14:19 +0000 (07:14 +0000)]
(main): Improve error message for the cases where -t and/or -f
parameter are missing.

18 years agoUpdate.
drepper [Thu, 25 Jul 2002 19:35:04 +0000 (19:35 +0000)]
Update.

18 years agoDon't include <sys/errno.h>.
drepper [Thu, 25 Jul 2002 19:27:50 +0000 (19:27 +0000)]
Don't include <sys/errno.h>.

18 years agoUpdate.
drepper [Thu, 25 Jul 2002 08:29:34 +0000 (08:29 +0000)]
Update.

18 years agoRemove definition of __assert_perror_fail.
drepper [Thu, 25 Jul 2002 08:26:33 +0000 (08:26 +0000)]
Remove definition of __assert_perror_fail.

18 years agoUpdate.
drepper [Thu, 25 Jul 2002 08:19:59 +0000 (08:19 +0000)]
Update.

18 years agoMake gcc use __divdi3_internal instead of __divdi3.
drepper [Thu, 25 Jul 2002 08:18:01 +0000 (08:18 +0000)]
Make gcc use __divdi3_internal instead of __divdi3.

18 years agoDefine __divdi3_internal.
drepper [Thu, 25 Jul 2002 08:17:14 +0000 (08:17 +0000)]
Define __divdi3_internal.

18 years agoAdd __adjtimex_internal alias for adjtimex syscall.
drepper [Thu, 25 Jul 2002 08:16:36 +0000 (08:16 +0000)]
Add __adjtimex_internal alias for adjtimex syscall.

18 years agoUse __adjtimex_internal.
drepper [Thu, 25 Jul 2002 08:15:54 +0000 (08:15 +0000)]
Use __adjtimex_internal.

18 years agoUse __adjtimex_internal.
drepper [Thu, 25 Jul 2002 08:15:24 +0000 (08:15 +0000)]
Use __adjtimex_internal.

18 years agoDefine __assert_file macro if !SHARED and not NOT_IN_libc.
drepper [Thu, 25 Jul 2002 08:14:14 +0000 (08:14 +0000)]
Define __assert_file macro if !SHARED and not NOT_IN_libc.

18 years agoDefine __assert_fail_internal.
drepper [Thu, 25 Jul 2002 08:13:30 +0000 (08:13 +0000)]
Define __assert_fail_internal.

18 years agoDefine NOT_IN_libc for objects in standalone programs.
drepper [Thu, 25 Jul 2002 08:13:00 +0000 (08:13 +0000)]
Define NOT_IN_libc for objects in standalone programs.

18 years agoDefine __assert_fail_internal.
drepper [Thu, 25 Jul 2002 08:11:18 +0000 (08:11 +0000)]
Define __assert_fail_internal.

18 years agoUpdate.
drepper [Thu, 25 Jul 2002 01:30:57 +0000 (01:30 +0000)]
Update.

18 years ago(_IO_file_seekoff_mmap): Do use fp->_offset to compute current position.
drepper [Thu, 25 Jul 2002 01:28:38 +0000 (01:28 +0000)]
(_IO_file_seekoff_mmap): Do use fp->_offset to compute current position.

18 years ago(main): Improve error messages.
drepper [Thu, 25 Jul 2002 01:08:56 +0000 (01:08 +0000)]
(main): Improve error messages.

18 years agoUpdate.
drepper [Thu, 25 Jul 2002 01:08:21 +0000 (01:08 +0000)]
Update.

18 years agoUse __ASSEMBLER__ test macro not ASSEMBLER.
drepper [Thu, 25 Jul 2002 01:06:57 +0000 (01:06 +0000)]
Use __ASSEMBLER__ test macro not ASSEMBLER.

18 years agoUse __ASSEMBLER__ test macro not ASSEMBLER.
drepper [Thu, 25 Jul 2002 01:06:12 +0000 (01:06 +0000)]
Use __ASSEMBLER__ test macro not ASSEMBLER.

18 years agoUse __ASSEMBLER__ test macro not ASSEMBLER.
drepper [Thu, 25 Jul 2002 01:05:46 +0000 (01:05 +0000)]
Use __ASSEMBLER__ test macro not ASSEMBLER.

18 years ago(main): Remove unused variable.
drepper [Thu, 25 Jul 2002 00:49:15 +0000 (00:49 +0000)]
(main): Remove unused variable.

18 years ago(_IO_file_seekoff_mmap): Set fp->_offset after succesful seek call.
drepper [Thu, 25 Jul 2002 00:48:18 +0000 (00:48 +0000)]
(_IO_file_seekoff_mmap): Set fp->_offset after succesful seek call.
Simply error checking.

18 years ago.
roland [Wed, 24 Jul 2002 23:05:17 +0000 (23:05 +0000)]
.

18 years ago2002-07-19 Roland McGrath <roland@frob.com>
roland [Wed, 24 Jul 2002 23:05:08 +0000 (23:05 +0000)]
2002-07-19  Roland McGrath  <roland@frob.com>

* hurd/hurdsig.c (_hurdsig_getenv): Always return null if
__libc_enable_secure is set.

18 years agoFix typos.
roland [Wed, 24 Jul 2002 23:00:05 +0000 (23:00 +0000)]
Fix typos.

18 years agoItem for getifaddrs.
roland [Wed, 24 Jul 2002 22:59:16 +0000 (22:59 +0000)]
Item for getifaddrs.

18 years ago.
roland [Wed, 24 Jul 2002 22:56:44 +0000 (22:56 +0000)]
.

18 years ago2002-07-24 Roland McGrath <roland@frob.com>
roland [Wed, 24 Jul 2002 22:56:06 +0000 (22:56 +0000)]
2002-07-24  Roland McGrath  <roland@frob.com>

* resolv/res_hconf.c (_res_hconf_reorder_addrs): Use an explicit
socket call to get an AF_INET socket, instead of using __opensock.
The SIOCGIFNETMASK ioctl will work only with a PF_INET socket.
* sysdeps/generic/ifreq.h (__ifreq): Take third argument SOCKFD,
if not -1 use it instead of calling __opensock.
* sysdeps/unix/sysv/linux/ifreq.h (__ifreq): Likewise.
* sysdeps/mach/hurd/ifreq.h (__ifreq): Take new argument and ignore it.
* resolv/res_hconf.c (_res_hconf_reorder_addrs): Pass new argument.
* sysdeps/mach/hurd/ifreq.h: New file.
* sysdeps/generic/ifreq.h (__if_freereq): Take second argument NUM_IFS.
* sysdeps/unix/sysv/linux/ifreq.h (__if_freereq): Likewise.
* resolv/res_hconf.c (_res_hconf_reorder_addrs): Update caller.

18 years ago2002-07-24 Roland McGrath <roland@frob.com>
roland [Wed, 24 Jul 2002 22:56:04 +0000 (22:56 +0000)]
2002-07-24  Roland McGrath  <roland@frob.com>

Added <ifaddrs.h> interface with functions `getifaddrs', `freeifaddrs'.
This implementation supports only IPv4.
* inet/ifaddrs.h: New file.
* sysdeps/generic/ifaddrs.c: New file.
* sysdeps/gnu/ifaddrs.c: New file.
* inet/test-ifaddrs.c: New file.
* inet/Makefile (routines): Add ifaddrs.
(headers): Add ifaddrs.h here.
(tests): Add test-ifaddrs.
* inet/Versions (GLIBC_2.3): New set, add getifaddrs and freeifaddrs.

18 years ago2002-07-24 Roland McGrath <roland@frob.com>
roland [Wed, 24 Jul 2002 22:56:01 +0000 (22:56 +0000)]
2002-07-24  Roland McGrath  <roland@frob.com>

* sysdeps/generic/ifreq.h (__ifreq): Take third argument SOCKFD,
if not -1 use it instead of calling __opensock.
* sysdeps/unix/sysv/linux/ifreq.h (__ifreq): Likewise.
* sysdeps/mach/hurd/ifreq.h (__ifreq): Take new argument and ignore it.
* resolv/res_hconf.c (_res_hconf_reorder_addrs): Pass new argument.
* sysdeps/mach/hurd/ifreq.h: New file.
* sysdeps/generic/ifreq.h (__if_freereq): Take second argument NUM_IFS.
* sysdeps/unix/sysv/linux/ifreq.h (__if_freereq): Likewise.
* resolv/res_hconf.c (_res_hconf_reorder_addrs): Update caller.

18 years ago.
roland [Wed, 24 Jul 2002 22:54:53 +0000 (22:54 +0000)]
.

18 years ago2002-07-24 Roland McGrath <roland@frob.com>
roland [Wed, 24 Jul 2002 22:54:33 +0000 (22:54 +0000)]
2002-07-24  Roland McGrath  <roland@frob.com>

* libio/fileops.c (_IO_file_seekoff_mmap): Don't rely on FP->_offset,
which gets moved around.  Calculate size of mmap'd buffer instead.

18 years agoCosmetic edits.
roland [Wed, 24 Jul 2002 19:26:31 +0000 (19:26 +0000)]
Cosmetic edits.

18 years agoUpdate.
drepper [Wed, 24 Jul 2002 17:39:23 +0000 (17:39 +0000)]
Update.

18 years ago(PUSHARGS_1): Use more efficient instruction.
drepper [Wed, 24 Jul 2002 17:36:44 +0000 (17:36 +0000)]
(PUSHARGS_1): Use more efficient instruction.
(__socket): Optimize return sequence.

18 years agoImprove schedule.
drepper [Wed, 24 Jul 2002 17:36:14 +0000 (17:36 +0000)]
Improve schedule.

18 years agoUpdate.
drepper [Wed, 24 Jul 2002 11:51:16 +0000 (11:51 +0000)]
Update.

18 years ago(__opensock): Prefer inet sockets on old kernels.
drepper [Wed, 24 Jul 2002 11:50:06 +0000 (11:50 +0000)]
(__opensock): Prefer inet sockets on old kernels.

18 years agoUpdate.
drepper [Wed, 24 Jul 2002 11:18:48 +0000 (11:18 +0000)]
Update.

18 years agoRemove extra weak alias definiton of _old_sys_nerr. Define _old_sys_errlist
drepper [Wed, 24 Jul 2002 11:17:01 +0000 (11:17 +0000)]
Remove extra weak alias definiton of _old_sys_nerr.  Define _old_sys_errlist
as strong alias.

18 years agoUpdate.
drepper [Wed, 24 Jul 2002 11:16:27 +0000 (11:16 +0000)]
Update.

18 years ago(Using gettextized software): Remove documentation fo CEN format.
drepper [Wed, 24 Jul 2002 11:04:21 +0000 (11:04 +0000)]
(Using gettextized software): Remove documentation fo CEN format.

18 years ago(do_test): Add one more test for better coverage.
drepper [Wed, 24 Jul 2002 10:59:52 +0000 (10:59 +0000)]
(do_test): Add one more test for better coverage.

18 years agoUpdate.
drepper [Wed, 24 Jul 2002 10:44:53 +0000 (10:44 +0000)]
Update.

18 years ago(add_locale_to_archive): Correct test to detect duplicate locales.
drepper [Wed, 24 Jul 2002 10:43:17 +0000 (10:43 +0000)]
(add_locale_to_archive): Correct test to detect duplicate locales.

18 years agoRemove LONG_BITS definition.
drepper [Wed, 24 Jul 2002 10:41:06 +0000 (10:41 +0000)]
Remove LONG_BITS definition.

18 years agoMake more self-containedby defining LONG_BITS.
drepper [Wed, 24 Jul 2002 10:40:36 +0000 (10:40 +0000)]
Make more self-containedby defining LONG_BITS.

18 years ago(tests): Add bug-fseek.
drepper [Wed, 24 Jul 2002 10:36:37 +0000 (10:36 +0000)]
(tests): Add bug-fseek.

18 years agoTest for fseek bug wrt relative positioning.
drepper [Wed, 24 Jul 2002 10:36:01 +0000 (10:36 +0000)]
Test for fseek bug wrt relative positioning.

18 years ago(_IO_new_file_seekoff): Fail if relative position would be before beginning of
drepper [Wed, 24 Jul 2002 10:31:15 +0000 (10:31 +0000)]
(_IO_new_file_seekoff): Fail if relative position would be before beginning of
file.
(_IO_file_seekoff_mmap): Likewise.

18 years agoRemove support for CEN-style locale variables. It was never used and
drepper [Wed, 24 Jul 2002 10:07:07 +0000 (10:07 +0000)]
Remove support for CEN-style locale variables. It was never used and
shouldn't be since it's not portable.

18 years ago.
roland [Wed, 24 Jul 2002 09:35:24 +0000 (09:35 +0000)]
.

18 years ago2002-07-24 Roland McGrath <roland@frob.com>
roland [Wed, 24 Jul 2002 09:35:01 +0000 (09:35 +0000)]
2002-07-24  Roland McGrath  <roland@frob.com>

* libio/fileops.c (_IO_file_seekoff_mmap): When just examining the
position, calculate it to take into account an active pushback buffer.

18 years ago2002-07-24 Roland McGrath <roland@frob.com>
roland [Wed, 24 Jul 2002 09:34:59 +0000 (09:34 +0000)]
2002-07-24  Roland McGrath  <roland@frob.com>

* libio/Makefile (tests): Add bug-ungetc.
* libio/bug-ungetc.c: New file.

18 years agoMoved to misc/sys.
drepper [Tue, 23 Jul 2002 23:19:44 +0000 (23:19 +0000)]
Moved to misc/sys.

18 years agoUpdate.
drepper [Tue, 23 Jul 2002 23:12:01 +0000 (23:12 +0000)]
Update.

18 years ago (__pthread_initialize_minimal): If !SHARED and TLS call
drepper [Tue, 23 Jul 2002 23:11:00 +0000 (23:11 +0000)]
 (__pthread_initialize_minimal): If !SHARED and TLS call
 __libc_setup_tls first.

18 years agoTst for statically linked libphread.
drepper [Tue, 23 Jul 2002 23:09:25 +0000 (23:09 +0000)]
Tst for statically linked libphread.

18 years agoUpdate.
drepper [Tue, 23 Jul 2002 23:08:33 +0000 (23:08 +0000)]
Update.

18 years ago(__libc_start_main): Reorganize code for !SHARED. First look through
drepper [Tue, 23 Jul 2002 23:06:03 +0000 (23:06 +0000)]
(__libc_start_main): Reorganize code for !SHARED.  First look through
auxiliary vector.  If TLS always call __pthread_initialize_minimal.

18 years ago(_dl_allocate_tls): Make sure size argument in mmap call is never zero.
drepper [Tue, 23 Jul 2002 23:04:18 +0000 (23:04 +0000)]
(_dl_allocate_tls): Make sure size argument in mmap call is never zero.

18 years ago(routines): Add libc-tls.
drepper [Tue, 23 Jul 2002 23:02:38 +0000 (23:02 +0000)]
(routines): Add libc-tls.
(static-only-routines): Add libc-tls.

18 years agoInitialization for TLS data structures in statically linked binaries.
drepper [Tue, 23 Jul 2002 23:00:30 +0000 (23:00 +0000)]
Initialization for TLS data structures in statically linked binaries.

18 years ago(_dl_phdr): New variable.
drepper [Tue, 23 Jul 2002 22:59:19 +0000 (22:59 +0000)]
(_dl_phdr): New variable.
(_dl_phnum): New variable.
(_dl_aux_init): Initialize _dl_phdr and _dl_phnum from aux vector.

18 years agoFix whitespace.
aj [Tue, 23 Jul 2002 19:36:49 +0000 (19:36 +0000)]
Fix whitespace.

18 years agoUpdate.
aj [Tue, 23 Jul 2002 19:36:35 +0000 (19:36 +0000)]
Update.

18 years agoUse optimized version.
aj [Tue, 23 Jul 2002 19:36:20 +0000 (19:36 +0000)]
Use optimized version.