kopensolaris-gnu/glibc.git
17 years ago(thread): tv_nsec == 1000000000 is already overflow.
drepper [Mon, 26 Aug 2002 07:05:48 +0000 (07:05 +0000)]
(thread): tv_nsec == 1000000000 is already overflow.

17 years agoUpdate.
drepper [Mon, 26 Aug 2002 06:33:42 +0000 (06:33 +0000)]
Update.

17 years ago(lookup): Preserve errno value.
drepper [Mon, 26 Aug 2002 06:29:21 +0000 (06:29 +0000)]
(lookup): Preserve errno value.

17 years ago(lookup): Preserve errno value.
drepper [Mon, 26 Aug 2002 06:27:53 +0000 (06:27 +0000)]
(lookup): Preserve errno value.

17 years ago(lookup): Preserve errno value.
drepper [Mon, 26 Aug 2002 06:26:37 +0000 (06:26 +0000)]
(lookup): Preserve errno value.

17 years ago(lookup): Preserve errno value.
drepper [Mon, 26 Aug 2002 06:24:49 +0000 (06:24 +0000)]
(lookup): Preserve errno value.

17 years agoDon't set errno in case of lookup failure.
drepper [Mon, 26 Aug 2002 06:20:04 +0000 (06:20 +0000)]
Don't set errno in case of lookup failure.

17 years agoSave errno around NIS calls.
drepper [Mon, 26 Aug 2002 06:17:29 +0000 (06:17 +0000)]
Save errno around NIS calls.

17 years ago(REENTRANT_NAME): Return ENOENT if status is neither SUCCESS nor TRYAGAIN.
drepper [Mon, 26 Aug 2002 06:15:30 +0000 (06:15 +0000)]
(REENTRANT_NAME): Return ENOENT if status is neither SUCCESS nor TRYAGAIN.

17 years ago(internal_getent): Don't set *errnop to ENOENT if no entry is found.
drepper [Mon, 26 Aug 2002 04:21:05 +0000 (04:21 +0000)]
(internal_getent): Don't set *errnop to ENOENT if no entry is found.

17 years agoUpdate.
drepper [Mon, 26 Aug 2002 03:50:15 +0000 (03:50 +0000)]
Update.

17 years agoAvoid warnings by declaring __restore and __restore_rt as hidden (if possible).
drepper [Mon, 26 Aug 2002 03:44:17 +0000 (03:44 +0000)]
Avoid warnings by declaring __restore and __restore_rt as hidden (if possible).

17 years agoUpdate.
drepper [Mon, 26 Aug 2002 02:20:11 +0000 (02:20 +0000)]
Update.

17 years agoDon't print aliases for non-existing locales for 'locale -a'.
drepper [Mon, 26 Aug 2002 01:59:50 +0000 (01:59 +0000)]
Don't print aliases for non-existing locales for 'locale -a'.

17 years agoSysV message queue definitions for Linux/MIPS.
drepper [Mon, 26 Aug 2002 01:49:55 +0000 (01:49 +0000)]
SysV message queue definitions for Linux/MIPS.

17 years ago(sysdep_headers): Add sys/personality.h.
drepper [Mon, 26 Aug 2002 01:44:32 +0000 (01:44 +0000)]
(sysdep_headers): Add sys/personality.h.

17 years agoDefinitions for personality syscall.
drepper [Mon, 26 Aug 2002 01:43:44 +0000 (01:43 +0000)]
Definitions for personality syscall.

17 years ago.
roland [Mon, 26 Aug 2002 01:42:01 +0000 (01:42 +0000)]
.

17 years ago2002-08-25 Roland McGrath <roland@redhat.com>
roland [Mon, 26 Aug 2002 01:41:48 +0000 (01:41 +0000)]
2002-08-25  Roland McGrath  <roland@redhat.com>

* manual/llio.texi (Access Modes): Fix typos in O_READ/O_WRITE defns.

17 years ago(Setting an Alarm): Document that SA_RESTART must not be set when y
drepper [Mon, 26 Aug 2002 01:13:25 +0000 (01:13 +0000)]
(Setting an Alarm): Document that SA_RESTART must not be set when y
sycall has to be interrupted.

