gnulib.git
26 years ago. FILEUTILS-3_16n
Jim Meyering [Sun, 15 Mar 1998 20:36:02 +0000 (20:36 +0000)]
.

26 years agoUse #if, not #ifdef with HAVE_ macros
Jim Meyering [Sun, 15 Mar 1998 11:09:10 +0000 (11:09 +0000)]
Use #if, not #ifdef with HAVE_ macros

26 years ago.
Jim Meyering [Sun, 15 Mar 1998 09:52:09 +0000 (09:52 +0000)]
.

26 years ago(EXTRA_DIST): Add prereq.m4.
Jim Meyering [Sun, 15 Mar 1998 09:47:28 +0000 (09:47 +0000)]
(EXTRA_DIST): Add prereq.m4.

26 years ago*** empty log message ***
Jim Meyering [Sun, 15 Mar 1998 09:47:03 +0000 (09:47 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Sun, 15 Mar 1998 09:45:00 +0000 (09:45 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sun, 15 Mar 1998 09:43:27 +0000 (09:43 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sun, 15 Mar 1998 09:10:21 +0000 (09:10 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sun, 15 Mar 1998 09:08:51 +0000 (09:08 +0000)]
*** empty log message ***

26 years ago(EXTRA_DIST): Add error.m4.
Jim Meyering [Sun, 15 Mar 1998 09:08:39 +0000 (09:08 +0000)]
(EXTRA_DIST): Add error.m4.

26 years ago.
Jim Meyering [Sun, 15 Mar 1998 09:07:39 +0000 (09:07 +0000)]
.

26 years agoupdate from fsf
Jim Meyering [Sun, 15 Mar 1998 08:11:02 +0000 (08:11 +0000)]
update from fsf

26 years ago*** empty log message ***
Jim Meyering [Sat, 14 Mar 1998 19:53:21 +0000 (19:53 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Sat, 14 Mar 1998 16:38:35 +0000 (16:38 +0000)]
.

26 years agos/get-date.h/getdate.h/
Jim Meyering [Sat, 14 Mar 1998 16:31:51 +0000 (16:31 +0000)]
s/get-date.h/getdate.h/

26 years ago.
Jim Meyering [Sat, 14 Mar 1998 16:30:52 +0000 (16:30 +0000)]
.

26 years agoprotoize
Jim Meyering [Fri, 13 Mar 1998 15:25:49 +0000 (15:25 +0000)]
protoize

26 years ago(getugroups): Don't add a group number if it would be a duplicate.
Jim Meyering [Fri, 13 Mar 1998 15:24:43 +0000 (15:24 +0000)]
(getugroups): Don't add a group number if it would be a duplicate.
From Ulrich Drepper.

26 years ago(getuidbyname) [__DJGPP__]: Make function know about
Jim Meyering [Tue, 10 Mar 1998 22:55:20 +0000 (22:55 +0000)]
(getuidbyname) [__DJGPP__]: Make function know about
any arbitrary user name.
(getgidbyname) [__DJGPP__]: Make function know about any arbitrary
group name.
From Eli.

26 years ago(parse_user_spec) [__DJGPP__]: Make function know
Jim Meyering [Tue, 10 Mar 1998 22:49:04 +0000 (22:49 +0000)]
(parse_user_spec) [__DJGPP__]: Make function know
about any arbitrary user and group by pretending to be the user
and to belong to the group specified in `spec_arg' argument.

26 years ago.
Jim Meyering [Wed, 25 Feb 1998 23:47:36 +0000 (23:47 +0000)]
.

26 years ago.
Jim Meyering [Wed, 25 Feb 1998 23:35:53 +0000 (23:35 +0000)]
.

26 years ago(TYPE_SIGNED): Define.
Jim Meyering [Tue, 24 Feb 1998 23:33:41 +0000 (23:33 +0000)]
(TYPE_SIGNED): Define.
(TYPE_MAXIMUM): Define.
(ULONG_MAX): Use TYPE_MAXIMUM.
(LONG_MAX): Use TYPE_MAXIMUM.

26 years ago(libfu_a_SOURCES): Add quotearg.c.
Jim Meyering [Tue, 24 Feb 1998 23:31:40 +0000 (23:31 +0000)]
(libfu_a_SOURCES): Add quotearg.c.
(noinst_HEADERS): Add quotearg.h.

26 years ago.
Jim Meyering [Tue, 24 Feb 1998 23:31:11 +0000 (23:31 +0000)]
.

26 years agoadd comment
Jim Meyering [Tue, 24 Feb 1998 23:19:13 +0000 (23:19 +0000)]
add comment

26 years agoupdate from libit
Jim Meyering [Tue, 24 Feb 1998 23:18:23 +0000 (23:18 +0000)]
update from libit

26 years agoprotoize
Jim Meyering [Tue, 24 Feb 1998 23:17:38 +0000 (23:17 +0000)]
protoize

26 years agocapitalize macro params and protoize
Jim Meyering [Tue, 24 Feb 1998 22:59:34 +0000 (22:59 +0000)]
capitalize macro params and protoize

26 years agoadd copyright
Jim Meyering [Tue, 24 Feb 1998 22:58:26 +0000 (22:58 +0000)]
add copyright

26 years agoUpdate from libit.
Jim Meyering [Tue, 24 Feb 1998 22:54:10 +0000 (22:54 +0000)]
Update from libit.

26 years ago.
Jim Meyering [Mon, 23 Feb 1998 10:16:53 +0000 (10:16 +0000)]
.

26 years ago.
Jim Meyering [Sun, 22 Feb 1998 12:30:47 +0000 (12:30 +0000)]
.

26 years agorevert most of last delta, but leave cppi/copyright changes FILEUTILS-3_16m
Jim Meyering [Sun, 22 Feb 1998 08:21:07 +0000 (08:21 +0000)]
revert most of last delta, but leave cppi/copyright changes

26 years ago.
Jim Meyering [Fri, 20 Feb 1998 21:50:49 +0000 (21:50 +0000)]
.

26 years ago(noinst_HEADERS): s/getdate.h/get-date.h/
Jim Meyering [Fri, 20 Feb 1998 21:42:29 +0000 (21:42 +0000)]
(noinst_HEADERS): s/getdate.h/get-date.h/

26 years agos/getdate.h/get-date.h/
Jim Meyering [Fri, 20 Feb 1998 21:42:11 +0000 (21:42 +0000)]
s/getdate.h/get-date.h/

26 years ago.
Jim Meyering [Fri, 20 Feb 1998 12:22:50 +0000 (12:22 +0000)]
.

26 years ago(dirname): Include ctype.h.
Jim Meyering [Thu, 19 Feb 1998 21:31:06 +0000 (21:31 +0000)]
(dirname): Include ctype.h.
[IN_CTYPE_DOMAIN]: Define.
[ISALPHA]: Define.
[MSDOS]: Add support for DOS-style file names with drive letters.
Based on a patch from Eli Zaretskii.

26 years ago[__DJGPP__]: Add missing typedef for daddr_t.
Jim Meyering [Thu, 19 Feb 1998 21:28:38 +0000 (21:28 +0000)]
[__DJGPP__]: Add missing typedef for daddr_t.

26 years agoAdd my comment from ChangeLog entry for gkm's change.
Jim Meyering [Wed, 11 Feb 1998 22:17:38 +0000 (22:17 +0000)]
Add my comment from ChangeLog entry for gkm's change.

26 years ago.
Jim Meyering [Sat, 7 Feb 1998 15:17:56 +0000 (15:17 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sat, 7 Feb 1998 09:54:05 +0000 (09:54 +0000)]
*** empty log message ***

26 years agoDon't set am_cv_func_working_getline before the
Jim Meyering [Sat, 7 Feb 1998 09:50:58 +0000 (09:50 +0000)]
Don't set am_cv_func_working_getline before the
cache-check for the same variable -- that defeated the purpose of
the test; the test program was never run.  This was a problem only
on systems with losing getline functions -- HP-UX 10.20 is one.
Reported by Bjorn Helgaas.

26 years ago.
Jim Meyering [Sat, 7 Feb 1998 08:13:08 +0000 (08:13 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Fri, 6 Feb 1998 12:37:07 +0000 (12:37 +0000)]
*** empty log message ***

26 years ago(EXTRA_DIST): Add perl.m4.
Jim Meyering [Fri, 6 Feb 1998 12:36:59 +0000 (12:36 +0000)]
(EXTRA_DIST): Add perl.m4.

26 years ago.
Jim Meyering [Fri, 6 Feb 1998 12:36:04 +0000 (12:36 +0000)]
.

26 years ago.
Jim Meyering [Wed, 4 Feb 1998 20:28:08 +0000 (20:28 +0000)]
.

26 years ago.
Jim Meyering [Wed, 4 Feb 1998 18:00:57 +0000 (18:00 +0000)]
.

26 years ago(sys/types.h): Include to get size_t on some systems.
Jim Meyering [Tue, 3 Feb 1998 07:23:13 +0000 (07:23 +0000)]
(sys/types.h): Include to get size_t on some systems.
(NULL): Define if needed.

26 years ago. FILEUTILS-3_16l
Jim Meyering [Sun, 25 Jan 1998 21:20:53 +0000 (21:20 +0000)]
.

26 years ago.
Jim Meyering [Sun, 25 Jan 1998 12:20:58 +0000 (12:20 +0000)]
.

26 years ago.
Jim Meyering [Sun, 25 Jan 1998 12:19:05 +0000 (12:19 +0000)]
.

26 years ago(__mktime_internal): Work around bug in Irix4.0.5's
Jim Meyering [Fri, 23 Jan 1998 22:02:54 +0000 (22:02 +0000)]
(__mktime_internal): Work around bug in Irix4.0.5's
C compiler.  From Kaveh Ghazi.
(TYPE_MINIMUM): Define.
(TYPE_MAXIMUM): Define.
(TIME_T_MIN): Use TYPE_MINIMUM.
(TIME_T_MAX): Use TYPE_MAXIMUM.

26 years ago.
Jim Meyering [Wed, 21 Jan 1998 15:59:28 +0000 (15:59 +0000)]
.

26 years agoFix copyright
Jim Meyering [Wed, 21 Jan 1998 15:57:48 +0000 (15:57 +0000)]
Fix copyright

26 years agoUse ANSI function definitions.
Jim Meyering [Wed, 21 Jan 1998 15:57:18 +0000 (15:57 +0000)]
Use ANSI function definitions.
Remove global declaration of backup_type.
(simple_backup_suffix): Default to `~', not `.orig'.
Use PARAMS, not __BACKUPFILE_P.
(find_backup_file_name): Add parameter, backup_type.

26 years agoRemove extern declaration of backup_type.
Jim Meyering [Wed, 21 Jan 1998 15:55:12 +0000 (15:55 +0000)]
Remove extern declaration of backup_type.
Use PARAMS, not __BACKUPFILE_P.
(VALID_BACKUP_TYPE): Define.
(find_backup_file_name): Adjust prototype.

26 years agoUse ANSI function definitions.
Jim Meyering [Tue, 20 Jan 1998 11:34:38 +0000 (11:34 +0000)]
Use ANSI function definitions.

26 years ago[enum backup_type]: Set `none' to 1.
Jim Meyering [Tue, 20 Jan 1998 11:34:04 +0000 (11:34 +0000)]
[enum backup_type]: Set `none' to 1.

26 years ago(re_match_2_internal): Use SYNTAX_TABLE_BYTE_TO_CHAR.
Richard Stallman [Fri, 16 Jan 1998 17:56:40 +0000 (17:56 +0000)]
(re_match_2_internal): Use SYNTAX_TABLE_BYTE_TO_CHAR.

(re_match_2_internal) <wordbeg, wordend>:
Call UPDATE_SYNTAX_TABLE properly with a charpos.

26 years ago.
Jim Meyering [Fri, 16 Jan 1998 11:17:02 +0000 (11:17 +0000)]
.

26 years agoMake PARAMS-defining conditionals consistent.
Jim Meyering [Fri, 16 Jan 1998 08:51:39 +0000 (08:51 +0000)]
Make PARAMS-defining conditionals consistent.

26 years agoSet errno to ENOENT, not EINVAL. This is consistent
Jim Meyering [Tue, 13 Jan 1998 10:08:11 +0000 (10:08 +0000)]
Set errno to ENOENT, not EINVAL.  This is consistent
with most other implementations.

26 years agoInclude sys/param.h only #if HAVE_SYS_PARAM_H.
Jim Meyering [Mon, 12 Jan 1998 08:13:39 +0000 (08:13 +0000)]
Include sys/param.h only #if HAVE_SYS_PARAM_H.
Move function-spanning `#if ...BSIZE' stmt to follow inclusion of
sys/param.h since BSIZE is sometimes defined in sys/param.h.
Based on a patch from Philippe De Muyter.

26 years ago. FILEUTILS-3_16k
Jim Meyering [Sun, 11 Jan 1998 09:14:29 +0000 (09:14 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sun, 11 Jan 1998 09:12:30 +0000 (09:12 +0000)]
*** empty log message ***

26 years ago. TEXTUTILS-1_22d
Jim Meyering [Sun, 11 Jan 1998 08:02:39 +0000 (08:02 +0000)]
.

26 years ago.
Jim Meyering [Sat, 10 Jan 1998 16:24:46 +0000 (16:24 +0000)]
.

26 years ago(EXTRA_DIST): Add const.m4.
Jim Meyering [Sat, 10 Jan 1998 16:24:26 +0000 (16:24 +0000)]
(EXTRA_DIST): Add const.m4.

26 years ago.
Jim Meyering [Sat, 10 Jan 1998 15:57:57 +0000 (15:57 +0000)]
.

26 years ago.
Jim Meyering [Sat, 10 Jan 1998 14:25:27 +0000 (14:25 +0000)]
.

26 years ago(make_path): Reformat 3 if-stmts to test `if (newly_created_dir)' only once.
Jim Meyering [Sat, 10 Jan 1998 10:28:37 +0000 (10:28 +0000)]
(make_path): Reformat 3 if-stmts to test `if (newly_created_dir)' only once.
Suggestion from Andreas Schwab.

26 years ago(make_path): Put only newly created directories on the LEADING_DIRS list.
Jim Meyering [Sat, 10 Jan 1998 10:22:30 +0000 (10:22 +0000)]
(make_path): Put only newly created directories on the LEADING_DIRS list.

26 years ago(re_search_2): Fix call to CHAR_HEAD_P.
Richard Stallman [Fri, 9 Jan 1998 23:24:24 +0000 (23:24 +0000)]
(re_search_2): Fix call to CHAR_HEAD_P.
(re_match_2_internal): Use PTR_BYTE_POS and PT_BYTE.

26 years agoAdd %expect directive.
Jim Meyering [Tue, 6 Jan 1998 23:53:33 +0000 (23:53 +0000)]
Add %expect directive.
Move inclusion of getdate.h and dependent extern declarations down
so getdate.h's prototype follows the sometimes-enabled definition
of `const' to nothing.  Otherwise, the prototype wouldn't match
the definition because of the defined-away `const'.
(get_date): ANSI-fy definition.
From Kaveh Ghazi.

26 years ago(get_fs_usage): Add parens.
Jim Meyering [Mon, 5 Jan 1998 17:38:38 +0000 (17:38 +0000)]
(get_fs_usage): Add parens.

26 years ago(PROPAGATE_ALL_ONES): New macro.
Jim Meyering [Mon, 5 Jan 1998 17:33:54 +0000 (17:33 +0000)]
(PROPAGATE_ALL_ONES): New macro.
(get_fs_usage): If a value consists entirely of 1 bits,
propagate this info to the output by setting it to (uintmax_t) -1.

26 years ago. FILEUTILS-3_16j
Jim Meyering [Sun, 4 Jan 1998 22:46:40 +0000 (22:46 +0000)]
.

26 years ago(parse_long_options): Check for write error to stdout before exiting.
Jim Meyering [Sun, 4 Jan 1998 22:43:44 +0000 (22:43 +0000)]
(parse_long_options): Check for write error to stdout before exiting.

26 years ago(libfu_a_SOURCES): Add closeout.c.
Jim Meyering [Sun, 4 Jan 1998 22:42:38 +0000 (22:42 +0000)]
(libfu_a_SOURCES): Add closeout.c.
(noinst_HEADERS): Add closeout.h.

26 years ago.
Jim Meyering [Sun, 4 Jan 1998 21:47:31 +0000 (21:47 +0000)]
.

26 years ago.
Jim Meyering [Sat, 3 Jan 1998 22:53:52 +0000 (22:53 +0000)]
.

26 years ago.
Jim Meyering [Sat, 3 Jan 1998 22:14:58 +0000 (22:14 +0000)]
.

26 years agoGuard PARAMS-enabling definition with
Jim Meyering [Sat, 3 Jan 1998 11:56:58 +0000 (11:56 +0000)]
Guard PARAMS-enabling definition with
`defined PROTOTYPES || (defined __STDC__ && __STDC__)' to be consistent.

26 years agoGuard PARAMS-enabling definition with
Jim Meyering [Sat, 3 Jan 1998 11:56:09 +0000 (11:56 +0000)]
Guard PARAMS-enabling definition with
`defined PROTOTYPES || (defined __STDC__ && __STDC__)' to avoid
problems with Irix4's cc.  From Kaveh Ghazi.

26 years ago(make_path): Try to change ownership only if we've just created the FILEUTILS-3_16i
Jim Meyering [Fri, 2 Jan 1998 23:15:39 +0000 (23:15 +0000)]
(make_path): Try to change ownership only if we've just created the
directory.  Fix latent bug (s/&&/||/ in two places -- also, note that
it could not be exercised via install or mkdir) whereby chown would
not be invoked when only one of owner/group is not -1.

26 years agoDefine and use PARAMS, not __EXCLUDE_P.
Jim Meyering [Wed, 31 Dec 1997 11:01:35 +0000 (11:01 +0000)]
Define and use PARAMS, not __EXCLUDE_P.

26 years agoUse PARAMS, not __EXCLUDE_P.
Jim Meyering [Wed, 31 Dec 1997 11:01:18 +0000 (11:01 +0000)]
Use PARAMS, not __EXCLUDE_P.

26 years ago(invalid_arg): Use a single fprintf and whole
Jim Meyering [Mon, 29 Dec 1997 12:02:43 +0000 (12:02 +0000)]
(invalid_arg): Use a single fprintf and whole
format statements to ease translation.
Convert from K&R to ANSI function dcls.

26 years agoUse ANSI syntax, not K&R.
Jim Meyering [Sun, 28 Dec 1997 10:41:01 +0000 (10:41 +0000)]
Use ANSI syntax, not K&R.

26 years ago(make_path) [!__STDC__]: Remove K&R-style definition.
Jim Meyering [Sun, 28 Dec 1997 10:38:15 +0000 (10:38 +0000)]
(make_path) [!__STDC__]: Remove K&R-style definition.

26 years agodefine PARAMS
Jim Meyering [Sun, 28 Dec 1997 09:48:26 +0000 (09:48 +0000)]
define PARAMS

26 years agoAdd PARAMS.
Jim Meyering [Sun, 28 Dec 1997 08:04:08 +0000 (08:04 +0000)]
Add PARAMS.

26 years ago(_GNU_SOURCE): Define only if not already defined. FILEUTILS-3_16h
Jim Meyering [Thu, 25 Dec 1997 17:44:08 +0000 (17:44 +0000)]
(_GNU_SOURCE): Define only if not already defined.

26 years agoDeclare stpcpy only if not defined as macro.
Jim Meyering [Thu, 25 Dec 1997 17:02:25 +0000 (17:02 +0000)]
Declare stpcpy only if not defined as macro.

26 years agoDeclare stpcpy only if not defined as macro.
Jim Meyering [Thu, 25 Dec 1997 16:49:08 +0000 (16:49 +0000)]
Declare stpcpy only if not defined as macro.

26 years agoInclude <string.h> if available.
Jim Meyering [Thu, 25 Dec 1997 16:48:51 +0000 (16:48 +0000)]
Include <string.h> if available.

26 years ago.
Jim Meyering [Wed, 24 Dec 1997 13:16:54 +0000 (13:16 +0000)]
.