kopensolaris-gnu/glibc.git
22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

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

22 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.

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

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

22 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.

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

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

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

22 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.

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

22 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.

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

22 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.

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

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

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

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

22 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.

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

22 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.

22 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.

22 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.

22 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.

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

22 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.

22 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.

22 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.

22 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.

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

22 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.

22 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.

22 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.

22 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.

22 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.

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

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

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

22 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.

22 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.

22 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.

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

22 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.

22 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.

22 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).

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

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

22 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).

22 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.

22 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.

22 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.

22 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.

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

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

22 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

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

22 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>.

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

22 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.

22 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.

22 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.

22 years agoAdd __libc_once.
drepper [Sat, 2 Aug 1997 20:58:33 +0000 (20:58 +0000)]
Add __libc_once.

22 years agoSet errno in all functions and add stub warnings.
drepper [Sat, 2 Aug 1997 20:57:55 +0000 (20:57 +0000)]
Set errno in all functions and add stub warnings.

22 years ago(elf_machine_runtime_setup): Add new parameter to enable profiling.
drepper [Sat, 2 Aug 1997 20:57:16 +0000 (20:57 +0000)]
(elf_machine_runtime_setup): Add new parameter to enable profiling.
(elf_machine_rela): Add new parameter to specify place to store result in.

22 years agoAdd support for shared library profiling.
drepper [Sat, 2 Aug 1997 20:56:48 +0000 (20:56 +0000)]
Add support for shared library profiling.

22 years agoMore patches by John Bowman.
drepper [Sat, 2 Aug 1997 20:56:17 +0000 (20:56 +0000)]
More patches by John Bowman.

22 years agoDefine __setjmp and also weak definitions of setjmp and _setjmp.
drepper [Sat, 2 Aug 1997 20:55:26 +0000 (20:55 +0000)]
Define __setjmp and also weak definitions of setjmp and _setjmp.

22 years agoEmpty dummy file.
drepper [Sat, 2 Aug 1997 20:54:44 +0000 (20:54 +0000)]
Empty dummy file.

22 years agoMoved to bits/in.h.
drepper [Sat, 2 Aug 1997 20:52:34 +0000 (20:52 +0000)]
Moved to bits/in.h.

22 years agoSystem dependent bits of in.h.
drepper [Sat, 2 Aug 1997 20:52:26 +0000 (20:52 +0000)]
System dependent bits of in.h.

22 years agoPretty print.
drepper [Sat, 2 Aug 1997 20:52:08 +0000 (20:52 +0000)]
Pretty print.

22 years agoPretty print.
drepper [Sat, 2 Aug 1997 20:51:49 +0000 (20:51 +0000)]
Pretty print.

22 years agoCleanup. Don't define non standard elements unless __USE_GNU.
drepper [Sat, 2 Aug 1997 20:51:25 +0000 (20:51 +0000)]
Cleanup.  Don't define non standard elements unless __USE_GNU.

22 years agoRewrite to use __libc_once for initialization.
drepper [Sat, 2 Aug 1997 20:50:39 +0000 (20:50 +0000)]
Rewrite to use __libc_once for initialization.

22 years agoRemove relative include paths.
drepper [Sat, 2 Aug 1997 20:50:16 +0000 (20:50 +0000)]
Remove relative include paths.

22 years agoAdd variables and routines used by named, nslookup and other bind
drepper [Sat, 2 Aug 1997 20:49:36 +0000 (20:49 +0000)]
Add variables and routines used by named, nslookup and other bind
utils.

22 years agoComplete rewrite.
drepper [Sat, 2 Aug 1997 20:48:12 +0000 (20:48 +0000)]
Complete rewrite.

22 years agoInclude bits/nislib.h, not rpcsvc/nislib.h.
drepper [Sat, 2 Aug 1997 20:47:43 +0000 (20:47 +0000)]
Include bits/nislib.h, not rpcsvc/nislib.h.

22 years agoDon't include <rpcsvc/nislib.h>.
drepper [Sat, 2 Aug 1997 20:45:11 +0000 (20:45 +0000)]
Don't include <rpcsvc/nislib.h>.

22 years agoInternal header for NIS.
drepper [Sat, 2 Aug 1997 20:43:15 +0000 (20:43 +0000)]
Internal header for NIS.

22 years ago(headers): Add bits/nislib.h.
drepper [Sat, 2 Aug 1997 20:42:40 +0000 (20:42 +0000)]
(headers): Add bits/nislib.h.

22 years ago(extra-objs): Add onlymd5-crypt.o for dependencies.
drepper [Sat, 2 Aug 1997 20:42:09 +0000 (20:42 +0000)]
(extra-objs): Add onlymd5-crypt.o for dependencies.

22 years agoRemove unneeded function check_int_exec.
drepper [Sat, 2 Aug 1997 20:41:41 +0000 (20:41 +0000)]
Remove unneeded function check_int_exec.

22 years agoFix typos.
drepper [Sat, 2 Aug 1997 20:41:21 +0000 (20:41 +0000)]
Fix typos.

22 years agoFix typo.
drepper [Sat, 2 Aug 1997 20:41:11 +0000 (20:41 +0000)]
Fix typo.

22 years ago(main): Remove files created by a previous `bind' before creating
drepper [Sat, 2 Aug 1997 20:40:56 +0000 (20:40 +0000)]
(main): Remove files created by a previous `bind' before creating
sockets.

22 years ago(open_database): Create compatibility file if it does not already
drepper [Sat, 2 Aug 1997 20:40:49 +0000 (20:40 +0000)]
(open_database): Create compatibility file if it does not already
exist.  Supply mode argument in open calls to guarantee that created
files have the proper protection.