17 years ago.
roland [Sun, 25 Aug 2002 23:16:56 +0000 (23:16 +0000)]
.

17 years ago2002-08-25 Roland McGrath <roland@redhat.com>
roland [Sun, 25 Aug 2002 23:15:57 +0000 (23:15 +0000)]
2002-08-25  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/utmp_file.c (LOCK_FILE): Check for error from fcntl.
(getutent_r_file, internal_getut_r): Updated all callers.
(getutline_r_file, pututline_file, updwtmp_file): Likewise.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 22:34:57 +0000 (22:34 +0000)]
Update.

17 years ago(in_dso): Make sure the TLS variable access is not moved ahead of the
drepper [Sun, 25 Aug 2002 22:30:38 +0000 (22:30 +0000)]
(in_dso): Make sure the TLS variable access is not moved ahead of the
fputs call.

17 years ago(in_dso2): Make sure the TLS variable access is not moved ahead of the
drepper [Sun, 25 Aug 2002 22:29:42 +0000 (22:29 +0000)]
(in_dso2): Make sure the TLS variable access is not moved ahead of the
fputs call.

17 years ago(in_dso): Make sure the TLS variable access is not moved ahead of the
drepper [Sun, 25 Aug 2002 22:28:55 +0000 (22:28 +0000)]
(in_dso): Make sure the TLS variable access is not moved ahead of the
fputs call.

17 years ago(in_dso): Make sure the TLS variable access is not moved ahead of the
drepper [Sun, 25 Aug 2002 22:28:06 +0000 (22:28 +0000)]
(in_dso): Make sure the TLS variable access is not moved ahead of the
fputs call.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 22:01:27 +0000 (22:01 +0000)]
Update.

17 years ago(_dl_reloc_bad_type): Nul-terminate message.
drepper [Sun, 25 Aug 2002 21:52:49 +0000 (21:52 +0000)]
(_dl_reloc_bad_type): Nul-terminate message.

17 years ago.
roland [Sun, 25 Aug 2002 20:14:50 +0000 (20:14 +0000)]
.

17 years ago2002-08-25 Roland McGrath <roland@redhat.com>
roland [Sun, 25 Aug 2002 20:14:33 +0000 (20:14 +0000)]
2002-08-25  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/ldsodefs.h: Add attribute_hidden to *_internal decls.
(_dl_setup_hash): Add attribute_hidden.
(_dl_sysdep_start, _dl_sysdep_start_cleanup): Likewise.
(_dl_sysdep_read_whole_file, _dl_dprintf): Likewise.
(_dl_new_object, _dl_map_object_deps): Likewise.
(_dl_map_object_deps_internal): Remove decl.
* elf/rtld.c (__mempcpy, _exit): Redeclare locally as hidden.

17 years ago2002-08-25 Roland McGrath <roland@redhat.com>
roland [Sun, 25 Aug 2002 20:14:29 +0000 (20:14 +0000)]
2002-08-25  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/utmp_file.c (UNLOCK_FILE): Clear alarm before
resetting handler, to avoid the possibility of a spurious SIGALRM
delivered to the user's handler.
Reported by Amit D. Chaudhary <amitc@brocade.com>,

17 years ago2002-08-25 Roland McGrath <roland@redhat.com>
roland [Sun, 25 Aug 2002 20:14:27 +0000 (20:14 +0000)]
2002-08-25  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/dl-machine.h [PI_STATIC_AND_HIDDEN
&& HAVE_VISIBILITY_ATTRIBUTE && HAVE_HIDDEN
&& !HAVE_BROKEN_VISIBILITY_ATTRIBUTE]
(elf_machine_dynamic, elf_machine_load_address): Rewritten without asm,
instead relying on the compiler to produce only GOTOFF variable refs.

17 years ago2002-08-25 Roland McGrath <roland@redhat.com>
roland [Sun, 25 Aug 2002 20:14:26 +0000 (20:14 +0000)]
2002-08-25  Roland McGrath  <roland@redhat.com>

* misc/Makefile (CFLAGS-init-misc.c): Varaible removed.  It served to
set -fkeep-inline-functions, which is not needed for the current file.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 19:34:42 +0000 (19:34 +0000)]
Update.

