kopensolaris-gnu/glibc.git
23 years agoPretty print.
drepper [Sun, 10 Aug 1997 17:25:31 +0000 (17:25 +0000)]
Pretty print.

23 years agoAdd xdr_sizeof prototype.
drepper [Sun, 10 Aug 1997 17:24:44 +0000 (17:24 +0000)]
Add xdr_sizeof prototype.

23 years agoXDR function from TIrpc 2.3.
drepper [Sun, 10 Aug 1997 17:24:33 +0000 (17:24 +0000)]
XDR function from TIrpc 2.3.

23 years agoAdd xdr_sizeof to routines.
drepper [Sun, 10 Aug 1997 17:24:13 +0000 (17:24 +0000)]
Add xdr_sizeof to routines.

23 years agoAdd tests for stpcpy.
drepper [Sun, 10 Aug 1997 17:23:53 +0000 (17:23 +0000)]
Add tests for stpcpy.

23 years agoCompare result of mmap with MAP_FAILED and not -1.
drepper [Sun, 10 Aug 1997 17:23:29 +0000 (17:23 +0000)]
Compare result of mmap with MAP_FAILED and not -1.

23 years ago(internal_setent): If opening of file failed with EGAIN return
drepper [Sun, 10 Aug 1997 17:22:23 +0000 (17:22 +0000)]
(internal_setent): If opening of file failed with EGAIN return
NSS_STATUS_TRYAGAIN.

23 years ago(internal_setent): If opening of file failed with EGAIN return
drepper [Sun, 10 Aug 1997 17:22:03 +0000 (17:22 +0000)]
(internal_setent): If opening of file failed with EGAIN return
NSS_STATUS_TRYAGAIN.

23 years agoReplace dummy functions.
drepper [Sun, 10 Aug 1997 17:19:40 +0000 (17:19 +0000)]
Replace dummy functions.

23 years ago(headers): Remove bits/nislib.h.
drepper [Sun, 10 Aug 1997 17:19:25 +0000 (17:19 +0000)]
(headers): Remove bits/nislib.h.

23 years agoUpdate.
drepper [Sun, 10 Aug 1997 17:19:05 +0000 (17:19 +0000)]
Update.

23 years ago(feenv_nomask_test): Don't execute if FE_NOMASK_ENV is not defined, or
drepper [Sun, 10 Aug 1997 17:18:26 +0000 (17:18 +0000)]
(feenv_nomask_test): Don't execute if FE_NOMASK_ENV is not defined, or
if fesetenv(FE_NOMASK_ENV) sets errno to ENOSYS.

23 years ago(cbrt_test): Add test for number with aboslute value < 1.0.
drepper [Sun, 10 Aug 1997 17:17:45 +0000 (17:17 +0000)]
(cbrt_test): Add test for number with aboslute value < 1.0.

23 years agoDocument UTMP/WTMP handling functions.
drepper [Sun, 10 Aug 1997 17:16:32 +0000 (17:16 +0000)]
Document UTMP/WTMP handling functions.

23 years agoCorrect typos.
drepper [Sun, 10 Aug 1997 17:15:30 +0000 (17:15 +0000)]
Correct typos.
Document localtime_r, gmtime_r, asctime_r, and ctime_r.
Mention that tzname values must not be changed.

23 years agoCorrect typos.
drepper [Sun, 10 Aug 1997 17:13:31 +0000 (17:13 +0000)]
Correct typos.

23 years agoCorrect typos.
drepper [Sun, 10 Aug 1997 17:12:46 +0000 (17:12 +0000)]
Correct typos.

23 years ago(mmap_chunk): Compare result of mmap with MAP_FAILED and not -1.
drepper [Sun, 10 Aug 1997 17:12:18 +0000 (17:12 +0000)]
(mmap_chunk): Compare result of mmap with MAP_FAILED and not -1.
(new_heap): Likewise.

