summaryrefslogtreecommitdiff
path: root/src/rmdir.c
AgeCommit message (Collapse)Author
2001-11-23(usage): Split --help output into smaller pieces.Jim Meyering
Use fputs, not printf.
2001-09-15(main): Don't strip trailing slashes; POSIX doesn't allow it here.Jim Meyering
Don't include "dirname.h" when no longer needed.
2001-05-12(strip_trailing_slashes): Remove declaration; now in dirname.h.Jim Meyering
2000-07-30Convert "`%s'" in format strings to "%s", and wrap eachJim Meyering
corresponding argument in a `quote (...)' call.
2000-06-03Allow -v as synonym for --verbose, to be consistent with other fileutils.Jim Meyering
2000-05-13Arrange to call close_stdout only upon exit.Jim Meyering
2000-05-06(EEXIST): Remove now-unused definition.Jim Meyering
(ENOTEMPTY): Likewise. (errno_rmdir_non_empty): Rewrite to use RMDIR_ERRNO_NOT_EMPTY, which is determined by the autoconf test in m4/rmdir-errno.m4..
1999-12-30(remove_parents, main): Don't pass errno to errorJim Meyering
when printing "removing directory" message. Failure of rmdir is handled elsewhere.
1999-12-09(IGNORE_FAIL_ON_NON_EMPTY_OPTION): Likewise.Jim Meyering
1999-11-20(errno_rmdir_non_empty): New function to encapsulate errno comparison.Jim Meyering
(remove_parents): Use it. (main): Use it.
1999-11-07add missing \n\Jim Meyering
1999-11-07(remove_parents): Use the correct testJim Meyering
(same as in main) in handling --ignore-fail-on-non-empty. From Michael Stone.
1999-03-31Don't include closeout.h or version-etc.h explicitly. Now, they're included ↵Jim Meyering
via sys2.h.
1999-03-26No longer include long-options.h.Jim Meyering
Include version-etc.h instead. (PROGRAM_NAME, AUTHORS): Define. [long_options]: Add entries for --help and --version. Remove parse_long_options call. (main) [getopt switch]: Add a case for each of --help and --version.
1999-03-04Include long-options.hJim Meyering
[long_options]: Remove the "help" and "version" entries. (main): Use parse_long_options, including author name(s). Remove the show_version and show_help blocks.
1999-02-16update copyright datesJim Meyering
1999-01-16(usage): Don't make it static so that it can be called from libfu.a by ↵Jim Meyering
xargmatch.
1998-09-19update bug-reporting addressJim Meyering
1998-08-30(longopts): Use corresponding short-option characterJim Meyering
in place of `1', and `NULL' in place of pointer in initialization.
1998-07-26(main): rmdir fails with EEXIST on some systems.Jim Meyering
Handle that, so --ignore-fail-on-non-empty works. (EEXIST): Define to zero if not defined. (ENOTEMPTY): Likewise.
1998-03-13(remove_parents): Be consistent with documentation ofJim Meyering
--verbose option and with remove.c in saying `removing...' before the operation is attempted. (main): Likewise. Suggestions from Santiago Vila.
1998-01-04(main, usage): Check for write error to stdout before exiting.Jim Meyering
Include "closeout.h".
1997-10-07update bug-reporting addressJim Meyering
1997-05-25New options: --ignore-fail-on-non-empty and --verbose.Jim Meyering
(remove_parents): Implement new options. (main): Likewise.
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-10-04(main): update --version output to conform to coding standardJim Meyering
1996-08-31(usage): remove spurious trailing \n in puts.Jim Meyering
1996-08-29(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-12(main): Initialize for internationalized message support: call setlocale,Jim Meyering
bindtextdomain, and textdomain.
1995-11-29Mark all translatable strings using po-mode.el.Jim Meyering
1995-11-27s/non-zero/nonzero/gJim Meyering
1995-11-10(main): Move to the end.Jim Meyering
Remove fwd dcls.
1995-11-09Protoize.Jim Meyering
1995-06-22(main): Include program name in --version output.Jim Meyering
1995-05-22(usage): Add one or two lines of descriptive text.Jim Meyering
1995-03-10add 1995 to Copyright datesJim Meyering
1994-12-27Include "error.h" rather than simply declaring `void error ();'.Jim Meyering
1994-12-10(remove_parents): Use strr?chr instead of r?index.Jim Meyering
1994-10-08.Jim Meyering
1994-10-02.Jim Meyering
1993-10-19merge with 3.8.4kJim Meyering