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.
Jim Meyering [Tue, 15 Jul 2003 06:21:13 +0000 (06:21 +0000)]
.
Jim Meyering [Tue, 15 Jul 2003 06:07:10 +0000 (06:07 +0000)]
*** empty log message ***
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.
Jim Meyering [Tue, 15 Jul 2003 06:05:15 +0000 (06:05 +0000)]
.
Jim Meyering [Tue, 15 Jul 2003 06:05:04 +0000 (06:05 +0000)]
Remove stray `:' in first regexp.
Fix *both* tests.
Jim Meyering [Tue, 15 Jul 2003 00:01:04 +0000 (00:01 +0000)]
*** empty log message ***
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.
Jim Meyering [Mon, 14 Jul 2003 22:37:16 +0000 (22:37 +0000)]
.
Jim Meyering [Mon, 14 Jul 2003 18:58:28 +0000 (18:58 +0000)]
*** empty log message ***
Jim Meyering [Mon, 14 Jul 2003 18:58:25 +0000 (18:58 +0000)]
Add copyright.
Jim Meyering [Mon, 14 Jul 2003 18:39:37 +0000 (18:39 +0000)]
*** empty log message ***
Jim Meyering [Mon, 14 Jul 2003 16:48:37 +0000 (16:48 +0000)]
*** empty log message ***
Jim Meyering [Mon, 14 Jul 2003 16:48:31 +0000 (16:48 +0000)]
Correct comment on first line.
Jim Meyering [Mon, 14 Jul 2003 06:30:32 +0000 (06:30 +0000)]
*** empty log message ***
Jim Meyering [Mon, 14 Jul 2003 06:29:45 +0000 (06:29 +0000)]
.
Jim Meyering [Sun, 13 Jul 2003 22:22:39 +0000 (22:22 +0000)]
*** empty log message ***
Jim Meyering [Sun, 13 Jul 2003 22:22:18 +0000 (22:22 +0000)]
(%.asc): Renamed from %.sig.
Generate and use ascii-armored signatures.
Jim Meyering [Sun, 13 Jul 2003 22:15:08 +0000 (22:15 +0000)]
.
Jim Meyering [Sun, 13 Jul 2003 09:52:47 +0000 (09:52 +0000)]
*** empty log message ***
Jim Meyering [Sun, 13 Jul 2003 09:52:32 +0000 (09:52 +0000)]
put makepath.c back.
Jim Meyering [Sun, 13 Jul 2003 09:38:07 +0000 (09:38 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 13 Jul 2003 09:37:45 +0000 (09:37 +0000)]
*** empty log message ***
Jim Meyering [Sun, 13 Jul 2003 09:27:34 +0000 (09:27 +0000)]
add another test
Jim Meyering [Sun, 13 Jul 2003 09:25:24 +0000 (09:25 +0000)]
*** empty log message ***
Jim Meyering [Sun, 13 Jul 2003 09:25:21 +0000 (09:25 +0000)]
(NOHUP_FAILURE, NOHUP_FOUND_BUT_CANNOT_INVOKE): Define.
(main): Use them.
Jim Meyering [Sun, 13 Jul 2003 09:03:20 +0000 (09:03 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 13 Jul 2003 08:46:53 +0000 (08:46 +0000)]
*** empty log message ***
Jim Meyering [Sun, 13 Jul 2003 08:46:21 +0000 (08:46 +0000)]
*** empty log message ***
Jim Meyering [Sun, 13 Jul 2003 08:45:39 +0000 (08:45 +0000)]
Use @code, not (nonexistent) @function.
Jim Meyering [Sun, 13 Jul 2003 08:44:39 +0000 (08:44 +0000)]
*** empty log message ***
Jim Meyering [Sun, 13 Jul 2003 08:44:23 +0000 (08:44 +0000)]
Include <stdlib.h> for declaration of free.
Jim Meyering [Sun, 13 Jul 2003 08:43:02 +0000 (08:43 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 13 Jul 2003 08:15:15 +0000 (08:15 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 12 Jul 2003 20:47:23 +0000 (20:47 +0000)]
.
Jim Meyering [Sat, 12 Jul 2003 18:49:44 +0000 (18:49 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 12 Jul 2003 18:47:29 +0000 (18:47 +0000)]
Restore AC_SUBST(OPTIONAL_BIN_PROGS). *It* is used.
Jim Meyering [Sat, 12 Jul 2003 18:47:07 +0000 (18:47 +0000)]
*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 18:44:42 +0000 (18:44 +0000)]
*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 18:44:39 +0000 (18:44 +0000)]
(OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS): Remove unused variables.
Jim Meyering [Sat, 12 Jul 2003 18:43:36 +0000 (18:43 +0000)]
(bin_SCRIPTS): Remove use of just-removed $(OPTIONAL_BIN_ZCRIPTS).
Jim Meyering [Sat, 12 Jul 2003 18:29:38 +0000 (18:29 +0000)]
*** empty log message ***
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).
Jim Meyering [Sat, 12 Jul 2003 18:26:07 +0000 (18:26 +0000)]
*** empty log message ***
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 `>'.
Jim Meyering [Sat, 12 Jul 2003 16:49:08 +0000 (16:49 +0000)]
.
Jim Meyering [Sat, 12 Jul 2003 16:48:58 +0000 (16:48 +0000)]
Remove lib/makepath.c.
Jim Meyering [Sat, 12 Jul 2003 16:48:26 +0000 (16:48 +0000)]
.
Jim Meyering [Sat, 12 Jul 2003 16:22:47 +0000 (16:22 +0000)]
*** empty log message ***
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'.
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.
Jim Meyering [Sat, 12 Jul 2003 16:17:14 +0000 (16:17 +0000)]
tweak spacing
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.
Jim Meyering [Sat, 12 Jul 2003 15:45:14 +0000 (15:45 +0000)]
*** empty log message ***
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
Jim Meyering [Sat, 12 Jul 2003 11:40:13 +0000 (11:40 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 12 Jul 2003 11:38:43 +0000 (11:38 +0000)]
It appears that the `#pragma alloca' included via "system.h" is
adequate, since join.c uses alloca, yet lacked an in-file #pragma.
Remove `#pragma alloca'.
Jim Meyering [Sat, 12 Jul 2003 11:32:31 +0000 (11:32 +0000)]
*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 11:31:55 +0000 (11:31 +0000)]
*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 09:40:44 +0000 (09:40 +0000)]
*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 09:40:40 +0000 (09:40 +0000)]
Update from gnulib.
Jim Meyering [Sat, 12 Jul 2003 08:37:53 +0000 (08:37 +0000)]
*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 08:37:36 +0000 (08:37 +0000)]
(change_file_owner): Do not restore any special
permission bits (e.g., set-user-ID, set-group-ID) that are reset
by chown(2) on some systems. Suggestion and insistence :-) from
Michael Stone.
Jim Meyering [Sat, 12 Jul 2003 07:35:39 +0000 (07:35 +0000)]
*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 07:35:34 +0000 (07:35 +0000)]
(make_path): Enclose diagnostic in _(...).
Jim Meyering [Sat, 12 Jul 2003 07:33:41 +0000 (07:33 +0000)]
*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 07:33:35 +0000 (07:33 +0000)]
Also check `test -t 1'.
This is necessary on linux-2.4.21, otherwise, the test
stty/basic-1 would hang when run in the background.
Jim Meyering [Fri, 11 Jul 2003 22:26:40 +0000 (22:26 +0000)]
.
Jim Meyering [Fri, 11 Jul 2003 21:57:18 +0000 (21:57 +0000)]
ARgh. nearly every test depends on whether stdout and/or stderr is a tty.
Jim Meyering [Fri, 11 Jul 2003 20:45:10 +0000 (20:45 +0000)]
*** empty log message ***
Jim Meyering [Fri, 11 Jul 2003 20:45:05 +0000 (20:45 +0000)]
Add src/nohup.c and src/setuidgid.c.
Jim Meyering [Fri, 11 Jul 2003 20:41:46 +0000 (20:41 +0000)]
*** empty log message ***
Jim Meyering [Fri, 11 Jul 2003 20:41:35 +0000 (20:41 +0000)]
(nohup.1): Depend on nohup.c, rather than nohup.sh.
Jim Meyering [Fri, 11 Jul 2003 20:40:56 +0000 (20:40 +0000)]
.
Jim Meyering [Fri, 11 Jul 2003 20:40:41 +0000 (20:40 +0000)]
*** empty log message ***
Jim Meyering [Fri, 11 Jul 2003 20:40:28 +0000 (20:40 +0000)]
Also fail if cat-to-create-expected-output
fails. Otherwise, if both `exp' and `out' end up empty because
of e.g., a full disk, they would mistakenly compare equal.
Jim Meyering [Fri, 11 Jul 2003 20:38:52 +0000 (20:38 +0000)]
*** empty log message ***
Jim Meyering [Fri, 11 Jul 2003 20:38:23 +0000 (20:38 +0000)]
.
Jim Meyering [Fri, 11 Jul 2003 20:37:15 +0000 (20:37 +0000)]
(EXTRA_SCRIPTS): Remove definition.
(bin_PROGRAMS): Add nohup.
(EXTRA_DIST): Remove nohup.sh.
(all_programs): Remove use of $(EXTRA_SCRIPTS).
Jim Meyering [Fri, 11 Jul 2003 20:35:29 +0000 (20:35 +0000)]
(TESTS): Add nohup.
Jim Meyering [Fri, 11 Jul 2003 20:34:58 +0000 (20:34 +0000)]
tests for the new nohup.c
Jim Meyering [Fri, 11 Jul 2003 20:34:35 +0000 (20:34 +0000)]
*** empty log message ***
Jim Meyering [Fri, 11 Jul 2003 20:34:29 +0000 (20:34 +0000)]
New file. Rewrite of nohup.sh in C.
This solves a portability problem: on at least Solaris systems,
when nohup.sh used the vendor /bin/sh, it would exit with status
of `1' rather than the required 126 or 127 upon failure to exec
the specified program.
Jim Meyering [Fri, 11 Jul 2003 11:12:53 +0000 (11:12 +0000)]
*** empty log message ***
Jim Meyering [Fri, 11 Jul 2003 11:12:48 +0000 (11:12 +0000)]
*** empty log message ***
Jim Meyering [Fri, 11 Jul 2003 11:12:44 +0000 (11:12 +0000)]
(diagnose_copy_fd_failure): New function, renamed from
the macro, COPY_FD_DIAGNOSE.
(diagnose_copy_fd_failure): Enclose diagnostic in _(...).
(head_file): Likewise.
Jim Meyering [Fri, 11 Jul 2003 11:10:53 +0000 (11:10 +0000)]
(change_attributes): Enclose diagnostic in _(...).
Jim Meyering [Fri, 11 Jul 2003 10:38:39 +0000 (10:38 +0000)]
(batch_convert): Use the quote function rather than using literal `...' in
a diagnostic.
Jim Meyering [Fri, 11 Jul 2003 10:37:21 +0000 (10:37 +0000)]
Include "quote.h".
Use the quote function rather than using literal `...' in a diagnostic.
Jim Meyering [Fri, 11 Jul 2003 10:35:38 +0000 (10:35 +0000)]
(main): Enclose diagnostic in _(...).
Jim Meyering [Fri, 11 Jul 2003 10:34:50 +0000 (10:34 +0000)]
(main): Enclose diagnostic in _(...).
Jim Meyering [Fri, 11 Jul 2003 10:34:08 +0000 (10:34 +0000)]
(tac_seekable): Enclose diagnostic in _(...).
Jim Meyering [Fri, 11 Jul 2003 10:33:12 +0000 (10:33 +0000)]
(main): Enclose diagnostic in _(...).
Jim Meyering [Fri, 11 Jul 2003 10:18:45 +0000 (10:18 +0000)]
(main): Enclose diagnostic in _(...).