23 years ago(__mach_setup_thread): Delete avoidance of a cthreads bug that hasn't
drepper [Sun, 10 Aug 1997 17:10:59 +0000 (17:10 +0000)]
(__mach_setup_thread): Delete avoidance of a cthreads bug that hasn't
existed for two years.

23 years agoFix xtmp/utmp typo.
drepper [Sun, 10 Aug 1997 17:10:32 +0000 (17:10 +0000)]
Fix xtmp/utmp typo.

23 years agoFix numerous xtmp/utmp typos. Use the ut_tv field for timestamps if
drepper [Sun, 10 Aug 1997 17:10:24 +0000 (17:10 +0000)]
Fix numerous xtmp/utmp typos.  Use the ut_tv field for timestamps if
supported.

23 years ago(print_entry): Always use ut_tv field.
drepper [Sun, 10 Aug 1997 17:10:00 +0000 (17:10 +0000)]
(print_entry): Always use ut_tv field.

23 years ago(store_state_entry): Don't compile if there is no ut_type field.
drepper [Sun, 10 Aug 1997 17:09:49 +0000 (17:09 +0000)]
(store_state_entry): Don't compile if there is no ut_type field.
(store_state_entry, store_process_entry): Use the ut_tv field
for timestamps if supported.

23 years ago(__utmpname): Reset backend right after backend endutent call.
drepper [Sun, 10 Aug 1997 17:08:57 +0000 (17:08 +0000)]
(__utmpname): Reset backend right after backend endutent call.

23 years agoReordered functions. Remove unecessary header files.
drepper [Sun, 10 Aug 1997 17:08:46 +0000 (17:08 +0000)]
Reordered functions.  Remove unecessary header files.
(getutent_r_file, pututline_file): Do not call setutent_file.  At this
point the file is guaranteed to be open (assert!).
(getutid_r_file, getutline_r_file): Remove check for validity of file
descriptor.  At this point the file is guaranteed to be open.
(getutent_r_file, internal_getut_r, getutline_r_file, pututline_file,
updwtmp_file): Do not wait when unlocking file.

23 years agoGeneral cleanup and a bit of reordering.
drepper [Sun, 10 Aug 1997 17:08:34 +0000 (17:08 +0000)]
General cleanup and a bit of reordering.
(getutent_r_daemon, pututline_daemon): Do not call setutent_daemon.
At this point the socket is guaranteed to be open (assert!).
(getutid_r_daemon, getutline_r_daemon): Do not check if daemon_sock is
valid.  At this point the socket is guaranteed to be open (assert!).

23 years ago(logout): utmpname returns -1 on error.
drepper [Sun, 10 Aug 1997 17:08:21 +0000 (17:08 +0000)]
(logout): utmpname returns -1 on error.

23 years agoRemove unnecessary header files.
drepper [Sun, 10 Aug 1997 17:08:11 +0000 (17:08 +0000)]
Remove unnecessary header files.
(__getutline_r): Do not call backend setutent.

23 years agoRename getutline to __getutline and make getutline a weak alias. Make
drepper [Sun, 10 Aug 1997 17:08:03 +0000 (17:08 +0000)]
Rename getutline to __getutline and make getutline a weak alias.  Make
getutxline a weak alias for __getutline.

23 years agoRemove unnecessary header files.
drepper [Sun, 10 Aug 1997 17:07:43 +0000 (17:07 +0000)]
Remove unnecessary header files.
(__getutid_r): Do not call backend setutent.

23 years agoRemove unneccesary header files.
drepper [Sun, 10 Aug 1997 17:07:29 +0000 (17:07 +0000)]
Remove unneccesary header files.
(__libc_utmp_unknown_functions): Added getutid_r_unknown,
getutline_r_unknown.
(setutent_unknown): Only set file backend if setutent for the file
backend was successful.
(getutent_r_unknown, pututline_unknown): Call setutent_unknown instead
of __setutent.  Report failure if no backend was selected.
(getutid_r_unknown): New function.
(getutline_r_unknown): New function.
(__endutent): Reset backend.  This makes sure all backends are checked
on the next setutent call.

