platform/upstream/coreutils.git
22 years ago(usage): Add a little to the description of --list.
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.

22 years ago*** empty log message ***
Jim Meyering [Fri, 3 May 2002 06:57:52 +0000 (06:57 +0000)]
*** empty log message ***

22 years ago(usage): Tweak description of --users.
Jim Meyering [Fri, 3 May 2002 06:57:43 +0000 (06:57 +0000)]
(usage): Tweak description of --users.
From Karl Eichwalder.

22 years ago*** empty log message ***
Jim Meyering [Wed, 1 May 2002 14:23:15 +0000 (14:23 +0000)]
*** empty log message ***

22 years ago.
Jim Meyering [Wed, 1 May 2002 14:22:33 +0000 (14:22 +0000)]
.

22 years ago.
Jim Meyering [Wed, 1 May 2002 11:49:03 +0000 (11:49 +0000)]
.

22 years ago*** empty log message *** SH-UTILS-2_0_12
Jim Meyering [Wed, 1 May 2002 06:56:32 +0000 (06:56 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Wed, 1 May 2002 06:54:38 +0000 (06:54 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Wed, 1 May 2002 06:53:45 +0000 (06:53 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Wed, 1 May 2002 06:51:55 +0000 (06:51 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Tue, 30 Apr 2002 09:45:48 +0000 (09:45 +0000)]
*** empty log message ***

22 years ago(jm_PREREQ): Add jm_PREREQ_STAT.
Jim Meyering [Tue, 30 Apr 2002 09:37:26 +0000 (09:37 +0000)]
(jm_PREREQ): Add jm_PREREQ_STAT.

22 years ago*** empty log message ***
Jim Meyering [Tue, 30 Apr 2002 09:30:13 +0000 (09:30 +0000)]
*** empty log message ***

22 years ago(keycompare, compare): Replace #ifdef ENABLE_NLS with if (HAVE_SETLOCALE).
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.

22 years ago(keycmp): Replace #ifdef ENABLE_NLS with if (HAVE_SETLOCALE).
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.

22 years ago(compare_files): Replace #ifdef ENABLE_NLS with if (HAVE_SETLOCALE).
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.

22 years ago(HAVE_SETLOCALE): Define to 0 if not defined.
Jim Meyering [Tue, 30 Apr 2002 09:21:21 +0000 (09:21 +0000)]
(HAVE_SETLOCALE): Define to 0 if not defined.

22 years ago*** empty log message ***
Jim Meyering [Tue, 30 Apr 2002 09:20:32 +0000 (09:20 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Tue, 30 Apr 2002 09:20:26 +0000 (09:20 +0000)]
*** empty log message ***

22 years ago(jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
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.

22 years ago*** empty log message ***
Jim Meyering [Tue, 30 Apr 2002 09:18:24 +0000 (09:18 +0000)]
*** empty log message ***

22 years agoUpgrade to version used in GNU Diffutils 2.8.1.
Jim Meyering [Tue, 30 Apr 2002 09:17:50 +0000 (09:17 +0000)]
Upgrade to version used in GNU Diffutils 2.8.1.

22 years ago*** empty log message ***
Jim Meyering [Mon, 29 Apr 2002 08:23:14 +0000 (08:23 +0000)]
*** empty log message ***

22 years ago(tail_forever): Do not treat
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.

22 years ago*** empty log message ***
Jim Meyering [Mon, 29 Apr 2002 07:31:56 +0000 (07:31 +0000)]
*** empty log message ***

22 years ago(parse_obsolescent_option): Do not limit the maximum
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.

22 years ago*** empty log message ***
Jim Meyering [Mon, 29 Apr 2002 07:02:21 +0000 (07:02 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Mon, 29 Apr 2002 07:01:34 +0000 (07:01 +0000)]
*** empty log message ***

22 years ago(jm_PREREQ_SIG2STR): Remove; all callers changed.
Jim Meyering [Mon, 29 Apr 2002 07:01:29 +0000 (07:01 +0000)]
(jm_PREREQ_SIG2STR): Remove; all callers changed.

22 years agoDo not include <sys/wait.h>; no longer needed.
Jim Meyering [Mon, 29 Apr 2002 07:00:23 +0000 (07:00 +0000)]
Do not include <sys/wait.h>; no longer needed.

22 years ago(SIGNUM_BOUND): Do not use WTERMSIG, to avoid
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.

22 years ago*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 23:54:55 +0000 (23:54 +0000)]
*** empty log message ***

22 years agoadd comment for prev change
Jim Meyering [Sun, 28 Apr 2002 23:54:47 +0000 (23:54 +0000)]
add comment for prev change

22 years ago(make_id_equals_comment): Cast sizeof expression (used as field
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'.

22 years ago(PIDSTR_DECL_AND_INIT): Cast ut_pid value 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.

22 years ago.
Jim Meyering [Sun, 28 Apr 2002 23:14:28 +0000 (23:14 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 23:14:20 +0000 (23:14 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 23:12:01 +0000 (23:12 +0000)]
*** empty log message ***

22 years ago(jm_MACROS): Remove use of AC_FUNC_STRNLEN.
Jim Meyering [Sun, 28 Apr 2002 23:11:56 +0000 (23:11 +0000)]
(jm_MACROS): Remove use of AC_FUNC_STRNLEN.

22 years agoAdd jm_PREREQ_STRNLEN.
Jim Meyering [Sun, 28 Apr 2002 23:11:45 +0000 (23:11 +0000)]
Add jm_PREREQ_STRNLEN.
Use AC_FUNC_STRNLEN here instead.

22 years agoDon't AC_REQUIRE([AC_PROG_CC_STDC]).
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.

22 years ago*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 21:59:47 +0000 (21:59 +0000)]
*** empty log message ***

22 years agoDon't include xalloc.h.
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.

22 years ago.
Jim Meyering [Sun, 28 Apr 2002 21:58:19 +0000 (21:58 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 21:57:52 +0000 (21:57 +0000)]
*** empty log message ***

22 years agoChange `@code{PROG}' to `@command{PROG}'.
Jim Meyering [Sun, 28 Apr 2002 21:57:40 +0000 (21:57 +0000)]
Change `@code{PROG}' to `@command{PROG}'.

22 years agoChange @code{PROG} to @command{PROG} for the fileutils.
Jim Meyering [Sun, 28 Apr 2002 21:55:03 +0000 (21:55 +0000)]
Change @code{PROG} to @command{PROG} for the fileutils.

22 years agoBegin changing @code{PROG} to @command{PROG}.
Jim Meyering [Sun, 28 Apr 2002 21:46:20 +0000 (21:46 +0000)]
Begin changing @code{PROG} to @command{PROG}.

22 years agoUse @command{(un)?link}, not @code{...} where appropriate
Jim Meyering [Sun, 28 Apr 2002 21:35:55 +0000 (21:35 +0000)]
Use @command{(un)?link}, not @code{...} where appropriate

22 years agoRewrite from scratch. Support everything
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.

22 years ago.
Jim Meyering [Sun, 28 Apr 2002 21:31:21 +0000 (21:31 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 21:30:59 +0000 (21:30 +0000)]
*** empty log message ***

22 years ago(jm_PREREQ): Add jm_PREREQ_SIG2STR.
Jim Meyering [Sun, 28 Apr 2002 21:30:50 +0000 (21:30 +0000)]
(jm_PREREQ): Add jm_PREREQ_SIG2STR.

22 years ago(jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
Jim Meyering [Sun, 28 Apr 2002 21:29:39 +0000 (21:29 +0000)]
(jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).

22 years ago*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 21:28:56 +0000 (21:28 +0000)]
*** empty log message ***

22 years agoRemove definition of unused WTERMSIG.
Jim Meyering [Sun, 28 Apr 2002 21:20:49 +0000 (21:20 +0000)]
Remove definition of unused WTERMSIG.

22 years agoNew file: from Paul Eggert.
Jim Meyering [Sun, 28 Apr 2002 21:17:45 +0000 (21:17 +0000)]
New file: from Paul Eggert.

22 years ago*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 21:16:24 +0000 (21:16 +0000)]
*** empty log message ***

22 years ago(libfetish_a_SOURCES): Add sig2str.h.
Jim Meyering [Sun, 28 Apr 2002 21:16:19 +0000 (21:16 +0000)]
(libfetish_a_SOURCES): Add sig2str.h.

22 years ago*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 21:15:37 +0000 (21:15 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 21:15:05 +0000 (21:15 +0000)]
*** empty log message ***

22 years ago(kill invocation): Document the above.
Jim Meyering [Sun, 28 Apr 2002 21:14:59 +0000 (21:14 +0000)]
(kill invocation): Document the above.
Document POSIX signals better.

22 years ago*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 21:07:11 +0000 (21:07 +0000)]
*** empty log message ***

22 years agoAvoid new warnings from gcc.
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.

22 years ago.
Jim Meyering [Sun, 28 Apr 2002 18:43:52 +0000 (18:43 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sun, 28 Apr 2002 17:29:12 +0000 (17:29 +0000)]
*** empty log message ***

22 years ago(integer_expected_error): Add `const' to paramater
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.

22 years ago(test_syntax_error): Add `const' to paramater
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.

22 years ago(cycle_check): Add a comment.
Jim Meyering [Sat, 27 Apr 2002 06:46:18 +0000 (06:46 +0000)]
(cycle_check): Add a comment.

22 years ago(cycle_check): New function containing code factored
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.

22 years ago*** empty log message ***
Jim Meyering [Thu, 25 Apr 2002 20:38:20 +0000 (20:38 +0000)]
*** empty log message ***

22 years ago(usage): Adjust ordering to match that of default output.
Jim Meyering [Thu, 25 Apr 2002 20:38:16 +0000 (20:38 +0000)]
(usage): Adjust ordering to match that of default output.

22 years ago*** empty log message ***
Jim Meyering [Thu, 25 Apr 2002 20:16:15 +0000 (20:16 +0000)]
*** empty log message ***

22 years agoremove comment for reverted change
Jim Meyering [Thu, 25 Apr 2002 19:51:40 +0000 (19:51 +0000)]
remove comment for reverted change

22 years ago.
Jim Meyering [Thu, 25 Apr 2002 19:47:08 +0000 (19:47 +0000)]
.

22 years ago.
Jim Meyering [Thu, 25 Apr 2002 18:58:39 +0000 (18:58 +0000)]
.

22 years ago.
Jim Meyering [Thu, 25 Apr 2002 18:58:07 +0000 (18:58 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Thu, 25 Apr 2002 18:03:30 +0000 (18:03 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Thu, 25 Apr 2002 18:03:07 +0000 (18:03 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Thu, 25 Apr 2002 18:02:59 +0000 (18:02 +0000)]
*** empty log message ***

22 years agoAvoid warnings from gcc.
Jim Meyering [Thu, 25 Apr 2002 18:02:52 +0000 (18:02 +0000)]
Avoid warnings from gcc.
Declare input_file and output_file to be `const'.
(skip): Declare `file' parameter to be `const', too.

22 years ago*** empty log message ***
Jim Meyering [Thu, 25 Apr 2002 17:14:28 +0000 (17:14 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Thu, 25 Apr 2002 16:40:18 +0000 (16:40 +0000)]
*** empty log message ***

22 years agoRemove hash table, active_dir_map, used to detect directory cycles.
Jim Meyering [Thu, 25 Apr 2002 16:40:04 +0000 (16:40 +0000)]
Remove hash table, active_dir_map, used to detect directory cycles.
Instead, detect them lazily with just O(1) memory.
Suggestion from Andi Kleen.

(is_power_of_two): New function.
(print_nth_dir, make_active_dir_ent): Remove functions.
(hash_active_dir_ent, hash_compare_active_dir_ents): Likewise.
(remove_dir): Check for cycles here, ...
(rm): ... and don't check for cycles here.

(rm): Call fspec_get_full_mode here, rather than
fspec_get_filetype_mode.  We want to get the dev/ino earlier, and
at the same time as when we get the file type, to avoid the risk
that an attacker would change e.g. a directory to a symlink before
we record its dev/ino.

22 years agoRevert last change.
Jim Meyering [Thu, 25 Apr 2002 16:32:32 +0000 (16:32 +0000)]
Revert last change.

22 years agoRevert last change.
Jim Meyering [Thu, 25 Apr 2002 16:31:41 +0000 (16:31 +0000)]
Revert last change.

22 years ago*** empty log message ***
Jim Meyering [Thu, 25 Apr 2002 16:01:32 +0000 (16:01 +0000)]
*** empty log message ***

22 years ago.
Jim Meyering [Thu, 25 Apr 2002 15:40:12 +0000 (15:40 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Thu, 25 Apr 2002 15:39:39 +0000 (15:39 +0000)]
*** empty log message ***

22 years agoRemove ENABLE_NLS-related code.
Jim Meyering [Thu, 25 Apr 2002 15:38:17 +0000 (15:38 +0000)]
Remove ENABLE_NLS-related code.
(_, N_) Remove definitions.
Include "gettext.h" instead.

22 years ago*** empty log message ***
Jim Meyering [Wed, 24 Apr 2002 07:54:51 +0000 (07:54 +0000)]
*** empty log message ***

22 years agofiltered through cppi
Jim Meyering [Wed, 24 Apr 2002 07:54:40 +0000 (07:54 +0000)]
filtered through cppi

22 years ago*** empty log message ***
Jim Meyering [Wed, 24 Apr 2002 07:52:49 +0000 (07:52 +0000)]
*** empty log message ***

22 years ago(INCLUDES): Remove -I../intl.
Jim Meyering [Wed, 24 Apr 2002 07:52:39 +0000 (07:52 +0000)]
(INCLUDES): Remove -I../intl.
(libfetish_a_SOURCES): Add gettext.h.

22 years ago*** empty log message ***
Jim Meyering [Wed, 24 Apr 2002 07:50:53 +0000 (07:50 +0000)]
*** empty log message ***

22 years ago(jm_PREREQ_HARD_LOCALE): New macro.
Jim Meyering [Wed, 24 Apr 2002 07:50:48 +0000 (07:50 +0000)]
(jm_PREREQ_HARD_LOCALE): New macro.
(jm_PREREQ): Use it.

22 years agobump serial # to 9
Jim Meyering [Wed, 24 Apr 2002 07:49:39 +0000 (07:49 +0000)]
bump serial # to 9

22 years agoCheck for these headers: locale.h unistd.h mach/mach.h fcntl.h.
Jim Meyering [Wed, 24 Apr 2002 07:49:00 +0000 (07:49 +0000)]
Check for these headers: locale.h unistd.h mach/mach.h fcntl.h.
Check for this function: setlocale.

22 years ago(rm): Call exit with EXIT_FAILURE, not `1'.
Jim Meyering [Mon, 22 Apr 2002 09:42:00 +0000 (09:42 +0000)]
(rm): Call exit with EXIT_FAILURE, not `1'.

22 years ago*** empty log message ***
Jim Meyering [Mon, 22 Apr 2002 07:36:00 +0000 (07:36 +0000)]
*** empty log message ***