kopensolaris-gnu/glibc.git
20 years ago(_dl_fini): Bump l_opencount of all objects so that they are not dlclose()ed
drepper [Mon, 8 May 2000 15:28:36 +0000 (15:28 +0000)]
(_dl_fini): Bump l_opencount of all objects so that they are not dlclose()ed
from underneath us.

20 years agoUpdate.
drepper [Mon, 8 May 2000 15:22:18 +0000 (15:22 +0000)]
Update.

20 years agoFix size parameter of memcpy.
drepper [Mon, 8 May 2000 15:21:25 +0000 (15:21 +0000)]
Fix size parameter of memcpy.

20 years ago.
schwab [Mon, 8 May 2000 15:03:08 +0000 (15:03 +0000)]
.

20 years agoNew file. Use getpagesize syscall if available.
schwab [Mon, 8 May 2000 15:01:07 +0000 (15:01 +0000)]
New file.  Use getpagesize syscall if available.

20 years agoUpdate.
aj [Mon, 8 May 2000 14:04:59 +0000 (14:04 +0000)]
Update.

20 years ago2000-05-08 Andreas Jaeger <aj@suse.de>
aj [Mon, 8 May 2000 14:03:14 +0000 (14:03 +0000)]
2000-05-08  Andreas Jaeger  <aj@suse.de>

* sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
set errno.

20 years agoUpdate.
aj [Mon, 8 May 2000 13:04:31 +0000 (13:04 +0000)]
Update.

20 years ago2000-05-08 Jakub Jelinek <jakub@redhat.com>
aj [Mon, 8 May 2000 12:59:12 +0000 (12:59 +0000)]
2000-05-08  Jakub Jelinek  <jakub@redhat.com>

* elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
sizeof(struct link_map *) chunks, not in bytes.

20 years agoUpdate.
drepper [Mon, 8 May 2000 05:02:46 +0000 (05:02 +0000)]
Update.

20 years ago(locale-CPPFLAGS): Renamed from CPPFLAGS. It's only needed for locale.
drepper [Mon, 8 May 2000 05:01:58 +0000 (05:01 +0000)]
(locale-CPPFLAGS): Renamed from CPPFLAGS.  It's only needed for locale.

20 years ago(catgets-CPPFLAGS): Renamed from CPPFLAGS. It's only needed for catgets.
drepper [Mon, 8 May 2000 05:00:28 +0000 (05:00 +0000)]
(catgets-CPPFLAGS): Renamed from CPPFLAGS.  It's only needed for catgets.

20 years agoUpdate.
drepper [Mon, 8 May 2000 04:50:45 +0000 (04:50 +0000)]
Update.

20 years agoAdd and tweak some comments.
drepper [Mon, 8 May 2000 04:49:58 +0000 (04:49 +0000)]
Add and tweak some comments.
(DBT): Move typedef before NSS_DBC typedef.
(NSS_DBC, NSS_DB): Use DBT in function member parameter lists.

20 years agoAdd copyright notice. Improve documentation.
drepper [Mon, 8 May 2000 04:49:44 +0000 (04:49 +0000)]
Add copyright notice.  Improve documentation.
(struct dbc24, struct dbc27): Use DBT type in parameter lists for
c_get function member.

