platform/upstream/coreutils.git
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.

21 years agoIt appears that the `#pragma alloca' included via "system.h" is
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'.

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

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

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

21 years agoUpdate from gnulib.
Jim Meyering [Sat, 12 Jul 2003 09:40:40 +0000 (09:40 +0000)]
Update from gnulib.

21 years ago*** empty log message ***
Jim Meyering [Sat, 12 Jul 2003 08:37:53 +0000 (08:37 +0000)]
*** empty log message ***

21 years ago(change_file_owner): Do not restore any special
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.

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

21 years ago(make_path): Enclose diagnostic in _(...).
Jim Meyering [Sat, 12 Jul 2003 07:35:34 +0000 (07:35 +0000)]
(make_path): Enclose diagnostic in _(...).

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

21 years agoAlso check `test -t 1'.
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.

21 years ago.
Jim Meyering [Fri, 11 Jul 2003 22:26:40 +0000 (22:26 +0000)]
.

21 years agoARgh. nearly every test depends on whether stdout and/or stderr is a tty.
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.

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Jul 2003 20:45:10 +0000 (20:45 +0000)]
*** empty log message ***

21 years agoAdd src/nohup.c and src/setuidgid.c.
Jim Meyering [Fri, 11 Jul 2003 20:45:05 +0000 (20:45 +0000)]
Add src/nohup.c and src/setuidgid.c.

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Jul 2003 20:41:46 +0000 (20:41 +0000)]
*** empty log message ***

21 years ago(nohup.1): Depend on nohup.c, rather than nohup.sh.
Jim Meyering [Fri, 11 Jul 2003 20:41:35 +0000 (20:41 +0000)]
(nohup.1): Depend on nohup.c, rather than nohup.sh.

21 years ago.
Jim Meyering [Fri, 11 Jul 2003 20:40:56 +0000 (20:40 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Jul 2003 20:40:41 +0000 (20:40 +0000)]
*** empty log message ***

21 years agoAlso fail if cat-to-create-expected-output
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.

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Jul 2003 20:38:52 +0000 (20:38 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Fri, 11 Jul 2003 20:38:23 +0000 (20:38 +0000)]
.

21 years ago(EXTRA_SCRIPTS): Remove definition.
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).

21 years ago(TESTS): Add nohup.
Jim Meyering [Fri, 11 Jul 2003 20:35:29 +0000 (20:35 +0000)]
(TESTS): Add nohup.

21 years agotests for the new nohup.c
Jim Meyering [Fri, 11 Jul 2003 20:34:58 +0000 (20:34 +0000)]
tests for the new nohup.c

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Jul 2003 20:34:35 +0000 (20:34 +0000)]
*** empty log message ***

21 years agoNew file. Rewrite of nohup.sh in C.
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.

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

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

21 years ago(diagnose_copy_fd_failure): New function, renamed from
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.

21 years ago(change_attributes): Enclose diagnostic in _(...).
Jim Meyering [Fri, 11 Jul 2003 11:10:53 +0000 (11:10 +0000)]
(change_attributes): Enclose diagnostic in _(...).

21 years ago(batch_convert): Use the quote function rather than using literal `...' 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.

21 years agoInclude "quote.h".
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.

21 years ago(main): Enclose diagnostic in _(...).
Jim Meyering [Fri, 11 Jul 2003 10:35:38 +0000 (10:35 +0000)]
(main): Enclose diagnostic in _(...).

21 years ago(main): Enclose diagnostic in _(...).
Jim Meyering [Fri, 11 Jul 2003 10:34:50 +0000 (10:34 +0000)]
(main): Enclose diagnostic in _(...).

21 years ago(tac_seekable): Enclose diagnostic in _(...).
Jim Meyering [Fri, 11 Jul 2003 10:34:08 +0000 (10:34 +0000)]
(tac_seekable): Enclose diagnostic in _(...).

21 years ago(main): Enclose diagnostic in _(...).
Jim Meyering [Fri, 11 Jul 2003 10:33:12 +0000 (10:33 +0000)]
(main): Enclose diagnostic in _(...).

21 years ago(main): Enclose diagnostic in _(...).
Jim Meyering [Fri, 11 Jul 2003 10:18:45 +0000 (10:18 +0000)]
(main): Enclose diagnostic in _(...).

21 years ago(main): Enclose diagnostic in _(...).
Jim Meyering [Fri, 11 Jul 2003 10:17:53 +0000 (10:17 +0000)]
(main): Enclose diagnostic in _(...).

21 years ago.
Jim Meyering [Fri, 11 Jul 2003 06:07:04 +0000 (06:07 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 20:43:48 +0000 (20:43 +0000)]
*** empty log message ***

21 years agoInclude "posixver.h".
Jim Meyering [Thu, 10 Jul 2003 20:43:42 +0000 (20:43 +0000)]
Include "posixver.h".
(parse_user_spec): Accept `.' as a separator only in pre-POSIX-200112 mode.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 20:42:52 +0000 (20:42 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Thu, 10 Jul 2003 20:16:41 +0000 (20:16 +0000)]
.

