platform/upstream/coreutils.git
21 years ago(NOHUP_FOUND_BUT_CANNOT_INVOKE, NOHUP_FAILURE):
Jim Meyering [Fri, 18 Jul 2003 07:18:54 +0000 (07:18 +0000)]
(NOHUP_FOUND_BUT_CANNOT_INVOKE, NOHUP_FAILURE):
Use an anonymous `enum', rather than #define.

21 years ago*** empty log message ***
Jim Meyering [Fri, 18 Jul 2003 07:12:27 +0000 (07:12 +0000)]
*** empty log message ***

21 years agoMerge with gnulib. Use a single exit_failure variable rather
Jim Meyering [Fri, 18 Jul 2003 07:12:20 +0000 (07:12 +0000)]
Merge ... gnulib.  Use a single exit_failure variable rather
than a separate one for each module.

21 years agoMerge with gnulib. Use a single exit_failure variable rather
Jim Meyering [Fri, 18 Jul 2003 07:11:50 +0000 (07:11 +0000)]
Merge ... gnulib.  Use a single exit_failure variable rather
than a separate one for each module.

21 years agoMerge with gnulib. Use a single exit_failure variable rather
Jim Meyering [Fri, 18 Jul 2003 07:10:53 +0000 (07:10 +0000)]
Merge ... gnulib.  Use a single exit_failure variable rather
than a separate one for each module.

21 years agoMerge with gnulib. Use a single exit_failure variable rather
Jim Meyering [Fri, 18 Jul 2003 07:02:34 +0000 (07:02 +0000)]
Merge ... gnulib.  Use a single exit_failure variable rather
than a separate one for each module.

21 years ago*** empty log message ***
Jim Meyering [Fri, 18 Jul 2003 06:59:33 +0000 (06:59 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 18 Jul 2003 06:50:03 +0000 (06:50 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Fri, 18 Jul 2003 06:34:14 +0000 (06:34 +0000)]
.

21 years ago.
Jim Meyering [Thu, 17 Jul 2003 22:27:44 +0000 (22:27 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Wed, 16 Jul 2003 20:51:08 +0000 (20:51 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 16 Jul 2003 20:50:30 +0000 (20:50 +0000)]
*** empty log message ***

21 years agoUse 5.0.90, rather than 5.0.2, per GNU maintainer
Jim Meyering [Wed, 16 Jul 2003 20:50:21 +0000 (20:50 +0000)]
Use 5.0.90, rather than 5.0.2, per GNU maintainer
guidelines.  The next non-beta release will be 5.1.

21 years ago*** empty log message ***
Jim Meyering [Wed, 16 Jul 2003 20:07:47 +0000 (20:07 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 16 Jul 2003 20:07:37 +0000 (20:07 +0000)]
*** empty log message ***

21 years agoThis script would have caught at least two recent bugs: those in [ and kill.
Jim Meyering [Wed, 16 Jul 2003 19:54:13 +0000 (19:54 +0000)]
This script would have caught at least two recent bugs: those in [ and kill.

Revive this script.
It wasn't doing anything useful, since $all_programs wasn't being
defined by the invoking Makefile.am.
Reflect that nohup is no longer a script, so don't exclude it.
Add framework to handle the programs added since it was last run:
kill, stat, unlink, [, link, readlink.
Fix path-related problems deriving from the move of this script
from src/ to its present location.

21 years ago(all_programs): Define.
Jim Meyering [Wed, 16 Jul 2003 19:51:05 +0000 (19:51 +0000)]
(all_programs): Define.
(TESTS_ENVIRONMENT): Use it.

21 years ago*** empty log message ***
Jim Meyering [Wed, 16 Jul 2003 19:43:04 +0000 (19:43 +0000)]
*** empty log message ***

21 years ago(main): Fix bug introduced on 2003-05-10 (for 5.0.1)
Jim Meyering [Wed, 16 Jul 2003 19:42:34 +0000 (19:42 +0000)]
(main): Fix bug introduced on 2003-05-10 (for 5.0.1)
whereby kill would always attempt to operate on argv[0] and fail.

21 years ago.
Jim Meyering [Wed, 16 Jul 2003 10:54:52 +0000 (10:54 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Wed, 16 Jul 2003 10:28:59 +0000 (10:28 +0000)]
*** empty log message ***

21 years ago(integer_expected_error): Improve diagnostic -- now,
Jim Meyering [Wed, 16 Jul 2003 10:28:52 +0000 (10:28 +0000)]
(integer_expected_error): Improve diagnostic -- now,
it also matches the one from bash's builtin test.
(binary_operator): Add \n at end of diagnostic.

21 years agoRemove setuidgid-related code. Moved to ../priv-check.
Jim Meyering [Wed, 16 Jul 2003 08:31:04 +0000 (08:31 +0000)]
Remove setuidgid-related code.  Moved to ../priv-check.

21 years agoMove setuidgid-related and
Jim Meyering [Wed, 16 Jul 2003 08:30:06 +0000 (08:30 +0000)]
Move setuidgid-related and
NON_ROOT_USERNAME-checking code to this file.

21 years ago*** empty log message ***
Jim Meyering [Wed, 16 Jul 2003 07:59:08 +0000 (07:59 +0000)]
*** empty log message ***

21 years agoUpdate section on testing as `root'.
Jim Meyering [Wed, 16 Jul 2003 07:59:05 +0000 (07:59 +0000)]
Update section on testing as `root'.
Suggestion from Paul Jarc.

21 years ago(AUTHORS): Replace 3-letter usernames with the actual
Jim Meyering [Wed, 16 Jul 2003 06:54:33 +0000 (06:54 +0000)]
(AUTHORS): Replace 3-letter usernames with the actual
names of authors that I just found in bash's builtins/test.def.

21 years ago*** empty log message ***
Jim Meyering [Wed, 16 Jul 2003 06:43:05 +0000 (06:43 +0000)]
*** empty log message ***

21 years agoRunning `[' with no arguments would evoke a segfault.
Jim Meyering [Wed, 16 Jul 2003 06:43:02 +0000 (06:43 +0000)]
Running `[' with no arguments would evoke a segfault.

(main) [LBRACKET]: Move initialization of argv to
precede potential use via test_syntax_error.

21 years ago(AM_CPPFLAGS): Rename from `INCLUDES', to avoid warning from automake -Wall.
Jim Meyering [Wed, 16 Jul 2003 06:33:39 +0000 (06:33 +0000)]
(AM_CPPFLAGS): Rename from `INCLUDES', to avoid warning from automake -Wall.

21 years ago(AM_CPPFLAGS): Rename from `INCLUDES', to avoid warning from automake -Wall.
Jim Meyering [Wed, 16 Jul 2003 06:33:09 +0000 (06:33 +0000)]
(AM_CPPFLAGS): Rename from `INCLUDES', to avoid warning from automake -Wall.

21 years agobump to 5.0.2
Jim Meyering [Wed, 16 Jul 2003 06:10:55 +0000 (06:10 +0000)]
bump to 5.0.2

21 years ago*** empty log message ***
Jim Meyering [Tue, 15 Jul 2003 22:00:42 +0000 (22:00 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Tue, 15 Jul 2003 13:39:02 +0000 (13:39 +0000)]
.

21 years ago*** empty log message *** COREUTILS-5_0_1 v5.0.1
Jim Meyering [Tue, 15 Jul 2003 06:55:22 +0000 (06:55 +0000)]
*** empty log message ***

21 years ago(print_changelog_deltas): Change the .sig suffix to .asc here, too.
Jim Meyering [Tue, 15 Jul 2003 06:55:19 +0000 (06:55 +0000)]
(print_changelog_deltas): Change the .sig suffix to .asc here, too.

21 years ago.
Jim Meyering [Tue, 15 Jul 2003 06:52:10 +0000 (06:52 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Tue, 15 Jul 2003 06:39:54 +0000 (06:39 +0000)]
*** empty log message ***

21 years ago(uname invocation): Explain the POSIX terminology behind uname -m and uname -s.
Jim Meyering [Tue, 15 Jul 2003 06:39:49 +0000 (06:39 +0000)]
(uname invocation): Explain the POSIX terminology behind uname -m and uname -s.

21 years ago.
Jim Meyering [Tue, 15 Jul 2003 06:21:13 +0000 (06:21 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Tue, 15 Jul 2003 06:07:10 +0000 (06:07 +0000)]
*** empty log message ***

21 years ago(%.asc): Remove target first, so gpg doesn't prompt us about it.
Jim Meyering [Tue, 15 Jul 2003 06:06:58 +0000 (06:06 +0000)]
(%.asc): Remove target first, so gpg doesn't prompt us about it.

21 years ago.
Jim Meyering [Tue, 15 Jul 2003 06:05:15 +0000 (06:05 +0000)]
.

21 years agoRemove stray `:' in first regexp.
Jim Meyering [Tue, 15 Jul 2003 06:05:04 +0000 (06:05 +0000)]
Remove stray `:' in first regexp.
Fix *both* tests.

21 years ago*** empty log message ***
Jim Meyering [Tue, 15 Jul 2003 00:01:04 +0000 (00:01 +0000)]
*** empty log message ***

21 years ago(print_changelog_deltas): Relax test for matching version-number line in NEWS.
Jim Meyering [Tue, 15 Jul 2003 00:01:01 +0000 (00:01 +0000)]
(print_changelog_deltas): Relax test for matching version-number line in NEWS.

21 years ago.
Jim Meyering [Mon, 14 Jul 2003 22:37:16 +0000 (22:37 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Mon, 14 Jul 2003 18:58:28 +0000 (18:58 +0000)]
*** empty log message ***

21 years agoAdd copyright.
Jim Meyering [Mon, 14 Jul 2003 18:58:25 +0000 (18:58 +0000)]
Add copyright.

21 years ago*** empty log message ***
Jim Meyering [Mon, 14 Jul 2003 18:39:37 +0000 (18:39 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Mon, 14 Jul 2003 16:48:37 +0000 (16:48 +0000)]
*** empty log message ***

21 years agoCorrect comment on first line.
Jim Meyering [Mon, 14 Jul 2003 16:48:31 +0000 (16:48 +0000)]
Correct comment on first line.

21 years ago*** empty log message ***
Jim Meyering [Mon, 14 Jul 2003 06:30:32 +0000 (06:30 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Mon, 14 Jul 2003 06:29:45 +0000 (06:29 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sun, 13 Jul 2003 22:22:39 +0000 (22:22 +0000)]
*** empty log message ***

21 years ago(%.asc): Renamed from %.sig.
Jim Meyering [Sun, 13 Jul 2003 22:22:18 +0000 (22:22 +0000)]
(%.asc): Renamed from %.sig.
Generate and use ascii-armored signatures.

21 years ago.
Jim Meyering [Sun, 13 Jul 2003 22:15:08 +0000 (22:15 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sun, 13 Jul 2003 09:52:47 +0000 (09:52 +0000)]
*** empty log message ***

21 years agoput makepath.c back.
Jim Meyering [Sun, 13 Jul 2003 09:52:32 +0000 (09:52 +0000)]
put makepath.c back.

21 years ago*** empty log message ***
Jim Meyering [Sun, 13 Jul 2003 09:38:07 +0000 (09:38 +0000)]
*** empty log message ***

21 years ago(nohup invocation): Tell what happens when stdout is not a terminal.
Jim Meyering [Sun, 13 Jul 2003 09:38:04 +0000 (09:38 +0000)]
(nohup invocation): Tell what happens when stdout is not a terminal.
Based on a suggestion from Steven Mocking.

21 years ago*** empty log message ***
Jim Meyering [Sun, 13 Jul 2003 09:37:45 +0000 (09:37 +0000)]
*** empty log message ***

21 years agoadd another test
Jim Meyering [Sun, 13 Jul 2003 09:27:34 +0000 (09:27 +0000)]
add another test

21 years ago*** empty log message ***
Jim Meyering [Sun, 13 Jul 2003 09:25:24 +0000 (09:25 +0000)]
*** empty log message ***

21 years ago(NOHUP_FAILURE, NOHUP_FOUND_BUT_CANNOT_INVOKE): Define.
Jim Meyering [Sun, 13 Jul 2003 09:25:21 +0000 (09:25 +0000)]
(NOHUP_FAILURE, NOHUP_FOUND_BUT_CANNOT_INVOKE): Define.
(main): Use them.

21 years ago*** empty log message ***
Jim Meyering [Sun, 13 Jul 2003 09:03:20 +0000 (09:03 +0000)]
*** empty log message ***

21 years ago(syntax-check): Move each individual check into its own target.
Jim Meyering [Sun, 13 Jul 2003 09:03:13 +0000 (09:03 +0000)]
(syntax-check): Move each individual check into its own target.
(syntax-check-rules): This is the list of syntax-check targets.
(sc_unmarked_diagnostics, sc_cast_of_argument_to_free):
(sc_cast_of_x_alloc_return_value, sc_space_tab):
(sc_error_exit_success, sc_xalloc_h_in_src):  New targets.

21 years ago*** empty log message ***
Jim Meyering [Sun, 13 Jul 2003 08:46:53 +0000 (08:46 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 13 Jul 2003 08:46:21 +0000 (08:46 +0000)]
*** empty log message ***

21 years agoUse @code, not (nonexistent) @function.
Jim Meyering [Sun, 13 Jul 2003 08:45:39 +0000 (08:45 +0000)]
Use @code, not (nonexistent) @function.

21 years ago*** empty log message ***
Jim Meyering [Sun, 13 Jul 2003 08:44:39 +0000 (08:44 +0000)]
*** empty log message ***

21 years agoInclude <stdlib.h> for declaration of free.
Jim Meyering [Sun, 13 Jul 2003 08:44:23 +0000 (08:44 +0000)]
Include <stdlib.h> for declaration of free.

21 years ago*** empty log message ***
Jim Meyering [Sun, 13 Jul 2003 08:43:02 +0000 (08:43 +0000)]
*** empty log message ***

21 years ago(xgethostname): Return NULL, rather than exiting,
Jim Meyering [Sun, 13 Jul 2003 08:42:40 +0000 (08:42 +0000)]
(xgethostname): Return NULL, rather than exiting,
upon any non-malloc/realloc error.

21 years ago*** empty log message ***
Jim Meyering [Sun, 13 Jul 2003 08:15:15 +0000 (08:15 +0000)]
*** empty log message ***

21 years ago(chown invocation): Warn that chown
Jim Meyering [Sun, 13 Jul 2003 08:15:11 +0000 (08:15 +0000)]
(chown invocation): Warn that chown
now clears set-user-ID and set-group-ID bits on some systems.

21 years ago.
Jim Meyering [Sat, 12 Jul 2003 20:47:23 +0000 (20:47 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 18:49:44 +0000 (18:49 +0000)]
*** empty log message ***

21 years agoRemove uses of OPTIONAL_BIN_ZCRIPTS and last traces of the nohup script.
Jim Meyering [Sat, 12 Jul 2003 18:49:41 +0000 (18:49 +0000)]
Remove uses of OPTIONAL_BIN_ZCRIPTS and last traces of the nohup script.

21 years agoRestore AC_SUBST(OPTIONAL_BIN_PROGS). *It* is used.
Jim Meyering [Sat, 12 Jul 2003 18:47:29 +0000 (18:47 +0000)]
Restore AC_SUBST(OPTIONAL_BIN_PROGS).  *It* is used.

21 years ago*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 18:47:07 +0000 (18:47 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 18:44:42 +0000 (18:44 +0000)]
*** empty log message ***

21 years ago(OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS): Remove unused variables.
Jim Meyering [Sat, 12 Jul 2003 18:44:39 +0000 (18:44 +0000)]
(OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS): Remove unused variables.

21 years ago(bin_SCRIPTS): Remove use of just-removed $(OPTIONAL_BIN_ZCRIPTS).
Jim Meyering [Sat, 12 Jul 2003 18:43:36 +0000 (18:43 +0000)]
(bin_SCRIPTS): Remove use of just-removed $(OPTIONAL_BIN_ZCRIPTS).

21 years ago*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 18:29:38 +0000 (18:29 +0000)]
*** empty log message ***

21 years ago(BUILT_SOURCES): Use `BUILT_SOURCES += $(STDBOOL_H)'
Jim Meyering [Sat, 12 Jul 2003 18:29:35 +0000 (18:29 +0000)]
(BUILT_SOURCES): Use `BUILT_SOURCES += $(STDBOOL_H)'
rather than `all-local: $(STDBOOL_H)'.  The latter didn't force
creation of stdbool.h before most other targets.
Likewise for $(ALLOCA_H).

21 years ago*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 18:26:07 +0000 (18:26 +0000)]
*** empty log message ***

