platform/upstream/coreutils.git
26 years ago.
Jim Meyering [Sat, 25 Oct 1997 22:04:11 +0000 (22:04 +0000)]
.

26 years agoRemove old-style xmalloc and xrealloc decls.
Jim Meyering [Sat, 25 Oct 1997 22:03:55 +0000 (22:03 +0000)]
Remove old-style xmalloc and xrealloc decls.

26 years agoRemove old-style xmalloc and xrealloc decls.
Jim Meyering [Sat, 25 Oct 1997 22:03:20 +0000 (22:03 +0000)]
Remove old-style xmalloc and xrealloc decls.

26 years agoInclude xalloc.h.
Jim Meyering [Sat, 25 Oct 1997 22:01:13 +0000 (22:01 +0000)]
Include xalloc.h.
Remove dcls of xmalloc, xcalloc and xrealloc.

26 years ago.
Jim Meyering [Sat, 25 Oct 1997 21:52:24 +0000 (21:52 +0000)]
.

26 years agos/xmalloc_exit_failure/xalloc_exit_failure
Jim Meyering [Sat, 25 Oct 1997 21:52:09 +0000 (21:52 +0000)]
s/xmalloc_exit_failure/xalloc_exit_failure

26 years agoInclude xalloc.h.
Jim Meyering [Sat, 25 Oct 1997 21:51:21 +0000 (21:51 +0000)]
Include xalloc.h.
Change VOID to void.
(xalloc_exit_failure): Renamed extern.
(xalloc_msg_memory_exhausted): New extern.
(xalloc_fail_func): New extern.
(fixup_null_alloc): Use new variables.

26 years ago.
Jim Meyering [Sat, 25 Oct 1997 21:49:45 +0000 (21:49 +0000)]
.

26 years ago.
Jim Meyering [Sat, 25 Oct 1997 04:45:58 +0000 (04:45 +0000)]
.

26 years agoRemove old-style xmalloc and xrealloc decls.
Jim Meyering [Sat, 25 Oct 1997 04:45:43 +0000 (04:45 +0000)]
Remove old-style xmalloc and xrealloc decls.

26 years agoRemove old-style xmalloc and xrealloc decls.
Jim Meyering [Sat, 25 Oct 1997 04:44:00 +0000 (04:44 +0000)]
Remove old-style xmalloc and xrealloc decls.
(add_tabstop): Cast first arg of xrealloc to char*.

26 years agoInclude xalloc.h.
Jim Meyering [Sat, 25 Oct 1997 04:43:10 +0000 (04:43 +0000)]
Include xalloc.h.
(xmalloc): Remove function.
(xrealloc): Remove function.
(main): Set xalloc_fail_func to cleanup.
Set xmalloc_exit_failure SORT_FAILURE.

26 years agoRemove old-style xmalloc and xrealloc decls.
Jim Meyering [Sat, 25 Oct 1997 04:42:15 +0000 (04:42 +0000)]
Remove old-style xmalloc and xrealloc decls.
(paste_parallel): Cast first arg of xrealloc to char*.

26 years agoRemove old-style xmalloc and xrealloc decls.
Jim Meyering [Sat, 25 Oct 1997 04:41:18 +0000 (04:41 +0000)]
Remove old-style xmalloc and xrealloc decls.
(decode_format_string): Cast first arg of xrealloc to char*.

26 years agoRemove old-style xmalloc and xrealloc decls.
Jim Meyering [Sat, 25 Oct 1997 04:40:28 +0000 (04:40 +0000)]
Remove old-style xmalloc and xrealloc decls.
(add_tabstop): Cast first arg of xrealloc to char*.

26 years agoInclude xalloc.h.
Jim Meyering [Sat, 25 Oct 1997 04:38:58 +0000 (04:38 +0000)]
Include xalloc.h.
(xmalloc): Remove function.
(xrealloc): Remove function.
(main): Set xalloc_fail_func to cleanup.

26 years ago(ADD_RANGE_PAIR): Cast first arg of xrealloc to char*.
Jim Meyering [Sat, 25 Oct 1997 04:37:57 +0000 (04:37 +0000)]
(ADD_RANGE_PAIR): Cast first arg of xrealloc to char*.
(getstr): Cast xmalloc return value to char*.
(xmalloc): Remove decl.
(xrealloc): Remove decl.

26 years agoUse unsigned int, not just unsigned.
Jim Meyering [Fri, 24 Oct 1997 13:17:16 +0000 (13:17 +0000)]
Use unsigned int, not just unsigned.

