Jim Meyering [Wed, 22 May 2002 08:39:30 +0000 (08:39 +0000)]
Include "file-type.h", etc.
Jim Meyering [Wed, 22 May 2002 08:38:33 +0000 (08:38 +0000)]
*** empty log message ***
Jim Meyering [Wed, 22 May 2002 08:38:30 +0000 (08:38 +0000)]
*** empty log message ***
Jim Meyering [Wed, 22 May 2002 08:37:58 +0000 (08:37 +0000)]
.
Jim Meyering [Wed, 22 May 2002 08:37:35 +0000 (08:37 +0000)]
(libfetish_a_SOURCES): Add file-type.c and file-type.h.
Jim Meyering [Wed, 22 May 2002 08:36:32 +0000 (08:36 +0000)]
*** empty log message ***
Jim Meyering [Wed, 22 May 2002 08:35:31 +0000 (08:35 +0000)]
(S_ISREG, S_ISDIR): Define if not already defined.
(S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Likewise.
Jim Meyering [Wed, 22 May 2002 07:49:35 +0000 (07:49 +0000)]
(file_type): New file/function. Extracted from diffutils.
Jim Meyering [Wed, 22 May 2002 07:33:54 +0000 (07:33 +0000)]
*** empty log message ***
Jim Meyering [Wed, 22 May 2002 07:33:43 +0000 (07:33 +0000)]
[struct dummy]: Renamed. Don't rely on portability of
zero-length arrays. Instead, use sizes of -1 or +1.
Jim Meyering [Tue, 21 May 2002 23:15:19 +0000 (23:15 +0000)]
*** empty log message ***
Jim Meyering [Tue, 21 May 2002 23:15:05 +0000 (23:15 +0000)]
(S_ISLNK, S_ISFIFO, S_ISSOCK, S_ISCHR, S_ISBLK, S_ISDOOR): Define here instead.
Jim Meyering [Tue, 21 May 2002 23:14:42 +0000 (23:14 +0000)]
(S_ISLNK, S_ISFIFO S_ISSOCK S_ISCHR S_ISBLK S_ISDOOR): Remove definitions.
Jim Meyering [Tue, 21 May 2002 23:08:27 +0000 (23:08 +0000)]
.
Jim Meyering [Tue, 21 May 2002 23:02:51 +0000 (23:02 +0000)]
.
Jim Meyering [Tue, 21 May 2002 22:59:16 +0000 (22:59 +0000)]
(TESTS): Add rm1, rm2, rm3, rm4.
Jim Meyering [Tue, 21 May 2002 22:58:48 +0000 (22:58 +0000)]
.
Jim Meyering [Tue, 14 May 2002 21:31:48 +0000 (21:31 +0000)]
*** empty log message ***
Jim Meyering [Tue, 14 May 2002 21:31:42 +0000 (21:31 +0000)]
This bug was introduced with my change of 2000-10-22 (textutils-2.0.8).
(ulonglong_t): Move declaration to precede new use.
[enum size_spec] (N_SIZE_SPECS): New member.
(width_bytes): Add initializer corresponding to ulonglong_t type.
(struct assert_width_bytes_matches_size_spec_decl): Declare.
Based on a patch from Tony Kocurko.
Jim Meyering [Tue, 14 May 2002 21:22:57 +0000 (21:22 +0000)]
*** empty log message ***
Jim Meyering [Mon, 13 May 2002 08:50:50 +0000 (08:50 +0000)]
undo last delta -- it belongs on the no-recursion branch
Jim Meyering [Mon, 13 May 2002 08:50:15 +0000 (08:50 +0000)]
.
Jim Meyering [Sun, 12 May 2002 21:47:24 +0000 (21:47 +0000)]
*** empty log message ***
Jim Meyering [Fri, 3 May 2002 11:46:59 +0000 (11:46 +0000)]
Add FIXME comment.
Jim Meyering [Fri, 3 May 2002 11:17:01 +0000 (11:17 +0000)]
(print_uptime): Fix last change so that we use ngettext properly.
Jim Meyering [Fri, 3 May 2002 09:58:37 +0000 (09:58 +0000)]
(print_uptime): Use ngettext for day/days and user/users.
Suggestion from Karl Eichwalder.
Jim Meyering [Fri, 3 May 2002 08:13:18 +0000 (08:13 +0000)]
*** empty log message ***
Jim Meyering [Fri, 3 May 2002 08:13:09 +0000 (08:13 +0000)]
*** empty log message ***
Jim Meyering [Fri, 3 May 2002 08:12:25 +0000 (08:12 +0000)]
(usage): Add a little to the description of --list.
Uncapitalize first word and remove period at end of each one line
option description.
Jim Meyering [Fri, 3 May 2002 06:57:52 +0000 (06:57 +0000)]
*** empty log message ***
Jim Meyering [Fri, 3 May 2002 06:57:43 +0000 (06:57 +0000)]
(usage): Tweak description of --users.
From Karl Eichwalder.
Jim Meyering [Wed, 1 May 2002 14:23:15 +0000 (14:23 +0000)]
*** empty log message ***
Jim Meyering [Wed, 1 May 2002 14:22:33 +0000 (14:22 +0000)]
.
Jim Meyering [Wed, 1 May 2002 11:49:03 +0000 (11:49 +0000)]
.
Jim Meyering [Wed, 1 May 2002 06:56:32 +0000 (06:56 +0000)]
*** empty log message ***
Jim Meyering [Wed, 1 May 2002 06:54:38 +0000 (06:54 +0000)]
*** empty log message ***
Jim Meyering [Wed, 1 May 2002 06:53:45 +0000 (06:53 +0000)]
*** empty log message ***
Jim Meyering [Wed, 1 May 2002 06:51:55 +0000 (06:51 +0000)]
*** empty log message ***
Jim Meyering [Tue, 30 Apr 2002 09:45:48 +0000 (09:45 +0000)]
*** empty log message ***
Jim Meyering [Tue, 30 Apr 2002 09:37:26 +0000 (09:37 +0000)]
(jm_PREREQ): Add jm_PREREQ_STAT.
Jim Meyering [Tue, 30 Apr 2002 09:30:13 +0000 (09:30 +0000)]
*** empty log message ***
Jim Meyering [Tue, 30 Apr 2002 09:29:45 +0000 (09:29 +0000)]
(keycompare, compare): Replace #ifdef ENABLE_NLS with if (HAVE_SETLOCALE).
(hard_LC_COLLATE): Define even if ! ENABLE_NLS.
(main): Always initialize hard_LC_COLLATE.
Put initialization next to other locale-related stuff.
Include <langinfo.h> even if ! ENABLE_NLS.
(decimal_point, th_sep): Depend on HAVE_SETLOCALE, not ENABLE_NLS.
(main): Likewise.
(MONTHTAB_CONST): Remove; all uses removed.
(struct_month_cmp, inittables): Do not depend on ENABLE_NLS.
(main): hard_LC_TIME locale does not depend on ENABLE_NLS.
Jim Meyering [Tue, 30 Apr 2002 09:25:37 +0000 (09:25 +0000)]
(keycmp): Replace #ifdef ENABLE_NLS with if (HAVE_SETLOCALE).
(hard_LC_COLLATE): Define even if ! ENABLE_NLS.
(main): Always initialize hard_LC_COLLATE.
Put initialization next to other locale-related stuff.
Jim Meyering [Tue, 30 Apr 2002 09:23:38 +0000 (09:23 +0000)]
(compare_files): Replace #ifdef ENABLE_NLS with if (HAVE_SETLOCALE).
(hard_LC_COLLATE): Define even if ! ENABLE_NLS.
(main): Always initialize hard_LC_COLLATE.
Put initialization next to other locale-related stuff.
Jim Meyering [Tue, 30 Apr 2002 09:21:21 +0000 (09:21 +0000)]
(HAVE_SETLOCALE): Define to 0 if not defined.
Jim Meyering [Tue, 30 Apr 2002 09:20:32 +0000 (09:20 +0000)]
*** empty log message ***
Jim Meyering [Tue, 30 Apr 2002 09:20:26 +0000 (09:20 +0000)]
*** empty log message ***
Jim Meyering [Tue, 30 Apr 2002 09:20:19 +0000 (09:20 +0000)]
(jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
Do not check for alloca.h (no longer used) or stdbool.h (was never
used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
Jim Meyering [Tue, 30 Apr 2002 09:18:24 +0000 (09:18 +0000)]
*** empty log message ***
Jim Meyering [Tue, 30 Apr 2002 09:17:50 +0000 (09:17 +0000)]
Upgrade to version used in GNU Diffutils 2.8.1.
Jim Meyering [Mon, 29 Apr 2002 08:23:14 +0000 (08:23 +0000)]
*** empty log message ***
Jim Meyering [Mon, 29 Apr 2002 08:23:06 +0000 (08:23 +0000)]
(tail_forever): Do not treat
max_n_unchanged_stats_between_opens specially (as if it were
infinite) if it has its maximal value. Similarly for
max_n_consecutive_size_changes_between_opens.
Jim Meyering [Mon, 29 Apr 2002 07:31:56 +0000 (07:31 +0000)]
*** empty log message ***
Jim Meyering [Mon, 29 Apr 2002 07:30:57 +0000 (07:30 +0000)]
(parse_obsolescent_option): Do not limit the maximum
line/byte count to be less than ULONG_MAX on systems where
OFF_T_MAX is larger.
Jim Meyering [Mon, 29 Apr 2002 07:02:21 +0000 (07:02 +0000)]
*** empty log message ***
Jim Meyering [Mon, 29 Apr 2002 07:01:34 +0000 (07:01 +0000)]
*** empty log message ***
Jim Meyering [Mon, 29 Apr 2002 07:01:29 +0000 (07:01 +0000)]
(jm_PREREQ_SIG2STR): Remove; all callers changed.
Jim Meyering [Mon, 29 Apr 2002 07:00:23 +0000 (07:00 +0000)]
Do not include <sys/wait.h>; no longer needed.
Jim Meyering [Mon, 29 Apr 2002 06:59:24 +0000 (06:59 +0000)]
(SIGNUM_BOUND): Do not use WTERMSIG, to avoid
depending on <sys/wait.h> and WTERMSIG. Default to 64 instead
of 127, since 64 is the largest conceivable number for ancient
nonstandard hosts.
Jim Meyering [Sun, 28 Apr 2002 23:54:55 +0000 (23:54 +0000)]
*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 23:54:47 +0000 (23:54 +0000)]
add comment for prev change
Jim Meyering [Sun, 28 Apr 2002 23:54:06 +0000 (23:54 +0000)]
(make_id_equals_comment): Cast sizeof expression (used as field
width argument) to `int'.
Jim Meyering [Sun, 28 Apr 2002 23:47:53 +0000 (23:47 +0000)]
(PIDSTR_DECL_AND_INIT): Cast ut_pid value to int.
Jim Meyering [Sun, 28 Apr 2002 23:14:28 +0000 (23:14 +0000)]
.
Jim Meyering [Sun, 28 Apr 2002 23:14:20 +0000 (23:14 +0000)]
*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 23:12:01 +0000 (23:12 +0000)]
*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 23:11:56 +0000 (23:11 +0000)]
(jm_MACROS): Remove use of AC_FUNC_STRNLEN.
Jim Meyering [Sun, 28 Apr 2002 23:11:45 +0000 (23:11 +0000)]
Add jm_PREREQ_STRNLEN.
Use AC_FUNC_STRNLEN here instead.
Jim Meyering [Sun, 28 Apr 2002 22:36:42 +0000 (22:36 +0000)]
Don't AC_REQUIRE([AC_PROG_CC_STDC]).
With autoconf-2.53a, it's part of AC_PROG_CC.
Jim Meyering [Sun, 28 Apr 2002 21:59:47 +0000 (21:59 +0000)]
*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 21:59:40 +0000 (21:59 +0000)]
Don't include xalloc.h.
It's already included via system.h.
Jim Meyering [Sun, 28 Apr 2002 21:58:19 +0000 (21:58 +0000)]
.
Jim Meyering [Sun, 28 Apr 2002 21:57:52 +0000 (21:57 +0000)]
*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 21:57:40 +0000 (21:57 +0000)]
Change `@code{PROG}' to `@command{PROG}'.
Jim Meyering [Sun, 28 Apr 2002 21:55:03 +0000 (21:55 +0000)]
Change @code{PROG} to @command{PROG} for the fileutils.
Jim Meyering [Sun, 28 Apr 2002 21:46:20 +0000 (21:46 +0000)]
Begin changing @code{PROG} to @command{PROG}.
Jim Meyering [Sun, 28 Apr 2002 21:35:55 +0000 (21:35 +0000)]
Use @command{(un)?link}, not @code{...} where appropriate
Jim Meyering [Sun, 28 Apr 2002 21:32:36 +0000 (21:32 +0000)]
Rewrite from scratch. Support everything
required by POSIX 1003.1-2001; when this conflicts with Bash,
stick with POSIX. The conflicts are kill -l output format,
and lower case signal names preceded by `-' (e.g., "kill -hup"
is no longer supported). Remove -L or --long-list option.
Add -t or --table option. Rename --sigspec to --signal;
remove --signum and do not advertise obsolescent option -n.
Use str2sig and str2sig to convert between signal names and
numbers.
Jim Meyering [Sun, 28 Apr 2002 21:31:21 +0000 (21:31 +0000)]
.
Jim Meyering [Sun, 28 Apr 2002 21:30:59 +0000 (21:30 +0000)]
*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 21:30:50 +0000 (21:30 +0000)]
(jm_PREREQ): Add jm_PREREQ_SIG2STR.
Jim Meyering [Sun, 28 Apr 2002 21:29:39 +0000 (21:29 +0000)]
(jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
Jim Meyering [Sun, 28 Apr 2002 21:28:56 +0000 (21:28 +0000)]
*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 21:20:49 +0000 (21:20 +0000)]
Remove definition of unused WTERMSIG.
Jim Meyering [Sun, 28 Apr 2002 21:17:45 +0000 (21:17 +0000)]
New file: from Paul Eggert.
Jim Meyering [Sun, 28 Apr 2002 21:16:24 +0000 (21:16 +0000)]
*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 21:16:19 +0000 (21:16 +0000)]
(libfetish_a_SOURCES): Add sig2str.h.
Jim Meyering [Sun, 28 Apr 2002 21:15:37 +0000 (21:15 +0000)]
*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 21:15:05 +0000 (21:15 +0000)]
*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 21:14:59 +0000 (21:14 +0000)]
(kill invocation): Document the above.
Document POSIX signals better.
Jim Meyering [Sun, 28 Apr 2002 21:07:11 +0000 (21:07 +0000)]
*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 21:07:01 +0000 (21:07 +0000)]
Avoid new warnings from gcc.
[struct COLUMN] <name>: Declare member to be const.
(init_fps): Declare local variable `firstname' to be const.
Jim Meyering [Sun, 28 Apr 2002 18:43:52 +0000 (18:43 +0000)]
.
Jim Meyering [Sun, 28 Apr 2002 17:29:12 +0000 (17:29 +0000)]
*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 17:12:53 +0000 (17:12 +0000)]
(integer_expected_error): Add `const' to paramater
declarations to avoid new warning from gcc.
Jim Meyering [Sun, 28 Apr 2002 17:09:12 +0000 (17:09 +0000)]
(test_syntax_error): Add `const' to paramater
declarations to avoid new warning from gcc.
Jim Meyering [Sat, 27 Apr 2002 06:46:18 +0000 (06:46 +0000)]
(cycle_check): Add a comment.
Jim Meyering [Sat, 27 Apr 2002 06:33:08 +0000 (06:33 +0000)]
(cycle_check): New function containing code factored
out of remove_dir. The sole difference is that upon detecting a
cycle, rm now dies unconditionally. Before, in interactive mode,
it would ask the user whether to continue.
(remove_dir): Call cycle_check.
Jim Meyering [Thu, 25 Apr 2002 20:38:20 +0000 (20:38 +0000)]
*** empty log message ***
Jim Meyering [Thu, 25 Apr 2002 20:38:16 +0000 (20:38 +0000)]
(usage): Adjust ordering to match that of default output.