gnulib.git
25 years ago. FILEUTILS-4_1-b2
Jim Meyering [Tue, 5 Jan 1999 04:29:34 +0000 (04:29 +0000)]
.

25 years agoremove strcasecmp.cin
Jim Meyering [Mon, 4 Jan 1999 20:14:26 +0000 (20:14 +0000)]
remove strcasecmp.cin

25 years ago(argmatch_invalid): Remove double quotes from the
Jim Meyering [Sat, 2 Jan 1999 20:35:06 +0000 (20:35 +0000)]
(argmatch_invalid): Remove double quotes from the
offending quoted argument before using it in explanatory diagnostic.
Use a single fprintf stmt.

25 years ago*** empty log message ***
Jim Meyering [Sat, 2 Jan 1999 20:07:04 +0000 (20:07 +0000)]
*** empty log message ***

25 years agoReplace strcasecmp and strncasecmp.
Jim Meyering [Sat, 2 Jan 1999 20:06:59 +0000 (20:06 +0000)]
Replace strcasecmp and strncasecmp.

25 years ago.
Jim Meyering [Sat, 2 Jan 1999 19:38:36 +0000 (19:38 +0000)]
.

25 years ago(strcasecmp.c strncasecmp.c): Remove rules.
Jim Meyering [Sat, 2 Jan 1999 19:31:19 +0000 (19:31 +0000)]
(strcasecmp.c strncasecmp.c): Remove rules.

25 years ago.
Jim Meyering [Sat, 2 Jan 1999 19:28:42 +0000 (19:28 +0000)]
.

25 years ago(get_version): Adapt to use new interface to XARGMATCH.
Jim Meyering [Sat, 2 Jan 1999 19:28:31 +0000 (19:28 +0000)]
(get_version): Adapt to use new interface to XARGMATCH.

25 years ago(XARGMATCH): Don't return a value; instead, modify a parameter.
Jim Meyering [Sat, 2 Jan 1999 18:33:08 +0000 (18:33 +0000)]
(XARGMATCH): Don't return a value;  instead, modify a parameter.
Add a `Die_stmt' parameter.
Add parentheses.

25 years ago(__xargmatch_internal): Remove now-unused function.
Jim Meyering [Sat, 2 Jan 1999 18:32:50 +0000 (18:32 +0000)]
(__xargmatch_internal): Remove now-unused function.
(argmatch_to_argument): Add `const' attribute to first parameter.

25 years agoAdd #ifdefs so it can be used for strncasecmp, too.
Jim Meyering [Sat, 2 Jan 1999 15:55:52 +0000 (15:55 +0000)]
Add #ifdefs so it can be used for strncasecmp, too.

25 years ago*** empty log message ***
Jim Meyering [Sat, 2 Jan 1999 15:55:44 +0000 (15:55 +0000)]
*** empty log message ***

25 years agoRemove definition of setlocale.
Jim Meyering [Sat, 2 Jan 1999 05:30:07 +0000 (05:30 +0000)]
Remove definition of setlocale.
Remove definitions of bindtextdomain and textdomain.

25 years agoInclude locale.h and libintl.h, and define `_()'.
Jim Meyering [Sat, 2 Jan 1999 05:27:32 +0000 (05:27 +0000)]
Include locale.h and libintl.h, and define `_()'.
Mark translatable strings.

25 years ago(make_dir): New function, factored out of make_path.
Jim Meyering [Sat, 2 Jan 1999 05:16:57 +0000 (05:16 +0000)]
(make_dir): New function, factored out of make_path.
(make_path): Use make_dir rather than open-coding it twice.
This effectively reverses the order of the latter pair of stat/mkdir
calls and fixes a race condition bug whereby one of two concurrent
`mkdir -p' processes could fail with EEXIST.

25 years ago(quoting_style_vals): New public array.
Jim Meyering [Fri, 1 Jan 1999 17:43:10 +0000 (17:43 +0000)]
(quoting_style_vals): New public array.

25 years agoAdd comments.
Jim Meyering [Fri, 1 Jan 1999 17:40:08 +0000 (17:40 +0000)]
Add comments.
(xcalloc, xmalloc, xrealloc): Remove prototypes.
(calloc): Remove `#ifdef NOT_USED' that used to hide this function.

25 years agoAdd comments.
Jim Meyering [Fri, 1 Jan 1999 17:36:43 +0000 (17:36 +0000)]
Add comments.
(PARAMS, XMALLOC, XCALLOC, XREALLOC): Define.
Based on changes from Akim Demaille.