21 years ago(Standards conformance): Mention that uses like
Jim Meyering [Thu, 10 Jul 2003 19:48:43 +0000 (19:48 +0000)]
(Standards conformance): Mention that uses like
`tail -1' and `head -1', like `sort +1', are non conforming.
(chown invocation): Say that using `.' as a separator may not work.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 19:39:20 +0000 (19:39 +0000)]
*** empty log message ***

21 years ago(usage): Use 1024*1024 in place of 1048576.
Jim Meyering [Thu, 10 Jul 2003 19:39:04 +0000 (19:39 +0000)]
(usage): Use 1024*1024 in place of 1048576.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 16:45:03 +0000 (16:45 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Thu, 10 Jul 2003 15:49:37 +0000 (15:49 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 15:49:29 +0000 (15:49 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 15:49:23 +0000 (15:49 +0000)]
*** empty log message ***

21 years ago(noinst_PROGRAMS): Define to setuidgid.
Jim Meyering [Thu, 10 Jul 2003 15:49:17 +0000 (15:49 +0000)]
(noinst_PROGRAMS): Define to setuidgid.

21 years agoNow that we have setuidgid, use it in place of the kludge in this test.
Jim Meyering [Thu, 10 Jul 2003 15:47:36 +0000 (15:47 +0000)]
Now that we have setuidgid, use it in place of the kludge in this test.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 14:37:11 +0000 (14:37 +0000)]
*** empty log message ***

21 years agoNew program, solely for testing (not installed).
Jim Meyering [Thu, 10 Jul 2003 14:37:04 +0000 (14:37 +0000)]
New program, solely for testing (not installed).

21 years ago.
Jim Meyering [Thu, 10 Jul 2003 11:25:59 +0000 (11:25 +0000)]
.

21 years agoNew files, in support of new asprintf use. From gnulib.
Jim Meyering [Thu, 10 Jul 2003 11:23:31 +0000 (11:23 +0000)]
New files, in support of new asprintf use.  From gnulib.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 11:23:16 +0000 (11:23 +0000)]
*** empty log message ***

21 years ago(jm_MACROS): Require gl_FUNC_VASPRINTF and gl_FUNC_VASNPRINTF.
Jim Meyering [Thu, 10 Jul 2003 11:23:09 +0000 (11:23 +0000)]
(jm_MACROS): Require gl_FUNC_VASPRINTF and gl_FUNC_VASNPRINTF.

21 years ago.
Jim Meyering [Thu, 10 Jul 2003 11:22:20 +0000 (11:22 +0000)]
.

21 years agoNow that a program (`who') uses asprintf, we need all of these:
Jim Meyering [Thu, 10 Jul 2003 11:15:20 +0000 (11:15 +0000)]
Now that a program (`who') uses asprintf, we need all of these:
* asnprintf.c, asprintf.c, printf-args.c, printf-args.h, printf-parse.c:
* printf-parse.h, vasnprintf.c, vasnprintf.h, vasprintf.c, vasprintf.h:
New files, from gnulib.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 11:11:23 +0000 (11:11 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 11:10:57 +0000 (11:10 +0000)]
*** empty log message ***

21 years agoIndent cpp directives (via cppi).
Jim Meyering [Thu, 10 Jul 2003 11:09:11 +0000 (11:09 +0000)]
Indent cpp directives (via cppi).

21 years agoIndent cpp directives (via cppi).
Jim Meyering [Thu, 10 Jul 2003 11:08:40 +0000 (11:08 +0000)]
Indent cpp directives (via cppi).

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 11:07:35 +0000 (11:07 +0000)]
*** empty log message ***