21 years ago(localedir.h): Put the `2>&1' after the redirect target, not before the `>'.
Jim Meyering [Sat, 12 Jul 2003 18:25:51 +0000 (18:25 +0000)]
(localedir.h): Put the `2>&1' after the redirect target, not before the `>'.

21 years ago.
Jim Meyering [Sat, 12 Jul 2003 16:49:08 +0000 (16:49 +0000)]
.

21 years agoRemove lib/makepath.c.
Jim Meyering [Sat, 12 Jul 2003 16:48:58 +0000 (16:48 +0000)]
Remove lib/makepath.c.

21 years ago.
Jim Meyering [Sat, 12 Jul 2003 16:48:26 +0000 (16:48 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 16:22:47 +0000 (16:22 +0000)]
*** empty log message ***

21 years ago(remove_dir): Give a diagnostic upon failed save_cwd,
Jim Meyering [Sat, 12 Jul 2003 16:22:39 +0000 (16:22 +0000)]
(remove_dir): Give a diagnostic upon failed save_cwd,
now that that function no longer calls `error'.

21 years ago(find_mount_point): Emit a diagnostic for each
Jim Meyering [Sat, 12 Jul 2003 16:21:45 +0000 (16:21 +0000)]
(find_mount_point): Emit a diagnostic for each
failed syscall, rather than relying on caller to do that.
The caller couldn't do a good job, anyhow -- too many different
ways to fail (each with a different referent).
Give a diagnostic upon failed save_cwd, now that that function
no longer calls `error'.
(show_point): Don't diagnose find_mount_point's errors, now that
it handles them itself.

21 years agotweak spacing
Jim Meyering [Sat, 12 Jul 2003 16:17:14 +0000 (16:17 +0000)]
tweak spacing

21 years agoDon't emit diagnostics. Let callers do that.
Jim Meyering [Sat, 12 Jul 2003 16:07:30 +0000 (16:07 +0000)]
Don't emit diagnostics.  Let callers do that.

Don't include "error.h".
(save_cwd): Don't call error.  Ensure that errno is valid
when returning nonzero.

21 years ago*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 15:45:14 +0000 (15:45 +0000)]
*** empty log message ***

21 years ago(find_mount_point): Don't let free clobber errno upon failed chdir
Jim Meyering [Sat, 12 Jul 2003 15:44:14 +0000 (15:44 +0000)]
(find_mount_point): Don't let free clobber errno upon failed chdir

21 years ago*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 11:40:13 +0000 (11:40 +0000)]
*** empty log message ***

21 years ago * src/sys2.h: Remove alloca-related block.
Jim Meyering [Sat, 12 Jul 2003 11:40:03 +0000 (11:40 +0000)]
* src/sys2.h: Remove alloca-related block.
* src/system.h: Include <alloca.h> here, instead.