summaryrefslogtreecommitdiff
path: root/src/nice.c
AgeCommit message (Collapse)Author
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-07-02(usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it.Jim Meyering
2002-02-24Include posixver.h.Jim Meyering
2002-02-16Add support for _POSIX2_VERSION, which lets you pick which POSIXJim Meyering
version you want the utilities to conform to. Remove warnings about failure to conform to a future POSIX version. (usage): Document only the intersection of the old and new behaviors, to encourage portability. (main): Parse options using POSIX 1003.1-2001 rules if conforming to that standard. Do not warn of obsolete options.
2002-02-12(main): Output warnings only if OBSOLETE_OPTION_WARNINGS.Jim Meyering
2002-02-11(main): Conform to POSIX 1003.1-2001 ifJim Meyering
POSIX2_VERSION says to, otherwise warn of obsolete usage if OBSOLETE_OPTION_WARNINGS is nonzero and if not POSIXLY_CORRECT.
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-29(main): Call exit explicitly to avoid warning from gcc.Jim Meyering
Include "xstrtol.h". (isinteger): Remove function and prototype. (main): Use xstrtol in place of atoi. Remove associated FIXME comments.
1999-08-29(isinteger): Move definition to precede use. Remove prototype.Jim Meyering
1999-08-29(main): Call exit explicitly to avoid warning from gcc.Jim Meyering
1999-04-25[NDEBUG]: Remove definition.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-25(usage): Remove static attribute.Jim Meyering
Move function be the first in the file.
1998-09-19update bug-reporting addressJim Meyering
1997-12-21s/__P/PARAMS/Jim Meyering
1997-10-07update bug-reporting addressJim Meyering
1997-05-01indent cpp-directivesJim Meyering
1997-02-09update copyrights for 1997Jim Meyering
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-02-01Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵Jim Meyering
*) 0' as last parameter in getopt_long call.
1997-01-08(main): Work around failures induced by new version ofJim Meyering
getopt.c by not modifying optind before the first getopt_long call in main. With suggestions from Ulrich Drepper.
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-08-04(main): Allow `+' in options like -+8 and -+13.Jim Meyering
1996-08-03(main): Set minus_flag to zero in two places.Jim Meyering
Otherwise, `nice --1 -3' would mistakenly do the equivalent of `nice --3'. Thanks to Eric Backus <ericb@lsid.hp.com> for the test cases.
1996-04-24update Copyright years for 1996Jim Meyering
1996-04-05Remove diagnostic.Jim Meyering
1996-04-05(main): Use `if' stmt, not while loop, around getopt invocation.Jim Meyering
Otherwise, `./nice --a=1 -1 ./nice' (in which old-style option follows a long option) gets an error.
1996-04-05Patch from Frank Korz.Jim Meyering
1996-03-24Update FSF's address.Jim Meyering
1996-03-21(main): Declare to be of type int, not void.Jim Meyering
1996-03-16Don't include version.h.Jim Meyering
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-12(main): Initialize for internationalized message support:Jim Meyering
call setlocale, bindtextdomain, and textdomain.
1996-01-06Protoize and __P-protect forward dcls.Jim Meyering
1995-08-08Annotate localizable strings with _(...). From Franc,ois.Jim Meyering
1995-05-15(usage): Add one- and two-line descriptions to --help output.Jim Meyering
From Karl.
1995-03-09add 1995 to Copyright datesJim Meyering
1994-12-20* src/*.c: Include "error.h" instead of simply declaringJim Meyering
`void error ();'.
1994-10-01.Jim Meyering
1994-09-27merge with 1.10n2Jim Meyering
1994-09-26.Jim Meyering
1994-09-24(main): Revamp option processing to detect options like `--7' manuallyJim Meyering
and pass the rest off to getopt_long. (isinteger): Use ISDIGIT.
1994-09-24Enumerate (Yuck!) the --1 .. --20 long optionsJim Meyering
1994-09-24(main): Make sure s is not NULL before dereferencing it.Jim Meyering
1994-06-20.Jim Meyering