summaryrefslogtreecommitdiff
path: root/src/pathchk.c
AgeCommit message (Collapse)Author
2002-12-15Remove all uses of `PARAMS'.Jim Meyering
2002-12-11(NEED_PATHCONF_WRAPPER): Undefine before defining,Jim Meyering
in case it's already defined.
2002-09-02(NEED_PATHCONF_WRAPPER): Define.Jim Meyering
(pathconf_wrapper): Define only if NEED_PATHCONF_WRAPPER is set.
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-07-02(usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it.Jim Meyering
2002-05-24(validate_path): Compare the result of the function --Jim Meyering
not its (constant) address -- against zero.
2002-01-14Comment fixes to bring us up to date with respect to POSIX 1003.1-2001.Jim Meyering
In particular, POSIX.2 is now obsolete.
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-08-14(AUTHORS): Mark string for translation, since it contains the English word ↵Jim Meyering
`and'.
2001-08-12Guard the above pathconf-using definitions with `#if HAVE_PATHCONF'Jim Meyering
rather than with `#ifdef _POSIX_VERSION'.
2001-08-12(PATH_MAX_FOR): Use pathconf via wrapper.Jim Meyering
(NAME_MAX_FOR): Likewise. (pathconf_wrapper): New function. (validate_path): Declare length variables to be `long', not `int'. Adjust corresponding printf-style specs to use %ld.
2000-05-07Include "closeout.h".Jim Meyering
(main): Call atexit with close_stdout.
1999-09-02Remove xstrdup declaration.Jim Meyering
1999-08-30(longopts): Restore accidentally-removed entry for `--portability' long option.Jim Meyering
1999-08-22(validate_path): Use IF_LINT macro instead of #ifdef lint.Jim Meyering
1999-03-31(PROGRAM_NAME, AUTHORS): Define and use.Jim Meyering
1999-03-06Include long-options.h.Jim Meyering
[long_options]: Remove the "help" and "version" entries. Remove declarations of show_help and show_version. (main): Use parse_long_options, including author name(s). Remove the show_version and show_help blocks.
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-12-21Don't include limits.h.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.
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-04-24update Copyright years for 1996Jim 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-16(validate_path): Cast path_max to size_t beforeJim Meyering
comparing with strlen(path).
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-11-27s/non-zero/nonzero/gJim 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-05-13Use l?stat, not safe_l?stat.Jim Meyering
1995-03-09add 1995 to Copyright datesJim Meyering
1994-12-20* src/*.c: Include "error.h" instead of simply declaringJim Meyering
`void error ();'.
1994-12-20(dir_ok): Use safe_stat instead of SAFE_STAT.Jim Meyering
1994-12-04Use strr?chr instead of r?index.Jim Meyering
1994-10-21merge with 1.10tJim Meyering
1994-10-01.Jim Meyering
1994-09-27merge with 1.10n2Jim Meyering
1994-07-22* pathchk.c (dir_ok): Use SAFE_STAT.Jim Meyering
1994-05-13.Jim Meyering