26 years ago*** empty log message ***
Jim Meyering [Fri, 24 Oct 1997 13:06:56 +0000 (13:06 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Fri, 24 Oct 1997 04:29:41 +0000 (04:29 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Fri, 24 Oct 1997 02:13:01 +0000 (02:13 +0000)]
*** empty log message ***

26 years agoquote AC_HEADER_STDC in AC_REQUIRE.
Jim Meyering [Fri, 24 Oct 1997 02:06:52 +0000 (02:06 +0000)]
quote AC_HEADER_STDC in AC_REQUIRE.

26 years agodon't use lower and upper temporaries
Jim Meyering [Fri, 24 Oct 1997 01:45:56 +0000 (01:45 +0000)]
don't use lower and upper temporaries

26 years ago.
Jim Meyering [Fri, 24 Oct 1997 01:44:35 +0000 (01:44 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Fri, 24 Oct 1997 01:44:29 +0000 (01:44 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Fri, 24 Oct 1997 01:43:24 +0000 (01:43 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Fri, 24 Oct 1997 01:43:12 +0000 (01:43 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Fri, 24 Oct 1997 01:42:27 +0000 (01:42 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Fri, 24 Oct 1997 01:42:02 +0000 (01:42 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Thu, 23 Oct 1997 16:15:31 +0000 (16:15 +0000)]
.

26 years ago[!HAVE_DECLARATION_FREE]: Declare free.
Jim Meyering [Thu, 23 Oct 1997 16:07:31 +0000 (16:07 +0000)]
[!HAVE_DECLARATION_FREE]: Declare free.
[!HAVE_DECLARATION_MALLOC]: Declare malloc.
[!HAVE_DECLARATION_REALLOC]: Declare realloc.
[!HAVE_DECLARATION_STPCPY]: Declare stpcpy.
[!HAVE_DECLARATION_STRSTR]: Declare strstr.

26 years agoRemove stpcpy decl.
Jim Meyering [Thu, 23 Oct 1997 16:06:59 +0000 (16:06 +0000)]
Remove stpcpy decl.
Remove free, malloc, and realloc decls.

26 years agoRemove free and malloc decls.
Jim Meyering [Thu, 23 Oct 1997 16:06:19 +0000 (16:06 +0000)]
Remove free and malloc decls.

26 years agoRemove stpcpy decl.
Jim Meyering [Thu, 23 Oct 1997 16:05:59 +0000 (16:05 +0000)]
Remove stpcpy decl.
Remove free and malloc decls.

26 years agoRemove stpcpy decl.
Jim Meyering [Thu, 23 Oct 1997 16:04:47 +0000 (16:04 +0000)]
Remove stpcpy decl.

26 years ago.
Jim Meyering [Thu, 23 Oct 1997 16:04:22 +0000 (16:04 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Thu, 23 Oct 1997 16:04:09 +0000 (16:04 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Thu, 23 Oct 1997 15:59:42 +0000 (15:59 +0000)]
.

26 years ago.
Jim Meyering [Thu, 23 Oct 1997 15:58:39 +0000 (15:58 +0000)]
.

26 years ago[STREQ]: Undef then redefine.
Jim Meyering [Thu, 23 Oct 1997 15:57:54 +0000 (15:57 +0000)]
[STREQ]: Undef then redefine.

26 years agoRemove strstr decl.
Jim Meyering [Thu, 23 Oct 1997 15:57:36 +0000 (15:57 +0000)]
Remove strstr decl.

26 years agoRemove stpcpy decl.
Jim Meyering [Thu, 23 Oct 1997 15:57:21 +0000 (15:57 +0000)]
Remove stpcpy decl.

26 years ago.
Jim Meyering [Thu, 23 Oct 1997 15:34:12 +0000 (15:34 +0000)]
.

26 years ago.
Jim Meyering [Thu, 23 Oct 1997 15:32:42 +0000 (15:32 +0000)]
.

26 years ago.
Jim Meyering [Thu, 23 Oct 1997 15:32:08 +0000 (15:32 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Thu, 23 Oct 1997 14:30:37 +0000 (14:30 +0000)]
*** empty log message ***

26 years agoRemove stpcpy dcl.
Jim Meyering [Thu, 23 Oct 1997 14:30:27 +0000 (14:30 +0000)]
Remove stpcpy dcl.

26 years agoRemove malloc, and realloc dcls.
Jim Meyering [Thu, 23 Oct 1997 14:30:14 +0000 (14:30 +0000)]
Remove malloc, and realloc dcls.

26 years agoRemove free, malloc, and realloc dcls.
Jim Meyering [Thu, 23 Oct 1997 14:30:03 +0000 (14:30 +0000)]
Remove free, malloc, and realloc dcls.

26 years agoRemove malloc and realloc dcls.
Jim Meyering [Thu, 23 Oct 1997 14:29:46 +0000 (14:29 +0000)]
Remove malloc and realloc dcls.

26 years agoRemove stpcpy dcl.
Jim Meyering [Thu, 23 Oct 1997 14:28:31 +0000 (14:28 +0000)]
Remove stpcpy dcl.

26 years ago*** empty log message ***
Jim Meyering [Thu, 23 Oct 1997 13:28:01 +0000 (13:28 +0000)]
*** empty log message ***

26 years ago(EXTRA_DIST): Add decl.m4 and do-decl.m4.
Jim Meyering [Thu, 23 Oct 1997 13:26:45 +0000 (13:26 +0000)]
(EXTRA_DIST): Add decl.m4 and do-decl.m4.

26 years ago*** empty log message ***
Jim Meyering [Thu, 23 Oct 1997 04:53:18 +0000 (04:53 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Thu, 23 Oct 1997 04:53:06 +0000 (04:53 +0000)]
.

26 years agoupdate from FSF
Jim Meyering [Wed, 22 Oct 1997 14:06:16 +0000 (14:06 +0000)]
update from FSF

26 years ago*** empty log message ***
Jim Meyering [Mon, 20 Oct 1997 18:31:29 +0000 (18:31 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sun, 19 Oct 1997 03:20:04 +0000 (03:20 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sun, 19 Oct 1997 03:12:10 +0000 (03:12 +0000)]
*** empty log message ***

26 years ago(remove_cwd_entries): Entries in table of processed dir
Jim Meyering [Sun, 19 Oct 1997 03:09:40 +0000 (03:09 +0000)]
(remove_cwd_entries): Entries in table of processed dir
entries are not malloc'd, so don't have hash cleanup free them.
Rewind dirp upon NULL readdir, required for at least SunOS.

26 years ago*** empty log message ***
Jim Meyering [Sun, 19 Oct 1997 02:38:31 +0000 (02:38 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sun, 19 Oct 1997 02:37:12 +0000 (02:37 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Sat, 18 Oct 1997 20:14:50 +0000 (20:14 +0000)]
.

26 years ago(LONG_MAX): Define if not defined.
Jim Meyering [Sat, 18 Oct 1997 19:49:50 +0000 (19:49 +0000)]
(LONG_MAX): Define if not defined.

26 years ago*** empty log message ***
Jim Meyering [Fri, 17 Oct 1997 19:05:07 +0000 (19:05 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Fri, 17 Oct 1997 18:58:04 +0000 (18:58 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Fri, 17 Oct 1997 18:57:46 +0000 (18:57 +0000)]
.

26 years ago(remove_cwd_entries): Change the while(dp...) to a while(1) loop,
Jim Meyering [Fri, 17 Oct 1997 18:06:34 +0000 (18:06 +0000)]
(remove_cwd_entries): Change the while(dp...) to a while(1) loop,
and move dcl and assignment of dp into the loop.

26 years ago*** empty log message ***
Jim Meyering [Fri, 17 Oct 1997 15:21:27 +0000 (15:21 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Fri, 17 Oct 1997 15:20:17 +0000 (15:20 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Fri, 17 Oct 1997 15:20:08 +0000 (15:20 +0000)]
*** empty log message ***

26 years agoindent
Jim Meyering [Thu, 16 Oct 1997 15:34:26 +0000 (15:34 +0000)]
indent

26 years agoAdd comments. From Orn.
Jim Meyering [Thu, 16 Oct 1997 15:29:15 +0000 (15:29 +0000)]
Add comments.  From Orn.

26 years agoadd assertions
Jim Meyering [Thu, 16 Oct 1997 15:03:54 +0000 (15:03 +0000)]
add assertions

26 years ago.
Jim Meyering [Thu, 16 Oct 1997 15:01:58 +0000 (15:01 +0000)]
.

26 years ago(look_for_fraction): Patch from Orn Hansen.
Jim Meyering [Thu, 16 Oct 1997 14:54:58 +0000 (14:54 +0000)]
(look_for_fraction): Patch from Orn Hansen.
(getmonth): Compare the two month names only to the length of the
string in the month table.  Patch from Orn Hansen.
(NLS_STRNCMP): New macro.
(strncoll_s2_readonly): New function.
(inittables): Don't use temporary `comp' to hide type of comparator function.
(nls_sort_month_comp): Declare parameters to be void* to match
comparator function type required for qsort.
(getmonth): Use NLS_STRNCMP rather than #ifdef.
Use do-while, rather than while-loop.

26 years agobegin merging Orn's changes
Jim Meyering [Thu, 16 Oct 1997 13:12:13 +0000 (13:12 +0000)]
begin merging Orn's changes

26 years ago*** empty log message ***
Jim Meyering [Wed, 15 Oct 1997 21:38:08 +0000 (21:38 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Wed, 15 Oct 1997 05:12:00 +0000 (05:12 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Wed, 15 Oct 1997 05:00:41 +0000 (05:00 +0000)]
*** empty log message ***

26 years ago(_NL_ITEM) [!defined]: Define.
Jim Meyering [Wed, 15 Oct 1997 05:00:33 +0000 (05:00 +0000)]
(_NL_ITEM) [!defined]: Define.
From from Ørn E. Hansen.

26 years ago.
Jim Meyering [Tue, 14 Oct 1997 22:34:00 +0000 (22:34 +0000)]
.

26 years agoRemove ChangeLog entry from Orn.
Jim Meyering [Tue, 14 Oct 1997 22:33:20 +0000 (22:33 +0000)]
Remove ChangeLog entry from Orn.

26 years agoUse STREQ in place of most uses of strcmp.
Jim Meyering [Tue, 14 Oct 1997 22:32:44 +0000 (22:32 +0000)]
Use STREQ in place of most uses of strcmp.
(zaptemp): Make parameter `const'.

26 years ago(NLS_STRCMP): Define.
Jim Meyering [Tue, 14 Oct 1997 22:25:02 +0000 (22:25 +0000)]
(NLS_STRCMP): Define.
(getmonth): Remove ifdef and use NLS_STRCMP instead.
Use HAVE_ALLOCA, not _HAVE_ALLOCA.

26 years ago.
Jim Meyering [Tue, 14 Oct 1997 22:15:31 +0000 (22:15 +0000)]
.

26 years ago.
Jim Meyering [Tue, 14 Oct 1997 22:15:06 +0000 (22:15 +0000)]
.

26 years agoAdd tests to exercise fraccompare.
Jim Meyering [Tue, 14 Oct 1997 22:14:48 +0000 (22:14 +0000)]
Add tests to exercise fraccompare.

26 years ago.
Jim Meyering [Tue, 14 Oct 1997 22:09:59 +0000 (22:09 +0000)]
.

26 years ago(CHARS_IN_ABM): Remove definition
Jim Meyering [Tue, 14 Oct 1997 21:36:33 +0000 (21:36 +0000)]
(CHARS_IN_ABM): Remove definition
(inittables): Remove assumption that all abbreviated month names have
length 3.
(getmonth): Likewise.
(main): Add #if's for more efficient code when using the GNU C library.
From Ulrich Drepper.

26 years agotweak Orn's fraccompare. Always use it.
Jim Meyering [Tue, 14 Oct 1997 20:41:28 +0000 (20:41 +0000)]
tweak Orn's fraccompare.  Always use it.

26 years ago(fraccompare): Indent.
Jim Meyering [Tue, 14 Oct 1997 14:12:48 +0000 (14:12 +0000)]
(fraccompare): Indent.
Move dcls of S and N into if block.

26 years agofix spelling errors in comments
Jim Meyering [Tue, 14 Oct 1997 13:47:22 +0000 (13:47 +0000)]
fix spelling errors in comments

26 years ago(keycompare): Move assignment out of if-expression.
Jim Meyering [Tue, 14 Oct 1997 13:40:51 +0000 (13:40 +0000)]
(keycompare): Move assignment out of if-expression.

26 years ago(strncoll): Rename parameter to LEN.
Jim Meyering [Tue, 14 Oct 1997 13:37:35 +0000 (13:37 +0000)]
(strncoll): Rename parameter to LEN.
Clean up formatting.
Add a FIXME.

26 years ago*** empty log message ***
Jim Meyering [Tue, 14 Oct 1997 13:08:06 +0000 (13:08 +0000)]
*** empty log message ***

26 years agoDeclare xstrdup.
Jim Meyering [Tue, 14 Oct 1997 13:07:12 +0000 (13:07 +0000)]
Declare xstrdup.
(my_setlocale): New function.
(main): Guard against failure of strdup (use xstrdup) and setlocale.

26 years ago(STREQ): Remove definition.
Jim Meyering [Tue, 14 Oct 1997 12:50:28 +0000 (12:50 +0000)]
(STREQ): Remove definition.

26 years ago[patch from Orn]
Jim Meyering [Tue, 14 Oct 1997 12:19:09 +0000 (12:19 +0000)]
[patch from Orn]
(look_for_fraction): Eliminate arbitrary limit on
number of `groups'.  Declare as void, not int.
Patch from Ørn E. Hansen.
(main): When determining whether we're in the C or POSIX locale,
don't rely on the form of the string returned by setlocale.
Suggestion from Ulrich Drepper.

26 years agoapply one more piece from KBs patch
Jim Meyering [Mon, 13 Oct 1997 23:09:15 +0000 (23:09 +0000)]
apply one more piece from KBs patch