Jim Meyering [Thu, 23 Oct 1997 16:05:59 +0000 (16:05 +0000)]
Remove stpcpy decl.
Remove free and malloc decls.
Jim Meyering [Thu, 23 Oct 1997 16:04:47 +0000 (16:04 +0000)]
Remove stpcpy decl.
Jim Meyering [Thu, 23 Oct 1997 16:04:22 +0000 (16:04 +0000)]
.
Jim Meyering [Thu, 23 Oct 1997 16:04:09 +0000 (16:04 +0000)]
*** empty log message ***
Jim Meyering [Thu, 23 Oct 1997 15:59:42 +0000 (15:59 +0000)]
.
Jim Meyering [Thu, 23 Oct 1997 15:58:39 +0000 (15:58 +0000)]
.
Jim Meyering [Thu, 23 Oct 1997 15:57:54 +0000 (15:57 +0000)]
[STREQ]: Undef then redefine.
Jim Meyering [Thu, 23 Oct 1997 15:57:36 +0000 (15:57 +0000)]
Remove strstr decl.
Jim Meyering [Thu, 23 Oct 1997 15:57:21 +0000 (15:57 +0000)]
Remove stpcpy decl.
Jim Meyering [Thu, 23 Oct 1997 15:34:12 +0000 (15:34 +0000)]
.
Jim Meyering [Thu, 23 Oct 1997 15:32:42 +0000 (15:32 +0000)]
.
Jim Meyering [Thu, 23 Oct 1997 15:32:08 +0000 (15:32 +0000)]
.
Jim Meyering [Thu, 23 Oct 1997 14:30:37 +0000 (14:30 +0000)]
*** empty log message ***
Jim Meyering [Thu, 23 Oct 1997 14:30:27 +0000 (14:30 +0000)]
Remove stpcpy dcl.
Jim Meyering [Thu, 23 Oct 1997 14:30:14 +0000 (14:30 +0000)]
Remove malloc, and realloc dcls.
Jim Meyering [Thu, 23 Oct 1997 14:30:03 +0000 (14:30 +0000)]
Remove free, malloc, and realloc dcls.
Jim Meyering [Thu, 23 Oct 1997 14:29:46 +0000 (14:29 +0000)]
Remove malloc and realloc dcls.
Jim Meyering [Thu, 23 Oct 1997 14:28:31 +0000 (14:28 +0000)]
Remove stpcpy dcl.
Jim Meyering [Thu, 23 Oct 1997 13:28:01 +0000 (13:28 +0000)]
*** empty log message ***
Jim Meyering [Thu, 23 Oct 1997 13:26:45 +0000 (13:26 +0000)]
(EXTRA_DIST): Add decl.m4 and do-decl.m4.
Jim Meyering [Thu, 23 Oct 1997 04:53:18 +0000 (04:53 +0000)]
*** empty log message ***
Jim Meyering [Thu, 23 Oct 1997 04:53:06 +0000 (04:53 +0000)]
.
Jim Meyering [Wed, 22 Oct 1997 14:06:16 +0000 (14:06 +0000)]
update from FSF
Jim Meyering [Mon, 20 Oct 1997 18:31:29 +0000 (18:31 +0000)]
*** empty log message ***
Jim Meyering [Sun, 19 Oct 1997 03:20:04 +0000 (03:20 +0000)]
*** empty log message ***
Jim Meyering [Sun, 19 Oct 1997 03:12:10 +0000 (03:12 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 19 Oct 1997 02:38:31 +0000 (02:38 +0000)]
*** empty log message ***
Jim Meyering [Sun, 19 Oct 1997 02:37:12 +0000 (02:37 +0000)]
*** empty log message ***
Jim Meyering [Sat, 18 Oct 1997 20:14:50 +0000 (20:14 +0000)]
.
Jim Meyering [Sat, 18 Oct 1997 19:49:50 +0000 (19:49 +0000)]
(LONG_MAX): Define if not defined.
Jim Meyering [Fri, 17 Oct 1997 19:05:07 +0000 (19:05 +0000)]
*** empty log message ***
Jim Meyering [Fri, 17 Oct 1997 18:58:04 +0000 (18:58 +0000)]
*** empty log message ***
Jim Meyering [Fri, 17 Oct 1997 18:57:46 +0000 (18:57 +0000)]
.
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.
Jim Meyering [Fri, 17 Oct 1997 15:21:27 +0000 (15:21 +0000)]
*** empty log message ***
Jim Meyering [Fri, 17 Oct 1997 15:20:17 +0000 (15:20 +0000)]
.
Jim Meyering [Fri, 17 Oct 1997 15:20:08 +0000 (15:20 +0000)]
*** empty log message ***
Jim Meyering [Thu, 16 Oct 1997 15:34:26 +0000 (15:34 +0000)]
indent
Jim Meyering [Thu, 16 Oct 1997 15:29:15 +0000 (15:29 +0000)]
Add comments. From Orn.
Jim Meyering [Thu, 16 Oct 1997 15:03:54 +0000 (15:03 +0000)]
add assertions
Jim Meyering [Thu, 16 Oct 1997 15:01:58 +0000 (15:01 +0000)]
.
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.
Jim Meyering [Thu, 16 Oct 1997 13:12:13 +0000 (13:12 +0000)]
begin merging Orn's changes
Jim Meyering [Wed, 15 Oct 1997 21:38:08 +0000 (21:38 +0000)]
*** empty log message ***
Jim Meyering [Wed, 15 Oct 1997 05:12:00 +0000 (05:12 +0000)]
.
Jim Meyering [Wed, 15 Oct 1997 05:00:41 +0000 (05:00 +0000)]
*** empty log message ***
Jim Meyering [Wed, 15 Oct 1997 05:00:33 +0000 (05:00 +0000)]
(_NL_ITEM) [!defined]: Define.
From from Ørn E. Hansen.
Jim Meyering [Tue, 14 Oct 1997 22:34:00 +0000 (22:34 +0000)]
.
Jim Meyering [Tue, 14 Oct 1997 22:33:20 +0000 (22:33 +0000)]
Remove ChangeLog entry from Orn.
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'.
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.
Jim Meyering [Tue, 14 Oct 1997 22:15:31 +0000 (22:15 +0000)]
.
Jim Meyering [Tue, 14 Oct 1997 22:15:06 +0000 (22:15 +0000)]
.
Jim Meyering [Tue, 14 Oct 1997 22:14:48 +0000 (22:14 +0000)]
Add tests to exercise fraccompare.
Jim Meyering [Tue, 14 Oct 1997 22:09:59 +0000 (22:09 +0000)]
.
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.
Jim Meyering [Tue, 14 Oct 1997 20:41:28 +0000 (20:41 +0000)]
tweak Orn's fraccompare. Always use it.
Jim Meyering [Tue, 14 Oct 1997 14:12:48 +0000 (14:12 +0000)]
(fraccompare): Indent.
Move dcls of S and N into if block.
Jim Meyering [Tue, 14 Oct 1997 13:47:22 +0000 (13:47 +0000)]
fix spelling errors in comments
Jim Meyering [Tue, 14 Oct 1997 13:40:51 +0000 (13:40 +0000)]
(keycompare): Move assignment out of if-expression.
Jim Meyering [Tue, 14 Oct 1997 13:37:35 +0000 (13:37 +0000)]
(strncoll): Rename parameter to LEN.
Clean up formatting.
Add a FIXME.
Jim Meyering [Tue, 14 Oct 1997 13:08:06 +0000 (13:08 +0000)]
*** empty log message ***
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.
Jim Meyering [Tue, 14 Oct 1997 12:50:28 +0000 (12:50 +0000)]
(STREQ): Remove definition.
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.
Jim Meyering [Mon, 13 Oct 1997 23:09:15 +0000 (23:09 +0000)]
apply one more piece from KBs patch
Jim Meyering [Mon, 13 Oct 1997 21:59:27 +0000 (21:59 +0000)]
expr reorg from KB
Jim Meyering [Mon, 13 Oct 1997 14:08:51 +0000 (14:08 +0000)]
*** empty log message ***
Jim Meyering [Mon, 13 Oct 1997 14:08:38 +0000 (14:08 +0000)]
Bracket inclusion of termios.h with #ifdef HAVE_TERMIOS_H.
Masami Takikawa reported that this is necessary on NeXTStep 3.0 systems.
Jim Meyering [Mon, 13 Oct 1997 14:07:31 +0000 (14:07 +0000)]
*** empty log message ***
Jim Meyering [Mon, 13 Oct 1997 04:02:42 +0000 (04:02 +0000)]
eliminate a comma expr,
fix one func return type
eliminate `* 1'
Jim Meyering [Mon, 13 Oct 1997 03:52:35 +0000 (03:52 +0000)]
(NLS_MAP): Remove unused definitions.
Replace with uses of UCHAR.
(nls_locale_map): Remove dcl of unused file-scope array.
Jim Meyering [Mon, 13 Oct 1997 03:48:58 +0000 (03:48 +0000)]
(NLS_MEMCMP): Define.
(keycompare): Use it instead of open-coded #ifdefs.
(compare): Likewise.
Jim Meyering [Mon, 13 Oct 1997 03:37:16 +0000 (03:37 +0000)]
indent and clean up some more
Jim Meyering [Mon, 13 Oct 1997 03:26:39 +0000 (03:26 +0000)]
Indent some more.
#ifdef ENABLE_NLS th NLS part of insertkey.
Jim Meyering [Mon, 13 Oct 1997 03:12:17 +0000 (03:12 +0000)]
indent and add FIXME comments
Jim Meyering [Mon, 13 Oct 1997 02:08:30 +0000 (02:08 +0000)]
filter through cppi
Jim Meyering [Mon, 13 Oct 1997 02:08:01 +0000 (02:08 +0000)]
Apply big patch from Ørn E. Hansen.
Jim Meyering [Fri, 10 Oct 1997 21:22:33 +0000 (21:22 +0000)]
.
Jim Meyering [Fri, 10 Oct 1997 21:22:01 +0000 (21:22 +0000)]
.
Jim Meyering [Fri, 10 Oct 1997 21:21:04 +0000 (21:21 +0000)]
.
Jim Meyering [Fri, 10 Oct 1997 21:20:45 +0000 (21:20 +0000)]
*** empty log message ***
Jim Meyering [Fri, 10 Oct 1997 21:20:27 +0000 (21:20 +0000)]
Add a test.
From William Lewis.
Jim Meyering [Wed, 8 Oct 1997 14:24:32 +0000 (14:24 +0000)]
*** empty log message ***
Jim Meyering [Tue, 7 Oct 1997 23:59:21 +0000 (23:59 +0000)]
*** empty log message ***
Jim Meyering [Tue, 7 Oct 1997 23:58:29 +0000 (23:58 +0000)]
indent cpp directives to reflect nesting
Jim Meyering [Tue, 7 Oct 1997 23:55:52 +0000 (23:55 +0000)]
update bug-reporting address
Jim Meyering [Tue, 7 Oct 1997 23:53:36 +0000 (23:53 +0000)]
update bug-reporting address
Jim Meyering [Tue, 7 Oct 1997 23:53:10 +0000 (23:53 +0000)]
update bug-reporting address
Jim Meyering [Tue, 7 Oct 1997 23:51:39 +0000 (23:51 +0000)]
update bug-reporting address
Jim Meyering [Tue, 7 Oct 1997 22:08:55 +0000 (22:08 +0000)]
.
Jim Meyering [Mon, 6 Oct 1997 13:30:14 +0000 (13:30 +0000)]
change verbose messages
Jim Meyering [Mon, 6 Oct 1997 13:09:28 +0000 (13:09 +0000)]
(usage): Add a line describing --verbose.
Jim Meyering [Mon, 6 Oct 1997 13:07:47 +0000 (13:07 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Oct 1997 13:07:14 +0000 (13:07 +0000)]
(make_path): Print verbose message using fprintf, not error.
Jim Meyering [Mon, 6 Oct 1997 13:03:29 +0000 (13:03 +0000)]
(make_path): Print message IFF the directory was
just created and the format string is non-NULL.
Jim Meyering [Mon, 6 Oct 1997 05:32:54 +0000 (05:32 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Oct 1997 05:25:59 +0000 (05:25 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Oct 1997 05:23:49 +0000 (05:23 +0000)]
fix braino