summaryrefslogtreecommitdiff
path: root/src/chroot.c
AgeCommit message (Collapse)Author
2004-01-21(usage): Use EXIT_SUCCESS, not 0, for clarity.Jim Meyering
(CHROOT_FOUND_BUT_CANNOT_INVOKE, CHROOT_FAILURE): Remove. (main): Initialize exit_failure to EXIT_FAIL. (main): Exit with status 1 rather than 127 if chroot itself fails, as per documentation. (main): Use EXIT_ENOENT and EXIT_CANNOT_INVOKE rather than roll-your-own symbols or integers.
2004-01-04revert last changeJim Meyering
2004-01-04Include "exitfail.h".Jim Meyering
(main): Set exit_failure.
2004-01-04Include "quote.h".Jim Meyering
(CHROOT_FOUND_BUT_CANNOT_INVOKE, CHROOT_FAILURE): Define. (main): Exit with status of 127, not 1, for too-few-args, chroot failure, or chdir failure. Give a better diagnostic upon execvp failure.
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-06-17(main): Call initialize_main.Jim Meyering
2003-05-10Handle argc < optind.Jim Meyering
2002-08-31Change `exit (0)' to `exit (EXIT_SUCCESS)',Jim Meyering
`exit (1)' to `exit (EXIT_FAILURE)', and `usage (1)' to `usage (EXIT_FAILURE)'.
2002-08-30Change `error (1, ...' to `error (EXIT_FAILURE, ...'.Jim Meyering
2002-08-01(main): Exit with status 126 or 127 when execvp orJim Meyering
execv fails, for consistency with POSIX commands like env and nice.
2002-07-02(usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it.Jim Meyering
2001-12-15Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTIONJim Meyering
instead of hard-coding --help and --version descriptions. Split --help output into smaller pieces. Use fputs, not printf.
2000-05-07Include "closeout.h".Jim Meyering
(main): Call atexit with close_stdout.
1999-08-30(usage): Correct --help message.Jim Meyering
1999-03-31(PROGRAM_NAME, AUTHORS): Define and use.Jim Meyering
1999-03-04(main): Include author name argument in call to parse_long_options.Jim Meyering
1999-01-31(main): Call chdir ("/") after chroot.Jim Meyering
Suggestion from James Youngman.
1999-01-25(usage): Remove static attribute.Jim Meyering
1998-09-19update bug-reporting addressJim Meyering
1997-10-07update bug-reporting addressJim Meyering
1997-02-09update copyrights for 1997Jim Meyering
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-01-28(usage): Remove one space in message to make colons line up.Jim Meyering
1996-12-08(main): Call setlocale, bindtextdomain, and textdomain.Jim Meyering
From Michel Robitaille.
1996-11-03change bug-reporting addressJim Meyering
1996-11-02change bug-reporting addressJim Meyering
1996-10-05(main): update --version output to conform to coding standardJim Meyering
1996-09-02(usage): Tell where to report bugs.Jim Meyering
1996-07-18Include <sys/types.h> before system.h.Jim Meyering
1996-07-14(usage): Add a `\' after `\n' in usage message.Jim Meyering
Otherwise, SunOS's /bin/cc chokes.
1996-04-30Mark translatable strings.Jim Meyering
1996-04-24(usage): Add missing close paren and open paren.Jim Meyering
1996-04-21(usage): Improve help message.Jim Meyering
Enclose message strings in _(). From Karl Berry.
1996-03-29.Jim Meyering
1996-03-28Move usage to precede main.Jim Meyering
Say `too few arguments' if that's why we display usage. Protoize. Include error.h. Update copyright.
1996-03-28from RolandJim Meyering