summaryrefslogtreecommitdiff
path: root/src/nohup.c
AgeCommit message (Collapse)Author
2004-11-17(main): Use getopt_long rather than getopt.Paul Eggert
2004-09-21Include <getopt.h>.Paul Eggert
(main): Reject unknown options.
2004-08-03(main): Use bool for booleans.Paul Eggert
2004-07-04(main): Don't pass NULL first argument to path_concat.Jim Meyering
This cleans up the semantics a bit, as we no longer try to open the same file twice.
2004-06-21(main): Standardize on the diagnostics given when someone givesJim Meyering
too few operands ("missing operand after `xxx'") or too many operands ("extra operand `xxx'"). Include "quote.h" and/or "error.h" if it wasn't already being included.
2004-04-20(main) [!defined _POSIX_SOURCE]:Jim Meyering
Use simpler "signal (sig, SIG_IGN)" rather than sigaction equivalent.
2004-04-04(main): Adjust to new calling convention for set_cloexec_flag.Jim Meyering
2004-03-04(main): Don't invoke set_cloexec_flag with a file descriptor of -1.Jim Meyering
2004-03-03Include "cloexec.h".Jim Meyering
(main): Set the copy of stderr to close on exec.
2004-01-21(usage): Use EXIT_SUCCESS, not 0, for clarity.Jim Meyering
(main): Initialize exit_failure to EXIT_FAIL. (main): Use EXIT_ENOENT and EXIT_CANNOT_INVOKE rather than roll-your-own symbols or integers. (NOHUP_FOUND_BUT_CANNOT_INVOKE): Remove; all uses changed to EXIT_CANNOT_INVOKE.
2003-11-05Cast NULL to `(char *)' in call to variadic function,Jim Meyering
parse_long_options, so that it works even on systems for which sizeof char* != sizeof int.
2003-10-18Most .c files (AUTHORS): Revert the WRITTEN_BY/AUTHORS changeJim Meyering
of 2003-09-19. Now, AUTHORS is a comma-separated list of strings. Update the call to parse_long_options so that `AUTHORS, NULL' are the last parameters. * src/true.c (main): Append NULL to version_etc argument list. * src/sys2.h (case_GETOPT_VERSION_CHAR): Likewise.
2003-09-18(WRITTEN_BY): Rename from AUTHORS.Jim Meyering
Begin each WRITTEN_BY string with `Written by ' and end it with `.'. Mark each WRITTEN_BY string as translatable.
2003-09-18revert previous changeJim Meyering
2003-09-18Update AUTHORS definition to be a comma-separated list of strings and/or updateJim Meyering
the call to parse_long_options so that `AUTHORS, NULL' are the last parameters.
2003-07-23Don't include headers already included by system.h:Jim Meyering
Don't include closeout.h.
2003-07-18(NOHUP_FOUND_BUT_CANNOT_INVOKE, NOHUP_FAILURE):Jim Meyering
Use an anonymous `enum', rather than #define.
2003-07-13(NOHUP_FAILURE, NOHUP_FOUND_BUT_CANNOT_INVOKE): Define.Jim Meyering
(main): Use them.
2003-07-11New file. Rewrite of nohup.sh in C.Jim Meyering
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.