25 years agoremove leading _ from _ARGMATCH_H_
Jim Meyering [Fri, 1 Jan 1999 17:34:18 +0000 (17:34 +0000)]
remove leading _ from _ARGMATCH_H_

25 years ago*** empty log message ***
Jim Meyering [Fri, 1 Jan 1999 07:10:00 +0000 (07:10 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Fri, 1 Jan 1999 07:09:08 +0000 (07:09 +0000)]
.

25 years ago.
Jim Meyering [Fri, 1 Jan 1999 07:08:54 +0000 (07:08 +0000)]
.

25 years ago(quotearg_n_options): Make `options' parameter be `const'.
Jim Meyering [Fri, 1 Jan 1999 07:03:16 +0000 (07:03 +0000)]
(quotearg_n_options): Make `options' parameter be `const'.

25 years ago(quotearg_buffer): Cast -1 to size_t before comparing.
Jim Meyering [Fri, 1 Jan 1999 07:02:16 +0000 (07:02 +0000)]
(quotearg_buffer): Cast -1 to size_t before comparing.
(quotearg_n): Change type of 1st parameter from int to unsigned int.
(quotearg_n_options): Likewise.
From Akim Demaille.

25 years ago(humblock): Use ARGMATCH in place of argmatch.
Jim Meyering [Fri, 1 Jan 1999 06:47:04 +0000 (06:47 +0000)]
(humblock): Use ARGMATCH in place of argmatch.

25 years ago(get_version): Use XARGCASEMATCH in place of argmatch & co.
Jim Meyering [Fri, 1 Jan 1999 06:43:04 +0000 (06:43 +0000)]
(get_version): Use XARGCASEMATCH in place of argmatch & co.

25 years ago.
Jim Meyering [Thu, 31 Dec 1998 23:24:08 +0000 (23:24 +0000)]
.

25 years ago(libfu_a_SOURCES): Remove strcasecmp.c.
Jim Meyering [Thu, 31 Dec 1998 22:03:13 +0000 (22:03 +0000)]
(libfu_a_SOURCES): Remove strcasecmp.c.
(BUILT_SOURCES): Add strcasecmp.c and strncasecmp.c.
(EXTRA_DIST): Add strcasecmp.cin.
(strcasecmp.c): New rule.
(strncasecmp.c): New rule.

25 years agofix typo
Jim Meyering [Thu, 31 Dec 1998 18:12:40 +0000 (18:12 +0000)]
fix typo

25 years agowhite space changes
Jim Meyering [Thu, 31 Dec 1998 18:10:53 +0000 (18:10 +0000)]
white space changes

25 years ago(strncasecmp): Move to a separate file.
Jim Meyering [Thu, 31 Dec 1998 18:07:23 +0000 (18:07 +0000)]
(strncasecmp): Move to a separate file.
Add curly braces around some one-stmt-but-multiline blocks.

25 years ago*** empty log message ***
Jim Meyering [Thu, 31 Dec 1998 17:53:59 +0000 (17:53 +0000)]
*** empty log message ***

25 years agoremove trailing blanks
Jim Meyering [Thu, 31 Dec 1998 16:19:31 +0000 (16:19 +0000)]
remove trailing blanks

25 years agolots of changes from Akim Demaille.
Jim Meyering [Thu, 31 Dec 1998 16:18:13 +0000 (16:18 +0000)]
lots of changes from Akim Demaille.

25 years ago(addext): Protoize.
Jim Meyering [Thu, 31 Dec 1998 14:56:20 +0000 (14:56 +0000)]
(addext): Protoize.
Indent cpp directives to match nesting.

25 years ago(posix_time_parse): Change type of index `i' from int to unsigned int.
Jim Meyering [Thu, 31 Dec 1998 14:53:16 +0000 (14:53 +0000)]
(posix_time_parse): Change type of index `i' from int to unsigned int.

25 years agoFix warnings from gcc -W -Wall
Jim Meyering [Thu, 31 Dec 1998 14:37:21 +0000 (14:37 +0000)]
Fix warnings from gcc -W -Wall
(__attribute__): Define.
(ATTRIBUTE_UNUSED): Define.
(yyerror): Mark parameter as unused with ATTRIBUTE_UNUSED.
(MonthDayTable): Add initializers for last entry.
(UnitsTable): Likewise.
(OtherTable): Likewise.
(MilitaryTable): Likewise.

25 years ago(re_compile_fastmap): Do something similar to the
Richard Stallman [Wed, 30 Dec 1998 20:44:39 +0000 (20:44 +0000)]
(re_compile_fastmap): Do something similar to the
previous change, for charset_not, wordchar, notwordchar,
categoryspec, notcategoryspec.

25 years ago*** empty log message *** FILEUTILS-4_1-b1
Jim Meyering [Sat, 19 Dec 1998 17:21:00 +0000 (17:21 +0000)]
*** empty log message ***

25 years agobreak long line
Jim Meyering [Sat, 19 Dec 1998 17:20:03 +0000 (17:20 +0000)]
break long line

25 years agobreak long line
Jim Meyering [Sat, 19 Dec 1998 17:19:13 +0000 (17:19 +0000)]
break long line

25 years agosplit long line
Jim Meyering [Sat, 19 Dec 1998 17:18:23 +0000 (17:18 +0000)]
split long line

25 years ago.
Jim Meyering [Sat, 19 Dec 1998 13:54:04 +0000 (13:54 +0000)]
.

25 years ago.
Jim Meyering [Fri, 18 Dec 1998 22:11:39 +0000 (22:11 +0000)]
.

25 years agoremove semicolon -- from Lars
Jim Meyering [Fri, 18 Dec 1998 15:32:54 +0000 (15:32 +0000)]
remove semicolon -- from Lars

25 years ago*** empty log message ***
Jim Meyering [Fri, 18 Dec 1998 15:32:29 +0000 (15:32 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Fri, 18 Dec 1998 14:49:38 +0000 (14:49 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Fri, 18 Dec 1998 14:49:30 +0000 (14:49 +0000)]
*** empty log message ***

25 years ago(Makefile.am): Simplify rule.
Jim Meyering [Fri, 18 Dec 1998 14:49:01 +0000 (14:49 +0000)]
(Makefile.am): Simplify rule.
Based on suggestion from Lars Hecking.

25 years ago.
Jim Meyering [Sun, 13 Dec 1998 19:19:07 +0000 (19:19 +0000)]
.

25 years agoDon't include stdlib.h and declare malloc and free.
Jim Meyering [Sun, 13 Dec 1998 18:04:11 +0000 (18:04 +0000)]
Don't include stdlib.h and declare malloc and free.
This works around Solaris 2.7's conflicting prototype.
Reported by Karl Berry.

25 years ago(EXTRA_DIST): Add xstat.in.
Jim Meyering [Sun, 13 Dec 1998 17:19:51 +0000 (17:19 +0000)]
(EXTRA_DIST): Add xstat.in.

25 years ago(lstat.c): Add rule to generate this from xstat.in.
Jim Meyering [Sat, 12 Dec 1998 05:46:02 +0000 (05:46 +0000)]
(lstat.c): Add rule to generate this from xstat.in.
(stat.c): Likewise.

25 years ago*** empty log message ***
Jim Meyering [Sat, 12 Dec 1998 05:45:39 +0000 (05:45 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Sat, 12 Dec 1998 05:45:29 +0000 (05:45 +0000)]
.

25 years ago(quotearg_buffer): Use `7' as the mask, not `3'.
Jim Meyering [Fri, 11 Dec 1998 14:14:16 +0000 (14:14 +0000)]
(quotearg_buffer): Use `7' as the mask, not `3'.
From Bruno Haible.

25 years ago(re_compile_fastmap): For anychar, set all fastmap
Karl Heuer [Thu, 10 Dec 1998 03:09:12 +0000 (03:09 +0000)]
(re_compile_fastmap): For anychar, set all fastmap
elements for all possible unibyte chars (except newline).

25 years ago(dir_name): Rename from dirname.
Jim Meyering [Mon, 7 Dec 1998 06:25:54 +0000 (06:25 +0000)]
(dir_name): Rename from dirname.
Make argument `const'.  Include "dirname.h"

25 years ago(noinst_HEADERS): Add dirname.h.
Jim Meyering [Mon, 7 Dec 1998 06:25:29 +0000 (06:25 +0000)]
(noinst_HEADERS): Add dirname.h.

25 years ago.
Jim Meyering [Mon, 7 Dec 1998 06:24:28 +0000 (06:24 +0000)]
.

25 years ago.
Jim Meyering [Mon, 7 Dec 1998 05:54:49 +0000 (05:54 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Mon, 7 Dec 1998 05:54:29 +0000 (05:54 +0000)]
*** empty log message ***

25 years ago(rpmatch) [!ENABLE_NLS]: Hard-code tests to use `^[yY]' and `^[nN]'.
Jim Meyering [Mon, 7 Dec 1998 05:14:07 +0000 (05:14 +0000)]
(rpmatch) [!ENABLE_NLS]: Hard-code tests to use `^[yY]' and `^[nN]'.
From Karl Heuer.

25 years agoansideclify
Jim Meyering [Mon, 7 Dec 1998 03:12:10 +0000 (03:12 +0000)]
ansideclify

25 years agoRedefine putenv before including stdlib.h to work
Jim Meyering [Sun, 6 Dec 1998 22:18:17 +0000 (22:18 +0000)]
Redefine putenv before including stdlib.h to work
around Solaris 2.7's conflicting prototype.  Reported by Karl Berry.

25 years ago*** empty log message ***
Jim Meyering [Tue, 17 Nov 1998 02:14:16 +0000 (02:14 +0000)]
*** empty log message ***

25 years agoDouble-quote the `uname...` expression.
Jim Meyering [Tue, 17 Nov 1998 02:14:12 +0000 (02:14 +0000)]
Double-quote the `uname...` expression.

25 years ago(AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
Jim Meyering [Tue, 17 Nov 1998 02:09:52 +0000 (02:09 +0000)]
(AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.

25 years ago(error): Don't use strerror_r's return value.
Jim Meyering [Sun, 15 Nov 1998 17:35:34 +0000 (17:35 +0000)]
(error): Don't use strerror_r's return value.

25 years ago*** empty log message *** FILEUTILS-4_0
Jim Meyering [Sat, 14 Nov 1998 13:23:08 +0000 (13:23 +0000)]
*** empty log message ***

25 years agoCorrect comment. POSIX does not permit it to succeed.
Jim Meyering [Sat, 14 Nov 1998 13:22:58 +0000 (13:22 +0000)]
Correct comment.  POSIX does not permit it to succeed.

25 years agorevert-to-4.0-b7
Jim Meyering [Sat, 14 Nov 1998 13:17:34 +0000 (13:17 +0000)]
revert-to-4.0-b7

25 years agorevert-last-change
Jim Meyering [Sat, 14 Nov 1998 13:13:10 +0000 (13:13 +0000)]
revert-last-change

25 years agoback out last change: there is a better way
Jim Meyering [Wed, 11 Nov 1998 05:16:09 +0000 (05:16 +0000)]
back out last change: there is a better way

25 years ago(BACKUPFILE_EXIT_FAILURE): Define.
Jim Meyering [Wed, 11 Nov 1998 05:01:26 +0000 (05:01 +0000)]
(BACKUPFILE_EXIT_FAILURE): Define.
(get_version): Use it in place of EXIT_FAILURE.

25 years ago(regex_compile): Handle translation of multibyte
Karl Heuer [Tue, 10 Nov 1998 07:03:05 +0000 (07:03 +0000)]
(regex_compile): Handle translation of multibyte
exact-match characters.

25 years ago[EXIT_FAILURE]: Define.
Jim Meyering [Tue, 10 Nov 1998 05:57:56 +0000 (05:57 +0000)]
[EXIT_FAILURE]: Define.
(get_version): Use EXIT_FAILURE as exit status rather than
hard-coding `2'.  From François Pinard.

25 years ago. FILEUTILS-4_0-b7
Jim Meyering [Sun, 8 Nov 1998 03:49:22 +0000 (03:49 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Sun, 8 Nov 1998 03:42:44 +0000 (03:42 +0000)]
*** empty log message ***

25 years agoRewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
Jim Meyering [Sun, 8 Nov 1998 03:42:35 +0000 (03:42 +0000)]
Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.

25 years agoRewrite to set HAVE_STAT_EMPTY_STRING_BUG.
Jim Meyering [Sun, 8 Nov 1998 03:42:20 +0000 (03:42 +0000)]
Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.

25 years ago[lstat]: Remove #undef.
Jim Meyering [Sun, 8 Nov 1998 03:40:04 +0000 (03:40 +0000)]
[lstat]: Remove #undef.
(rpl_lstat): Protoize.  Use ENOENT, not EINVAL, to be consistent
with lib/stat.c.

25 years ago(rpl_stat): Protoize.
Jim Meyering [Sun, 8 Nov 1998 03:39:42 +0000 (03:39 +0000)]
(rpl_stat): Protoize.
(stat): Remove #undef.

25 years ago.
Jim Meyering [Sun, 1 Nov 1998 01:02:24 +0000 (01:02 +0000)]
.

25 years ago. FILEUTILS-4_0-b6
Jim Meyering [Sun, 18 Oct 1998 14:14:14 +0000 (14:14 +0000)]
.

25 years ago Don't invoke localtime_r or gmtime_r unless it's the GNU C
Jim Meyering [Sun, 18 Oct 1998 14:09:48 +0000 (14:09 +0000)]
Don't invoke localtime_r or gmtime_r unless it's the GNU C
library's localtime_r and gmtime_r; there are too many buggy
implementations of localtime_r and gmtime_r out there, and
it's not worth keeping track of all the different bugs.

* strftime.c (__EXTENSIONS__): Remove.
(my_strftime_gmtime_r): Renamed from gmtime_r; all uses changed.
(my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
Base them on localtime/gmtime if not _LIBC.

25 years ago Don't invoke localtime_r or gmtime_r unless it's the GNU C
Jim Meyering [Sun, 18 Oct 1998 14:08:35 +0000 (14:08 +0000)]
Don't invoke localtime_r or gmtime_r unless it's the GNU C
library's localtime_r and gmtime_r; there are too many buggy
implementations of localtime_r and gmtime_r out there, and
it's not worth keeping track of all the different bugs.

* mktime.c (__EXTENSIONS__, HAVE_LOCALTIME_R): Remove.
(my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
Base it on localtime unless _LIBC.

25 years ago(jm_CHECK_DECL_LOCALTIME_R): Remove macro.
Jim Meyering [Sun, 18 Oct 1998 14:08:09 +0000 (14:08 +0000)]
(jm_CHECK_DECL_LOCALTIME_R): Remove macro.

25 years agoDeclare localtime_r if necessary. FILEUTILS-4_0-b4
Jim Meyering [Sun, 18 Oct 1998 01:10:21 +0000 (01:10 +0000)]
Declare localtime_r if necessary.

25 years ago*** empty log message ***
Jim Meyering [Sun, 18 Oct 1998 01:08:54 +0000 (01:08 +0000)]
*** empty log message ***

25 years ago(jm_CHECK_DECLS): Reflect interface change.
Jim Meyering [Sun, 18 Oct 1998 01:08:22 +0000 (01:08 +0000)]
(jm_CHECK_DECLS): Reflect interface change.
(jm_CHECK_DECL_LOCALTIME_R): New macro.

25 years ago(jm_CHECK_DECLARATION): Don't hard-code which headers to
Jim Meyering [Sun, 18 Oct 1998 01:07:17 +0000 (01:07 +0000)]
(jm_CHECK_DECLARATION): Don't hard-code which headers to
include, though we still hard-code the `require'-like AC_CHECK_HEADERS
calls for those previously hard-coded headers.  Instead, take a new parameter.
(jm_CHECK_DECLARATIONS): Reflect interface change.

25 years agoTest for spring-forward gap before long-running test.
Jim Meyering [Sun, 18 Oct 1998 00:58:07 +0000 (00:58 +0000)]
Test for spring-forward gap before long-running test.

25 years agoSome systems require <unistd.h> to be included before <time.h> for
Jim Meyering [Sat, 17 Oct 1998 12:39:30 +0000 (12:39 +0000)]
Some systems require <unistd.h> to be included before <time.h> for
localtime_r to be declared properly.

25 years agoUse the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
Jim Meyering [Wed, 14 Oct 1998 21:27:52 +0000 (21:27 +0000)]
Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
instead of "TZ=America/Vancouver".  From Paul Eggert.

25 years ago. FILEUTILS-4_0-b3
Jim Meyering [Mon, 12 Oct 1998 03:50:24 +0000 (03:50 +0000)]
.

25 years agoadd jm_ prefix to cache variable
Jim Meyering [Mon, 12 Oct 1998 03:20:21 +0000 (03:20 +0000)]
add jm_ prefix to cache variable

25 years ago*** empty log message ***
Jim Meyering [Mon, 12 Oct 1998 02:56:35 +0000 (02:56 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Mon, 12 Oct 1998 02:55:35 +0000 (02:55 +0000)]
*** empty log message ***