17 years ago(thread_func): Make the compiler happy by adding a return statement
drepper [Sun, 25 Aug 2002 19:33:12 +0000 (19:33 +0000)]
(thread_func): Make the compiler happy by adding a return statement
which will never be reached.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 19:06:27 +0000 (19:06 +0000)]
Update.

17 years agoFix typo in comment. Add a few more __builtin_expect.
drepper [Sun, 25 Aug 2002 19:01:29 +0000 (19:01 +0000)]
Fix typo in comment.  Add a few more __builtin_expect.

17 years ago(Consistency Checking): assert_perror does nothing if NDEBUG is defined.
drepper [Sun, 25 Aug 2002 17:54:49 +0000 (17:54 +0000)]
(Consistency Checking): assert_perror does nothing if NDEBUG is defined.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 09:44:37 +0000 (09:44 +0000)]
Update.

17 years ago(_dl_cache_libcmp): Define as static inline to avoid defining it in
drepper [Sun, 25 Aug 2002 09:28:34 +0000 (09:28 +0000)]
(_dl_cache_libcmp): Define as static inline to avoid defining it in
every file which includes this header.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 09:02:59 +0000 (09:02 +0000)]
Update.

17 years agoAlso test for HAVE_VISIBILITY_ATTRIBUTE before defining DONT_USE_BOOTSTRAP_MAP.
drepper [Sun, 25 Aug 2002 09:00:41 +0000 (09:00 +0000)]
Also test for HAVE_VISIBILITY_ATTRIBUTE before defining DONT_USE_BOOTSTRAP_MAP.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 08:44:43 +0000 (08:44 +0000)]
Update.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 08:42:12 +0000 (08:42 +0000)]
Update.

17 years ago(main): Cast to long before casting to pointer.
drepper [Sun, 25 Aug 2002 08:41:09 +0000 (08:41 +0000)]
(main): Cast to long before casting to pointer.

17 years ago(main): Use correct format string.
drepper [Sun, 25 Aug 2002 08:38:48 +0000 (08:38 +0000)]
(main): Use correct format string.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 08:37:11 +0000 (08:37 +0000)]
Update.

17 years ago(thread): Remove incorrect return statement.
drepper [Sun, 25 Aug 2002 08:36:11 +0000 (08:36 +0000)]
(thread): Remove incorrect return statement.

17 years ago(main): Use correct formats.
drepper [Sun, 25 Aug 2002 08:27:08 +0000 (08:27 +0000)]
(main): Use correct formats.

17 years ago(main): Use correct formats.
drepper [Sun, 25 Aug 2002 08:22:55 +0000 (08:22 +0000)]
(main): Use correct formats.

17 years ago(main): Use correct formats.
drepper [Sun, 25 Aug 2002 08:18:49 +0000 (08:18 +0000)]
(main): Use correct formats.

17 years ago(do_test): Use correct format in error message.
drepper [Sun, 25 Aug 2002 08:09:59 +0000 (08:09 +0000)]
(do_test): Use correct format in error message.

17 years ago(do_test): Use correct format in error message.
drepper [Sun, 25 Aug 2002 08:09:26 +0000 (08:09 +0000)]
(do_test): Use correct format in error message.

17 years ago(do_test): Use correct format in error message.
drepper [Sun, 25 Aug 2002 08:08:55 +0000 (08:08 +0000)]
(do_test): Use correct format in error message.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 08:07:31 +0000 (08:07 +0000)]
Update.

17 years agoUse correct format in test result printing code.
drepper [Sun, 25 Aug 2002 08:06:37 +0000 (08:06 +0000)]
Use correct format in test result printing code.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 07:22:45 +0000 (07:22 +0000)]
Update.

17 years agoAdd PI_STATIC_AND_HIDDEN entry.
drepper [Sun, 25 Aug 2002 07:20:43 +0000 (07:20 +0000)]
Add PI_STATIC_AND_HIDDEN entry.

17 years agoRegenerated.
drepper [Sun, 25 Aug 2002 07:20:16 +0000 (07:20 +0000)]
Regenerated.

17 years agoUnconditionally define PI_STATIC_AND_HIDDEN.
drepper [Sun, 25 Aug 2002 07:19:55 +0000 (07:19 +0000)]
Unconditionally define PI_STATIC_AND_HIDDEN.

