summaryrefslogtreecommitdiff
path: root/src/test.c
AgeCommit message (Collapse)Author
2003-04-11Remove SPC in SPC-TAB sequence.Jim Meyering
2003-02-10add comments and fix dumb typosJim Meyering
2003-02-10Don't include group-member.h.Jim Meyering
Include euidaccess.h. (eaccess): Rewrite function to set the real uid and gid temporarily to the effective uid and gid, then invoke 'access', and then set the real uid and gid back. On systems that lack setreuid or setregid, fall back on the kludges in euidaccess. Before, it would not work for e.g., files with ACLs, files that were marked immutable, or on file systems mounted read-only.
2003-02-09(test_stat): Remove function. It's job is done (onlyJim Meyering
when necessary) by the wrapper in lib/stat.c.
2002-12-15Remove all uses of `PARAMS'.Jim Meyering
2002-09-25(eaccess): Change type of local `euid' from int to uid_tJim Meyering
and add a cast, to avoid a warning about `signed and unsigned type in conditional expression'.
2002-07-02(usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it.Jim Meyering
2002-04-28(integer_expected_error): Add `const' to paramaterJim Meyering
declarations to avoid new warning from gcc.
2002-04-28(test_syntax_error): Add `const' to paramaterJim Meyering
declarations to avoid new warning from gcc.
2002-03-25update copyrightJim Meyering
2002-03-25(age_of): Return -1 and 0 rather than 0 and 1.Jim Meyering
Might as well keep it simple, and like bash. (binary_operator): Fix bug with -nt and -ot, when one of the files did not exist. We want to be compatible with the ksh93 documentation, and with Bash.
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.
2001-11-25(usage): Indent --help and --version strings to start in the 7th column.Jim Meyering
2001-09-16(usage): Describe -h option.Jim Meyering
From Michael Stone. http://bugs.debian.org/99272
2001-09-09(binary_operator): Correct typo in diagnostic.Jim Meyering
From Jochen Hein.
2001-08-18(binary_operator): Move declarations of lt,rt `down'Jim Meyering
into the scopes where they're actually used. (unary_operator): Likewise for `fd'.
2001-08-18(isint, binary_operator, unary_operator):Jim Meyering
Use intmax_t for argument integers, not long. (age_of, binary_operator): Use time_t for times, not long. (unary_operator): If N is out of int range, -t N now returns false.
2001-08-14(AUTHORS): Mark string for translation, since it contains the English word ↵Jim Meyering
`and'.
2000-05-07Include "closeout.h".Jim Meyering
(main): Call atexit with close_stdout.
1999-08-22Use ATTRIBUTE_NORETURN instead of NO_RETURN_ATTRIBUTE.Jim Meyering
1999-03-29PROGRAM_NAME: rename from COMMAND_NAMEJim Meyering
1999-03-04(main): Include author name argument in call to parse_long_options.Jim Meyering
1999-02-16update copyright datesJim Meyering
1999-01-25(usage): Remove static attribute.Jim Meyering
1998-09-19update bug-reporting addressJim Meyering
1998-06-29revert back to using lower case _unlocked wrapper namesJim Meyering
1998-06-28experimental support for -t [optional fd] -- probably soon to be backed outJim Meyering
1998-05-26(two_arguments): Don't test argv[pos][2] if it's past end of string.Jim Meyering
1997-12-21s/__P/PARAMS/Jim Meyering
1997-10-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
1997-10-23[STREQ]: Undef then redefine.Jim Meyering
1997-10-07update bug-reporting addressJim Meyering
1997-05-01indent cpp-directivesJim Meyering
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-01-26.Jim Meyering
1996-11-23(usage): Alphabetize option descriptions the way sort -f would.Jim Meyering
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-05-18(main): Don't recognize --help, --h, --he, --version, --v, etc.Jim Meyering
if the POSIXLY_CORRECT environment variable is set.
1996-04-24update Copyright years for 1996Jim Meyering
1996-03-24Update FSF's address.Jim Meyering
1996-03-24Update FSF's address.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-02-24__P-protect forward declarations.Jim Meyering
(main): Protoize function definition.
1996-01-17(advance): Protoize function.Jim Meyering
1996-01-06Protoize and __P-protect forward dcls.Jim Meyering
1995-11-27s/non-zero/nonzero/gJim Meyering