23 years agoCompare result of mmap with MAP_FAILED and not -1.
drepper [Sun, 10 Aug 1997 17:06:44 +0000 (17:06 +0000)]
Compare result of mmap with MAP_FAILED and not -1.

23 years ago(_nl_load_locale): Compare result of mmap with MAP_FAILED and not -1.
drepper [Sun, 10 Aug 1997 17:06:08 +0000 (17:06 +0000)]
(_nl_load_locale): Compare result of mmap with MAP_FAILED and not -1.

23 years agoDon't compare holes in structures.
drepper [Sun, 10 Aug 1997 17:05:29 +0000 (17:05 +0000)]
Don't compare holes in structures.

23 years agoTests for inet_ntoa.
drepper [Sun, 10 Aug 1997 17:04:58 +0000 (17:04 +0000)]
Tests for inet_ntoa.

23 years agoMake once control variable static.
drepper [Sun, 10 Aug 1997 17:04:47 +0000 (17:04 +0000)]
Make once control variable static.
Correctly handle case where key cannot be retrieved.

23 years agoMake `domain' non-const.
drepper [Sun, 10 Aug 1997 17:03:42 +0000 (17:03 +0000)]
Make `domain' non-const.

23 years ago(tests): Add tst-ntoa.
drepper [Sun, 10 Aug 1997 17:03:13 +0000 (17:03 +0000)]
(tests): Add tst-ntoa.

23 years ago(GMON_SHOBJ_VERSION): New macro for shared lib profiling data.
drepper [Sun, 10 Aug 1997 17:02:27 +0000 (17:02 +0000)]
(GMON_SHOBJ_VERSION): New macro for shared lib profiling data.

23 years agoAdd prototype for write_profiling.
drepper [Sun, 10 Aug 1997 17:01:40 +0000 (17:01 +0000)]
Add prototype for write_profiling.

23 years ago(__monstartup): Use calloc instead of malloc+memset.
drepper [Sun, 10 Aug 1997 17:01:02 +0000 (17:01 +0000)]
(__monstartup): Use calloc instead of malloc+memset.
(write_gmon): New function; guts from _mcleanup.
(_mcleanup): Use write_gmon.
(write_profiling): This function can be safely called at any time to
write a current histogram without interfering with ongoing profiling.

23 years agoAdd decsriptions and implement reading of existing data in profiling
drepper [Sun, 10 Aug 1997 16:59:28 +0000 (16:59 +0000)]
Add decsriptions and implement reading of existing data in profiling
file.

23 years ago(_dl_sysdep_read_whole_file): Compare result of mmap with MAP_FAILED
drepper [Sun, 10 Aug 1997 16:58:37 +0000 (16:58 +0000)]
(_dl_sysdep_read_whole_file): Compare result of mmap with MAP_FAILED
and not -1.

23 years ago(malloc): Compare result of mmap with MAP_FAILED and not -1.
drepper [Sun, 10 Aug 1997 16:57:43 +0000 (16:57 +0000)]
(malloc): Compare result of mmap with MAP_FAILED and not -1.

23 years ago(add_name_to_object): New procedure.
drepper [Sun, 10 Aug 1997 16:57:12 +0000 (16:57 +0000)]
(add_name_to_object): New procedure.
(_dl_map_object_from_fd): Use add_name_to_object.
(_dl_map_object): If an object's SONAME is used to resolve a
dependency, add it to the list of the object's names.
(_dl_map_object_from_fd): Compare result of mmap with MAP_FAILED and not -1.

23 years ago(init_hash): Don't use stat() if it doesn't provide the preferred
drepper [Sun, 10 Aug 1997 16:55:55 +0000 (16:55 +0000)]
(init_hash): Don't use stat() if it doesn't provide the preferred
block size.