17 years ago(DONT_USE_BOOTSTRAP_MAP): Define only if PI_STATIC_AND_HIDDEN is
drepper [Sun, 25 Aug 2002 07:18:52 +0000 (07:18 +0000)]
(DONT_USE_BOOTSTRAP_MAP): Define only if PI_STATIC_AND_HIDDEN is
defined as well.
(dl_main): Add casts to avoid warnings.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 05:27:13 +0000 (05:27 +0000)]
Update.

17 years agoDefine __bzero as well.
drepper [Sun, 25 Aug 2002 05:25:12 +0000 (05:25 +0000)]
Define __bzero as well.

17 years agoUpdate.
drepper [Sun, 25 Aug 2002 04:51:08 +0000 (04:51 +0000)]
Update.

17 years agoAdd casts to avoid warnings.
drepper [Sun, 25 Aug 2002 04:48:27 +0000 (04:48 +0000)]
Add casts to avoid warnings.

17 years ago(process_block): Add casts to avoid warnings.
drepper [Sun, 25 Aug 2002 04:47:43 +0000 (04:47 +0000)]
(process_block): Add casts to avoid warnings.

17 years ago(charmap_new_char): Don't use ULONG_MAX as maximum UCS4 value.
drepper [Sun, 25 Aug 2002 04:47:11 +0000 (04:47 +0000)]
(charmap_new_char): Don't use ULONG_MAX as maximum UCS4 value.

17 years ago(get_toplvl_escape): Add cast to avoid warning.
drepper [Sun, 25 Aug 2002 04:38:09 +0000 (04:38 +0000)]
(get_toplvl_escape): Add cast to avoid warning.

17 years ago(charmap_read): Add cast to avoid warning.
drepper [Sun, 25 Aug 2002 04:18:18 +0000 (04:18 +0000)]
(charmap_read): Add cast to avoid warning.

17 years ago(HP_TIMING_PRINT): Add cast to avoid warning.
drepper [Sun, 25 Aug 2002 04:14:44 +0000 (04:14 +0000)]
(HP_TIMING_PRINT): Add cast to avoid warning.

17 years ago(load_profdata): Add cast to avoid warning.
drepper [Sun, 25 Aug 2002 04:13:28 +0000 (04:13 +0000)]
(load_profdata): Add cast to avoid warning.

17 years ago(process_file): Add casts to avoid warning.
drepper [Sun, 25 Aug 2002 04:11:55 +0000 (04:11 +0000)]
(process_file): Add casts to avoid warning.

17 years ago(_dl_debug_vdprintf): Add cast to avoid warning.
drepper [Sun, 25 Aug 2002 04:10:20 +0000 (04:10 +0000)]
(_dl_debug_vdprintf): Add cast to avoid warning.

17 years agoAdd casts to avoid warnings.
drepper [Sun, 25 Aug 2002 04:08:50 +0000 (04:08 +0000)]
Add casts to avoid warnings.

17 years agoLinux/IA-64 version of <sys/user.h>.
drepper [Sun, 25 Aug 2002 03:57:38 +0000 (03:57 +0000)]
Linux/IA-64 version of <sys/user.h>.

17 years ago(fcvt_r): Add casts to avoid warnings.
drepper [Sun, 25 Aug 2002 03:56:38 +0000 (03:56 +0000)]
(fcvt_r): Add casts to avoid warnings.

17 years agoAdd casts to avoid warning.
drepper [Sun, 25 Aug 2002 03:08:01 +0000 (03:08 +0000)]
Add casts to avoid warning.

17 years agoWe don't need the isascii test in glibc.
drepper [Sun, 25 Aug 2002 02:59:12 +0000 (02:59 +0000)]
We don't need the isascii test in glibc.

17 years ago(public_sET_STATe): use size_t as type for i.
drepper [Sun, 25 Aug 2002 02:56:18 +0000 (02:56 +0000)]
(public_sET_STATe): use size_t as type for i.

17 years ago(mALLINFo): Use size_t as type for i.
drepper [Sun, 25 Aug 2002 02:55:35 +0000 (02:55 +0000)]
(mALLINFo): Use size_t as type for i.