20 years agoCleanup and add comments. Pretty print.
drepper [Mon, 8 May 2000 04:49:20 +0000 (04:49 +0000)]
Cleanup and add comments.  Pretty print.
Remove duplicate <errno.h> include.  Remove inclusion of
<libintl.h> and "nsswitch.h".
(set_cloexec_flag): New function, broken out of dbopen.
(dbopen): Changed return type to `enum
nss_status'.  Mostly rewritten to make sure that we do not report
NSS_STATUS_SUCCESS if something went wrong.  Remove unnecessary casts.
(internal_setent): Change return type to nss_status.
Document, and make sure that the function
behaves accordingly.  Make dynamically loading the database
library really thread-safe and return NSS_STATUS_UNAVAIL if it
failed.
(db_cursor): Return ENOMEM is memory allocation failed.  Remove
unecessary casts.

20 years ago(_nl_find_msg): Pretty print.
drepper [Mon, 8 May 2000 00:43:21 +0000 (00:43 +0000)]
(_nl_find_msg): Pretty print.

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

20 years ago(initfini.c): Set vpath to $(full_config_sysdirs).
drepper [Mon, 8 May 2000 00:02:13 +0000 (00:02 +0000)]
(initfini.c): Set vpath to $(full_config_sysdirs).

20 years agoMagic code to generate startup files.
drepper [Mon, 8 May 2000 00:00:13 +0000 (00:00 +0000)]
Magic code to generate startup files.

20 years agoMoved to sysdeps/generic.
drepper [Sun, 7 May 2000 23:59:50 +0000 (23:59 +0000)]
Moved to sysdeps/generic.

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

20 years agoUpdated documentation about pthread_once to clarify what happens under
drepper [Sun, 7 May 2000 23:58:08 +0000 (23:58 +0000)]
Updated documentation about pthread_once to clarify what happens under
cancellation and forking.

20 years agoDeclarations of new mutex.c functions added.
drepper [Sun, 7 May 2000 23:57:48 +0000 (23:57 +0000)]
Declarations of new mutex.c functions added.
Declaration of removed function deleted.

20 years ago(__fork): Call new handlers in mutex.c.
drepper [Sun, 7 May 2000 23:57:33 +0000 (23:57 +0000)]
(__fork): Call new handlers in mutex.c.

20 years ago(pthread_once): IN_PROGRESS state of pthread_once_t
drepper [Sun, 7 May 2000 23:57:20 +0000 (23:57 +0000)]
(pthread_once): IN_PROGRESS state of pthread_once_t
object state is represented with additional bits which distinguish
whether that state was set up in the current process, or
in an ancestor process. If that state was set in an ancestor,
it means that a fork happened while thread was executing the init
function. In that case, the state is reset to NEVER.

(__pthread_once_fork_prepare): New function.
(__pthread_once_fork_child): Likewise
(__pthread_once_fork_parent): Likewise
(__pthread_reset_pthread_once): Removed.

20 years agoUpdate.
drepper [Sun, 7 May 2000 23:11:01 +0000 (23:11 +0000)]
Update.

20 years agoDocument POSIX scheduling functions.
drepper [Sun, 7 May 2000 23:10:28 +0000 (23:10 +0000)]
Document POSIX scheduling functions.

20 years agoUpdate.
drepper [Sun, 7 May 2000 22:40:26 +0000 (22:40 +0000)]
Update.

20 years ago(rcmd_af): errno is not set if read returns without reading anything.
drepper [Sun, 7 May 2000 22:39:44 +0000 (22:39 +0000)]
(rcmd_af): errno is not set if read returns without reading anything.

20 years agoUpdate.
drepper [Sun, 7 May 2000 22:33:59 +0000 (22:33 +0000)]
Update.

20 years ago(__memccpy): Don't use reg_char type for x since promotion in comparison
drepper [Sun, 7 May 2000 22:33:10 +0000 (22:33 +0000)]
(__memccpy): Don't use reg_char type for x since promotion in comparison
might leads to unexpected results.

20 years agoUpdate.
drepper [Sun, 7 May 2000 22:04:36 +0000 (22:04 +0000)]
Update.

20 years ago(ucs4_internal_loop): Prefer reporting empty input buffer over full output
drepper [Sun, 7 May 2000 22:03:57 +0000 (22:03 +0000)]
(ucs4_internal_loop): Prefer reporting empty input buffer over full output
buffer.
(ucs4_internal_loop_unaligned): Likewise.
(internal_ucs4le_loop): Likewise.
(internal_ucs4le_loop_unaligned): Likewise.
(ucs4le_internal_loop): Likewise.
(ucs4le_internal_loop_unaligned): Likewise.

20 years agoUpdate.
drepper [Sun, 7 May 2000 22:00:43 +0000 (22:00 +0000)]
Update.

20 years ago(internal_ucs4_loop): Perfer reporting empty input buffer over full
drepper [Sun, 7 May 2000 21:59:57 +0000 (21:59 +0000)]
(internal_ucs4_loop): Perfer reporting empty input buffer over full
output buffer.

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

20 years ago(tests): Add tst-iconv1.
drepper [Sun, 7 May 2000 21:57:06 +0000 (21:57 +0000)]
(tests): Add tst-iconv1.

20 years agoTest case for iconv.
drepper [Sun, 7 May 2000 21:56:53 +0000 (21:56 +0000)]
Test case for iconv.

20 years agoUpdate.
drepper [Sun, 7 May 2000 21:23:56 +0000 (21:23 +0000)]
Update.

20 years ago(struct file_entry_new): New.
drepper [Sun, 7 May 2000 21:23:35 +0000 (21:23 +0000)]
(struct file_entry_new): New.
(struct cache_file_new): New.
(struct file_entry): New (moved from cache.c).
(struct cache_file): New (moved from cache.c).

20 years ago(SEARCH_CACHE): New macro, broken out from _dl_load_cache_lookup.
drepper [Sun, 7 May 2000 21:23:20 +0000 (21:23 +0000)]
(SEARCH_CACHE): New macro, broken out from _dl_load_cache_lookup.
(_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
the different cache formats.
New variable cache_new for new format.
(_dl_cache_libcmp): Moved to dl-cache.h.
(LD_SO_CACHE): Likewise.
(CACHEMAGIC):  Likewise.

20 years agoTest program for exit code handling.
drepper [Sun, 7 May 2000 21:22:32 +0000 (21:22 +0000)]
Test program for exit code handling.

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

20 years ago(__pthread_manager): Do not terminate manager after unblocking main
drepper [Sun, 7 May 2000 21:21:49 +0000 (21:21 +0000)]
(__pthread_manager): Do not terminate manager after unblocking main
thread; wait for main thread's REQ_PROCESS_EXIT request instead.
Also, added REQ_KICK case to handle new request; this just does
nothing.

(pthread_exited): Do not terminate manager after unblocking main
thread.

(__pthread_manager_sighandler): If the main thread is waiting for all
other threads to die, send a REQ_KICK into the thread manager request
pipe to get it to clean out the threads and unblock the main thread as
soon as possible. This fixes the 2000 millisecond hang on shutdown
bug.

20 years ago(pthread_exit): main thread now calls exit() instead of _exit() in
drepper [Sun, 7 May 2000 21:21:22 +0000 (21:21 +0000)]
(pthread_exit): main thread now calls exit() instead of _exit() in
order to proper process cleanup.

20 years agoNew thread manager request type, REQ_KICK.
drepper [Sun, 7 May 2000 21:21:10 +0000 (21:21 +0000)]
New thread manager request type, REQ_KICK.

20 years ago(tests): Add ex7.
drepper [Sun, 7 May 2000 21:20:56 +0000 (21:20 +0000)]
(tests): Add ex7.

20 years ago(main): Disable possibly existing LC_CTYPE and OUTPUT_CHARSET
drepper [Sun, 7 May 2000 21:20:12 +0000 (21:20 +0000)]
(main): Disable possibly existing LC_CTYPE and OUTPUT_CHARSET
environment variables.

20 years agoChange according to changes in cache.c and ldconfig.c; remove
drepper [Sun, 7 May 2000 21:20:01 +0000 (21:20 +0000)]
Change according to changes in cache.c and ldconfig.c; remove
cache_libcmp; add opt_format.

20 years agoInclude "dl-cache.h" and "dl-procinfo.h"; remove stuff that's defined
drepper [Sun, 7 May 2000 21:19:47 +0000 (21:19 +0000)]
Include "dl-cache.h" and "dl-procinfo.h"; remove stuff that's defined
in those headers.
Add hwcap to struct lib_entry.
(opt_format): New variable to select cache format.
(options): Add format parameter.
(is_hwcap): New function.
(path_hwcap): New function.
(parse_opt): Handle new format parameter.
(search_dir): Handle hwcap, search also subdirectories with hwcap.

20 years ago(_GNU_SOURCE): Removed. Not needed anymore since ldconfig is part of glibc.
drepper [Sun, 7 May 2000 21:19:22 +0000 (21:19 +0000)]
(_GNU_SOURCE): Removed.  Not needed anymore since ldconfig is part of glibc.
Include dl-cache.h and remove stuff that's defined there.
(struct cache_entry): Add new member hwcap.
(print_entry): Print hwcap, cleanup a bit.
(print_cache): Print new and old formats.
(compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
(save_cache): Save new and old formats.
(add_to_cache): Handle hwcap.

20 years ago(__gconv_open): If __gconv_find_transform returned != __GCONV_OK, there is
drepper [Sun, 7 May 2000 20:07:29 +0000 (20:07 +0000)]
(__gconv_open): If __gconv_find_transform returned != __GCONV_OK, there is
nothing to clean up.

20 years ago(alignof): New macro.
drepper [Sun, 7 May 2000 19:49:33 +0000 (19:49 +0000)]
(alignof): New macro.
(_nl_find_msg): Use it instead of __alignof__. Pass correct output
buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
freemem_size to 0.

20 years ago(dcigettext): Fix interpretation of tsearch return value.
drepper [Sun, 7 May 2000 19:32:30 +0000 (19:32 +0000)]
(dcigettext): Fix interpretation of tsearch return value.

20 years agoRemoved conflict marker.
aj [Sun, 7 May 2000 14:13:21 +0000 (14:13 +0000)]
Removed conflict marker.

20 years agoUpdate.
drepper [Sat, 6 May 2000 17:57:43 +0000 (17:57 +0000)]
Update.

20 years ago(DCIGETTEXT): Always define local variable `index'.
drepper [Sat, 6 May 2000 17:54:58 +0000 (17:54 +0000)]
(DCIGETTEXT): Always define local variable `index'.
(mempcpy): Correct typo is parameter list.

20 years agoUpdate.
aj [Sat, 6 May 2000 07:46:31 +0000 (07:46 +0000)]
Update.

20 years ago2000-05-06 Andreas Jaeger <aj@suse.de>
aj [Sat, 6 May 2000 07:46:06 +0000 (07:46 +0000)]
2000-05-06  Andreas Jaeger  <aj@suse.de>

* sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
functions unless -ffast-math is given to gcc.

20 years agoUpdate.
drepper [Sat, 6 May 2000 07:07:02 +0000 (07:07 +0000)]
Update.

20 years agoNew version from translator.
drepper [Sat, 6 May 2000 07:06:27 +0000 (07:06 +0000)]
New version from translator.

20 years ago2000-05-05 Andreas Jaeger <aj@suse.de>
aj [Fri, 5 May 2000 21:32:19 +0000 (21:32 +0000)]
2000-05-05  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/i386/getcpuclockid.c
(pthread_getcpuclockid): Correct test for ourselves.

20 years agoUpdate.
drepper [Fri, 5 May 2000 20:48:16 +0000 (20:48 +0000)]
Update.

20 years agotcgetattr implementation on top of AIX with Linux interface.
drepper [Fri, 5 May 2000 20:48:04 +0000 (20:48 +0000)]
tcgetattr implementation on top of AIX with Linux interface.

20 years agoFix typos.
drepper [Fri, 5 May 2000 20:47:31 +0000 (20:47 +0000)]
Fix typos.

20 years agoAdditional files for Linux emulation on AIX.
drepper [Fri, 5 May 2000 20:29:17 +0000 (20:29 +0000)]
Additional files for Linux emulation on AIX.

20 years agoUpdate.
drepper [Fri, 5 May 2000 20:03:03 +0000 (20:03 +0000)]
Update.

20 years agotcsetattr implementation on top of AIX with Linux interface.
drepper [Fri, 5 May 2000 20:02:57 +0000 (20:02 +0000)]
tcsetattr implementation on top of AIX with Linux interface.

20 years agoRoutines to convert AIX stat to Linux form.
drepper [Fri, 5 May 2000 20:02:31 +0000 (20:02 +0000)]
Routines to convert AIX stat to Linux form.

20 years agoRoutines to convert AIX errno value to Linux value.
drepper [Fri, 5 May 2000 20:02:18 +0000 (20:02 +0000)]
Routines to convert AIX errno value to Linux value.

20 years agoRoutines to convert AIX dirent to Linux form.
drepper [Fri, 5 May 2000 20:02:01 +0000 (20:02 +0000)]
Routines to convert AIX dirent to Linux form.

20 years agoAIX termios definitions.
drepper [Fri, 5 May 2000 20:01:36 +0000 (20:01 +0000)]
AIX termios definitions.

20 years agoAIX stat definitions.
drepper [Fri, 5 May 2000 20:01:18 +0000 (20:01 +0000)]
AIX stat definitions.

20 years agoAIX errno definitions.
drepper [Fri, 5 May 2000 20:00:57 +0000 (20:00 +0000)]
AIX errno definitions.

20 years agoAIX dirent definitions.
drepper [Fri, 5 May 2000 20:00:38 +0000 (20:00 +0000)]
AIX dirent definitions.

20 years agoMoved to sysdeps/unix/sysv/linux/powerpc/aix.
drepper [Fri, 5 May 2000 19:54:08 +0000 (19:54 +0000)]
Moved to sysdeps/unix/sysv/linux/powerpc/aix.

20 years agoUpdate.
drepper [Fri, 5 May 2000 16:49:44 +0000 (16:49 +0000)]
Update.

20 years agoType definition for Linux/IA-64.
drepper [Fri, 5 May 2000 16:49:02 +0000 (16:49 +0000)]
Type definition for Linux/IA-64.

20 years agoEndian definition for Linux/IA-64.
drepper [Fri, 5 May 2000 16:48:55 +0000 (16:48 +0000)]
Endian definition for Linux/IA-64.

20 years agoELF definitions for Linux/IA-64.
drepper [Fri, 5 May 2000 16:48:43 +0000 (16:48 +0000)]
ELF definitions for Linux/IA-64.

20 years agoLow-level system definitions for Linux/IA-64.
drepper [Fri, 5 May 2000 16:48:23 +0000 (16:48 +0000)]
Low-level system definitions for Linux/IA-64.

20 years agosyscall function implementation for Linux/IA-64.
drepper [Fri, 5 May 2000 16:46:25 +0000 (16:46 +0000)]
syscall function implementation for Linux/IA-64.

20 years agofetestexcept implementation for IA-64.
drepper [Fri, 5 May 2000 16:45:12 +0000 (16:45 +0000)]
fetestexcept implementation for IA-64.

20 years agofesetexceptflag implementation for IA-64.
drepper [Fri, 5 May 2000 16:45:02 +0000 (16:45 +0000)]
fesetexceptflag implementation for IA-64.

20 years agoferaiseexcept implementation for IA-64.
drepper [Fri, 5 May 2000 16:44:52 +0000 (16:44 +0000)]
feraiseexcept implementation for IA-64.

20 years agofegetexceptflag implementation for IA-64.
drepper [Fri, 5 May 2000 16:44:41 +0000 (16:44 +0000)]
fegetexceptflag implementation for IA-64.

20 years agofeupdateenv implementation for IA-64.
drepper [Fri, 5 May 2000 16:44:26 +0000 (16:44 +0000)]
feupdateenv implementation for IA-64.

20 years agofesetround implementation for IA-64.
drepper [Fri, 5 May 2000 16:44:15 +0000 (16:44 +0000)]
fesetround implementation for IA-64.

20 years agofesetenv implementation for IA-64.
drepper [Fri, 5 May 2000 16:44:06 +0000 (16:44 +0000)]
fesetenv implementation for IA-64.

20 years agofeholdexcept implementation for IA-64.
drepper [Fri, 5 May 2000 16:43:58 +0000 (16:43 +0000)]
feholdexcept implementation for IA-64.

20 years agofegetround implementation for IA-64.
drepper [Fri, 5 May 2000 16:43:48 +0000 (16:43 +0000)]
fegetround implementation for IA-64.

20 years agofegetexcept implementation for IA-64.
drepper [Fri, 5 May 2000 16:43:39 +0000 (16:43 +0000)]
fegetexcept implementation for IA-64.

20 years agofegetenv implementation for IA-64.
drepper [Fri, 5 May 2000 16:43:30 +0000 (16:43 +0000)]
fegetenv implementation for IA-64.

20 years agofeenableexcept implementation for IA-64.
drepper [Fri, 5 May 2000 16:43:21 +0000 (16:43 +0000)]
feenableexcept implementation for IA-64.

20 years agofedisableexcept implementation for IA-64.
drepper [Fri, 5 May 2000 16:43:11 +0000 (16:43 +0000)]
fedisableexcept implementation for IA-64.

20 years agofeclearexcept implementation for IA-64.
drepper [Fri, 5 May 2000 16:43:00 +0000 (16:43 +0000)]
feclearexcept implementation for IA-64.

20 years agokELF startup code for IA-64.
drepper [Fri, 5 May 2000 16:42:39 +0000 (16:42 +0000)]
kELF startup code for IA-64.

20 years agoFloating point environment definitions.
drepper [Fri, 5 May 2000 16:42:28 +0000 (16:42 +0000)]
Floating point environment definitions.

20 years agoDefinitions for memprof implementation.
drepper [Fri, 5 May 2000 16:42:13 +0000 (16:42 +0000)]
Definitions for memprof implementation.