23 years ago(__open_catalog): Compare result of mmap with MAP_FAILED and not -1.
drepper [Sun, 10 Aug 1997 16:55:34 +0000 (16:55 +0000)]
(__open_catalog): Compare result of mmap with MAP_FAILED and not -1.

23 years agoAdd more symbols.
drepper [Sun, 10 Aug 1997 16:54:13 +0000 (16:54 +0000)]
Add more symbols.

23 years ago(others): Don't depend on $(install-bin), $(install-rootbin) and
drepper [Sun, 10 Aug 1997 16:54:04 +0000 (16:54 +0000)]
(others): Don't depend on $(install-bin), $(install-rootbin) and
$(install-sbin) if not build-programs.

23 years agoUpdate.
drepper [Sun, 10 Aug 1997 16:51:53 +0000 (16:51 +0000)]
Update.

23 years ago(+depfiles): Don't add $(others) if not build-programs.
drepper [Sun, 10 Aug 1997 16:51:48 +0000 (16:51 +0000)]
(+depfiles): Don't add $(others) if not build-programs.

23 years ago(subdirs): Remove login.
drepper [Sun, 10 Aug 1997 16:49:59 +0000 (16:49 +0000)]
(subdirs): Remove login.

23 years agoDefine build-programs to no if not set and $(config-os) is none.
drepper [Sun, 10 Aug 1997 16:49:37 +0000 (16:49 +0000)]
Define build-programs to no if not set and $(config-os) is none.

23 years agoUpdate.
drepper [Sun, 10 Aug 1997 16:48:36 +0000 (16:48 +0000)]
Update.

23 years agoUpdate. libc-ud-970804
drepper [Mon, 4 Aug 1997 14:31:26 +0000 (14:31 +0000)]
Update.

23 years agoTest for ecstof function.
drepper [Mon, 4 Aug 1997 14:31:07 +0000 (14:31 +0000)]
Test for ecstof function.

23 years ago(tests): Add tst-wcstof.
drepper [Mon, 4 Aug 1997 14:30:58 +0000 (14:30 +0000)]
(tests): Add tst-wcstof.

23 years agoRewrite loop to do what it shall do.
drepper [Mon, 4 Aug 1997 14:30:19 +0000 (14:30 +0000)]
Rewrite loop to do what it shall do.

23 years agoPretty print.
drepper [Mon, 4 Aug 1997 14:29:35 +0000 (14:29 +0000)]
Pretty print.

23 years agoDefine socklen_t.
drepper [Mon, 4 Aug 1997 14:29:00 +0000 (14:29 +0000)]
Define socklen_t.
(struct msghdr): Correct types to use socklen_t.

23 years agoDefine socklen_t.
drepper [Mon, 4 Aug 1997 14:28:46 +0000 (14:28 +0000)]
Define socklen_t.
(struct msghdr): Correct types to use socklen_t.

23 years agoLet functions return ENOSYS if SIOGIFINDEX is not defined.
drepper [Mon, 4 Aug 1997 14:28:15 +0000 (14:28 +0000)]
Let functions return ENOSYS if SIOGIFINDEX is not defined.

23 years agoStub header for inline string functions.
drepper [Mon, 4 Aug 1997 14:26:51 +0000 (14:26 +0000)]
Stub header for inline string functions.

23 years agoFix typos.
drepper [Mon, 4 Aug 1997 14:26:32 +0000 (14:26 +0000)]
Fix typos.

23 years agoReplace call to abort by infinite loop, to avoid dragging stdio into
drepper [Mon, 4 Aug 1997 14:26:01 +0000 (14:26 +0000)]
Replace call to abort by infinite loop, to avoid dragging stdio into
the dynamic linker.

23 years agoDefine socklen_t.
drepper [Mon, 4 Aug 1997 14:25:47 +0000 (14:25 +0000)]
Define socklen_t.
(struct msghdr): Correct types to use socklen_t.