17 years agoAdd casts to avoid warnings.
drepper [Sun, 25 Aug 2002 02:50:46 +0000 (02:50 +0000)]
Add casts to avoid warnings.

17 years agoAdd castst to avoid warnings.
drepper [Sun, 25 Aug 2002 02:47:57 +0000 (02:47 +0000)]
Add castst to avoid warnings.

17 years ago(_IO_wstr_pbackfail): Use WEOF in comparison.
drepper [Sun, 25 Aug 2002 02:44:57 +0000 (02:44 +0000)]
(_IO_wstr_pbackfail): Use WEOF in comparison.

17 years ago(_IO_wfile_overflow): Use EOF not WEOF when examining result of
drepper [Sun, 25 Aug 2002 02:44:24 +0000 (02:44 +0000)]
(_IO_wfile_overflow): Use EOF not WEOF when examining result of
_IO_do_flush call.

17 years ago(inchar): Add cast to avoid warnings.
drepper [Sun, 25 Aug 2002 02:40:59 +0000 (02:40 +0000)]
(inchar): Add cast to avoid warnings.

17 years ago(vfprintf): Use correct type in va_arg. Use prec not spec when sizing buffers.
drepper [Sun, 25 Aug 2002 01:18:41 +0000 (01:18 +0000)]
(vfprintf): Use correct type in va_arg.  Use prec not spec when sizing buffers.

17 years ago(__open_catalog): Add casts to avoid warnings.
drepper [Sun, 25 Aug 2002 00:55:57 +0000 (00:55 +0000)]
(__open_catalog): Add casts to avoid warnings.

17 years ago(_nl_load_locale_from_archive): Add cast to avoid warning.
drepper [Sun, 25 Aug 2002 00:52:08 +0000 (00:52 +0000)]
(_nl_load_locale_from_archive): Add cast to avoid warning.

17 years ago(_nl_intern_locale_data): Add cast to avoid warning.
drepper [Sun, 25 Aug 2002 00:48:37 +0000 (00:48 +0000)]
(_nl_intern_locale_data): Add cast to avoid warning.

17 years agoDefine _ASM_IA64_CURRENT_H macro to calm down the compiler.
drepper [Sun, 25 Aug 2002 00:43:37 +0000 (00:43 +0000)]
Define _ASM_IA64_CURRENT_H macro to calm down the compiler.

17 years ago(__gconv_load_cache): Add cast to avoid warning.
drepper [Sun, 25 Aug 2002 00:40:15 +0000 (00:40 +0000)]
(__gconv_load_cache): Add cast to avoid warning.

17 years ago(__asm__): Don't use newlines embedded in string.
drepper [Sun, 25 Aug 2002 00:34:23 +0000 (00:34 +0000)]
(__asm__): Don't use newlines embedded in string.

17 years agoUpdate comment regarding placement of errno definition.
drepper [Sat, 24 Aug 2002 23:26:46 +0000 (23:26 +0000)]
Update comment regarding placement of errno definition.

17 years ago(MAXPACKET): Increase minimum value from 1024 to 65536, to avoid buffer overrun.
drepper [Sat, 24 Aug 2002 22:29:11 +0000 (22:29 +0000)]
(MAXPACKET): Increase minimum value from 1024 to 65536, to avoid buffer overrun.

17 years agoUpdate.
aj [Sat, 24 Aug 2002 06:48:07 +0000 (06:48 +0000)]
Update.

17 years ago Remove *xattr syscalls.
aj [Sat, 24 Aug 2002 06:47:55 +0000 (06:47 +0000)]
 Remove *xattr syscalls.

17 years agoUpdate.
drepper [Sat, 24 Aug 2002 03:35:35 +0000 (03:35 +0000)]
Update.

17 years agoDefine LINUXTHREADS_VERSION.
drepper [Sat, 24 Aug 2002 03:34:32 +0000 (03:34 +0000)]
Define LINUXTHREADS_VERSION.

17 years ago(symbol_list_arr): Add LINUXTHREADS_VERSION string.
drepper [Sat, 24 Aug 2002 03:33:41 +0000 (03:33 +0000)]
(symbol_list_arr): Add LINUXTHREADS_VERSION string.