Commit Graph

15948 Commits

Author SHA1 Message Date
Jim Meyering 6d7db642c3 Add src/nohup.c and src/setuidgid.c. 2003-07-11 20:45:05 +00:00
Jim Meyering d4bac14488 *** empty log message *** 2003-07-11 20:41:46 +00:00
Jim Meyering 1d2f905052 (nohup.1): Depend on nohup.c, rather than nohup.sh. 2003-07-11 20:41:35 +00:00
Jim Meyering eabefdb575 . 2003-07-11 20:40:56 +00:00
Jim Meyering cb88f838b9 *** empty log message *** 2003-07-11 20:40:41 +00:00
Jim Meyering a79673ff2a 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.
2003-07-11 20:40:28 +00:00
Jim Meyering 6568f37384 *** empty log message *** 2003-07-11 20:38:52 +00:00
Jim Meyering 96f7791a8b . 2003-07-11 20:38:23 +00:00
Jim Meyering 0f46c3a0aa (EXTRA_SCRIPTS): Remove definition.
(bin_PROGRAMS): Add nohup.
(EXTRA_DIST): Remove nohup.sh.
(all_programs): Remove use of $(EXTRA_SCRIPTS).
2003-07-11 20:37:15 +00:00
Jim Meyering 326b48f041 (TESTS): Add nohup. 2003-07-11 20:35:29 +00:00
Jim Meyering 6f7e60b1f4 tests for the new nohup.c 2003-07-11 20:34:58 +00:00
Jim Meyering 761fec62a5 *** empty log message *** 2003-07-11 20:34:35 +00:00
Jim Meyering 8db77b8978 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.
2003-07-11 20:34:29 +00:00
Jim Meyering 9c557c0a27 *** empty log message *** 2003-07-11 11:12:53 +00:00
Jim Meyering d111de83e5 *** empty log message *** 2003-07-11 11:12:48 +00:00
Jim Meyering e1584f504f (diagnose_copy_fd_failure): New function, renamed from
the macro, COPY_FD_DIAGNOSE.
(diagnose_copy_fd_failure): Enclose diagnostic in _(...).
(head_file): Likewise.
2003-07-11 11:12:44 +00:00
Jim Meyering 1dae2a560a (change_attributes): Enclose diagnostic in _(...). 2003-07-11 11:10:53 +00:00
Jim Meyering 208b8da666 (batch_convert): Use the quote function rather than using literal `...' in
a diagnostic.
2003-07-11 10:38:39 +00:00
Jim Meyering 7c6b61d57d Include "quote.h".
Use the quote function rather than using literal `...' in a diagnostic.
2003-07-11 10:37:21 +00:00
Jim Meyering 63861fc012 (main): Enclose diagnostic in _(...). 2003-07-11 10:35:38 +00:00
Jim Meyering 53cca5451c (main): Enclose diagnostic in _(...). 2003-07-11 10:34:50 +00:00
Jim Meyering 4927015380 (tac_seekable): Enclose diagnostic in _(...). 2003-07-11 10:34:08 +00:00
Jim Meyering e96ddb3907 (main): Enclose diagnostic in _(...). 2003-07-11 10:33:12 +00:00
Jim Meyering b8760e0f09 (main): Enclose diagnostic in _(...). 2003-07-11 10:18:45 +00:00
Jim Meyering f37e7c032a (main): Enclose diagnostic in _(...). 2003-07-11 10:17:53 +00:00
Jim Meyering 112cba9a8b . 2003-07-11 06:07:04 +00:00
Jim Meyering ff443fffa3 *** empty log message *** 2003-07-10 20:43:48 +00:00
Jim Meyering 5b9ea05b6a Include "posixver.h".
(parse_user_spec): Accept `.' as a separator only in pre-POSIX-200112 mode.
2003-07-10 20:43:42 +00:00
Jim Meyering c9ed2d4e4b *** empty log message *** 2003-07-10 20:42:52 +00:00
Jim Meyering 6b31ccecb8 . 2003-07-10 20:16:41 +00:00
Jim Meyering b34abb6f44 (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.
2003-07-10 19:48:43 +00:00
Jim Meyering b194aad646 *** empty log message *** 2003-07-10 19:39:20 +00:00
Jim Meyering d574f4a249 (usage): Use 1024*1024 in place of 1048576. 2003-07-10 19:39:04 +00:00
Jim Meyering f5f030cd09 *** empty log message *** 2003-07-10 16:45:03 +00:00
Jim Meyering d4e2672d7c . 2003-07-10 15:49:37 +00:00
Jim Meyering a61ffc8c12 *** empty log message *** 2003-07-10 15:49:29 +00:00
Jim Meyering 6b46572468 *** empty log message *** 2003-07-10 15:49:23 +00:00
Jim Meyering 317a34daf8 (noinst_PROGRAMS): Define to setuidgid. 2003-07-10 15:49:17 +00:00
Jim Meyering aacb015d41 Now that we have setuidgid, use it in place of the kludge in this test. 2003-07-10 15:47:36 +00:00
Jim Meyering 0dca45f310 *** empty log message *** 2003-07-10 14:37:11 +00:00
Jim Meyering d743e47970 New program, solely for testing (not installed). 2003-07-10 14:37:04 +00:00
Jim Meyering 477fd9c12e . 2003-07-10 11:25:59 +00:00
Jim Meyering 14031cbf92 New files, in support of new asprintf use. From gnulib. 2003-07-10 11:23:31 +00:00
Jim Meyering f928e16280 *** empty log message *** 2003-07-10 11:23:16 +00:00
Jim Meyering 35ded2ce44 (jm_MACROS): Require gl_FUNC_VASPRINTF and gl_FUNC_VASNPRINTF. 2003-07-10 11:23:09 +00:00
Jim Meyering 116f76d19c . 2003-07-10 11:22:20 +00:00
Jim Meyering b269489ba1 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.
2003-07-10 11:15:20 +00:00
Jim Meyering 5624c49daf *** empty log message *** 2003-07-10 11:11:23 +00:00
Jim Meyering 32f2b4d3ca *** empty log message *** 2003-07-10 11:10:57 +00:00
Jim Meyering 4720108b1c Indent cpp directives (via cppi). 2003-07-10 11:09:11 +00:00