23 years agoInclude <bits/string.h> if optimizing and __NO_STRING_INLINES is not
drepper [Mon, 4 Aug 1997 14:24:34 +0000 (14:24 +0000)]
Include <bits/string.h> if optimizing and __NO_STRING_INLINES is not
defined.

23 years ago(headers): Add bits/string.h.
drepper [Mon, 4 Aug 1997 14:23:46 +0000 (14:23 +0000)]
(headers): Add bits/string.h.
(CFLAGS-*): Add -D__NO_STRING_INLINES.

23 years agoFix typo.
drepper [Mon, 4 Aug 1997 14:23:04 +0000 (14:23 +0000)]
Fix typo.

23 years agoAdd new tests for bug in rounding number 1 < x < 8.
drepper [Mon, 4 Aug 1997 14:22:43 +0000 (14:22 +0000)]
Add new tests for bug in rounding number 1 < x < 8.

23 years ago(__printf_fp): Correct rouding of number 1.0 < x < 8.0.
drepper [Mon, 4 Aug 1997 14:22:02 +0000 (14:22 +0000)]
(__printf_fp): Correct rouding of number 1.0 < x < 8.0.

23 years ago(bind, getsockname, connect, sendto, recvfrom, getsockopt, setsockopt,
drepper [Mon, 4 Aug 1997 14:21:07 +0000 (14:21 +0000)]
(bind, getsockname, connect, sendto, recvfrom, getsockopt, setsockopt,
accept): Change size argument to type socklen_t.
Pretty print.

23 years agoDon't define socklen_t. Pretty print.
drepper [Mon, 4 Aug 1997 14:19:22 +0000 (14:19 +0000)]
Don't define socklen_t.  Pretty print.

23 years ago(parse_tilde): Fix calls to __getpwnam_r and __getpwuid_r.
drepper [Mon, 4 Aug 1997 14:18:39 +0000 (14:18 +0000)]
(parse_tilde): Fix calls to __getpwnam_r and __getpwuid_r.
Include <stdio.h> to get prototypes of *printf.
(exec_comm): Remove unneeded variable *sh.

23 years ago(routines): Add wordexp.
drepper [Mon, 4 Aug 1997 14:18:27 +0000 (14:18 +0000)]
(routines): Add wordexp.

23 years agoMoved back.
drepper [Mon, 4 Aug 1997 14:17:38 +0000 (14:17 +0000)]
Moved back.

23 years agoUndo last change.
drepper [Mon, 4 Aug 1997 14:17:28 +0000 (14:17 +0000)]
Undo last change.

23 years ago(xid, xid_seed, xid_lookup): Make them u_int32_t.
drepper [Mon, 4 Aug 1997 14:17:18 +0000 (14:17 +0000)]
(xid, xid_seed, xid_lookup): Make them u_int32_t.

23 years agoCorrect comment for some M_* constants.
drepper [Mon, 4 Aug 1997 14:16:37 +0000 (14:16 +0000)]
Correct comment for some M_* constants.
(isgreater, isgreaterequal, isless, islessequal, islessgreater,
inunordered): Rewrite to make sure the arguments are evaluated
exactly once.

23 years agoExplain difficulties with strftime if the functions returns 0 and no
drepper [Mon, 4 Aug 1997 14:14:55 +0000 (14:14 +0000)]
Explain difficulties with strftime if the functions returns 0 and no
error occurred.

23 years agoUpdate.
drepper [Mon, 4 Aug 1997 14:14:11 +0000 (14:14 +0000)]
Update.

23 years agoDescribe socklen_t and change prototypes of socket functions to use
drepper [Mon, 4 Aug 1997 14:13:40 +0000 (14:13 +0000)]
Describe socklen_t and change prototypes of socket functions to use
socklen_t.

23 years agoRemove paragraph which explained that wordexp is executed by running a
drepper [Mon, 4 Aug 1997 14:13:00 +0000 (14:13 +0000)]
Remove paragraph which explained that wordexp is executed by running a
shell.

23 years agoDocument exceptions, functions to handle exceptions, mathematical
drepper [Mon, 4 Aug 1997 13:38:58 +0000 (13:38 +0000)]
Document exceptions, functions to handle exceptions, mathematical
constants, FP comparison functions and several new functions from IS C
9X.  Change parameter of drand48, lrand48, and mrand48 to void (not
empty).

23 years ago(UPDATED): Update.
drepper [Mon, 4 Aug 1997 13:36:47 +0000 (13:36 +0000)]
(UPDATED): Update.

23 years ago(Error Codes): Fix typo.
drepper [Mon, 4 Aug 1997 13:36:15 +0000 (13:36 +0000)]
(Error Codes): Fix typo.

23 years agoMark floating-point test macro from ISO C 9X as macros (not
drepper [Mon, 4 Aug 1997 13:35:54 +0000 (13:35 +0000)]
Mark floating-point test macro from ISO C 9X as macros (not
functions).

23 years ago(setutent_unknown): Change return type to int and return result of
drepper [Mon, 4 Aug 1997 13:35:01 +0000 (13:35 +0000)]
(setutent_unknown): Change return type to int and return result of
called function.

23 years ago(check_all_categories): Don't check categories if they are not available.
drepper [Mon, 4 Aug 1997 13:31:37 +0000 (13:31 +0000)]
(check_all_categories): Don't check categories if they are not available.
(write_all_categories): Don't write categories if they are not available.

23 years ago(main): Set bit in avail for those categories which are successfully
drepper [Mon, 4 Aug 1997 13:30:20 +0000 (13:30 +0000)]
(main): Set bit in avail for those categories which are successfully
read.

23 years ago(SECTION): Don't put quotes around section name since this is not
drepper [Mon, 4 Aug 1997 13:29:21 +0000 (13:29 +0000)]
(SECTION): Don't put quotes around section name since this is not
understood by all assemblers.

23 years agoAdd wordexp, wordfree.
drepper [Mon, 4 Aug 1997 13:29:07 +0000 (13:29 +0000)]
Add wordexp, wordfree.

23 years agoUpdate.
drepper [Mon, 4 Aug 1997 13:28:45 +0000 (13:28 +0000)]
Update.

23 years agoRegenerated from ../sysdeps/gnu/errlist.awk ../manual/errno.texi
drepper [Mon, 4 Aug 1997 04:54:01 +0000 (04:54 +0000)]
Regenerated from ../sysdeps/gnu/errlist.awk ../manual/errno.texi

23 years agoUpdate. libc-ud-970802
drepper [Sat, 2 Aug 1997 21:00:51 +0000 (21:00 +0000)]
Update.

23 years agoChange include <gnu/types.h> to <sys/types.h>.
drepper [Sat, 2 Aug 1997 21:00:38 +0000 (21:00 +0000)]
Change include <gnu/types.h> to <sys/types.h>.

23 years agoMoved to bits/in.h.
drepper [Sat, 2 Aug 1997 21:00:09 +0000 (21:00 +0000)]
Moved to bits/in.h.

23 years agoSystem dependent bits from in.h.
drepper [Sat, 2 Aug 1997 20:59:39 +0000 (20:59 +0000)]
System dependent bits from in.h.

23 years agoDon't set errno in error case since the __syscall_ptrace call already
drepper [Sat, 2 Aug 1997 20:59:06 +0000 (20:59 +0000)]
Don't set errno in error case since the __syscall_ptrace call already
did this.

23 years agoRewrite to avoid using /proc filesystem.
drepper [Sat, 2 Aug 1997 20:58:54 +0000 (20:58 +0000)]
Rewrite to avoid using /proc filesystem.