Home | History | Annotate | only in /src/bin/rmdir
History log of /src/bin/rmdir
RevisionDateAuthorComments
 1.8 20-Jul-1997  christos branches: 1.8.112;
Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
now that all /bin has been cleaned.
 1.7 20-Jul-1997  christos Fix compiler warnings.
Add WARNS=1
 1.6 21-Mar-1995  cgd convert to new RCS id conventions.
 1.5 22-Sep-1994  mycroft Merge 4.4-Lite version.
 1.4 01-Aug-1993  mycroft Add RCS identifiers.
 1.3 23-Mar-1993  cgd changed "Id" to "Header" for rcsids
 1.2 22-Mar-1993  cgd added rcs ids to all files
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 22-Sep-1994  mycroft Import original 4.4-Lite version.
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.8.112.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.8.112.1 21-Apr-2020  martin Sync with HEAD
 1.18 12-May-2025  kim Add -v option to rmdir(1)
 1.17 03-Jul-2017  wiz branches: 1.17.6; 1.17.16; 1.17.18;
Remove workaround for ancient HTML generation code.
 1.16 12-Aug-2016  sevan Document the version rmdir first appeared.
Bump date.
 1.15 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.
 1.14 08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.13 04-Sep-2000  kleink For commands and utilities, use EXIT STATUS rather than RETURN VALUES as
appropriate (and documented in mdoc(7)).
 1.12 28-Aug-2000  hubertf Add 'RETURN VALUE' section header.
 1.11 20-Oct-1997  enami branches: 1.11.12;
Fix .Nm usage.
 1.10 25-Jul-1995  jtc Use "utility" instead of "command". Modern definitions of these terms
are distinct (See POSIX.2 glossary).

A utility is a executable, script or shell builtin; while a command
can be any of those things plus lists, pipelines, compound commands
(if, for, while) and shell function definitions.
 1.9 21-Mar-1995  cgd convert to new RCS id conventions.
 1.8 22-Sep-1994  mycroft Merge 4.4-Lite version.
 1.7 10-Sep-1993  jtc Note that rmdir(1) is POSIX.2 compliant.
Include appropriate header files to bring prototypes into scope.
Use new error/warning display functions.
 1.6 01-Aug-1993  mycroft Add RCS indentifiers.
 1.5 22-Jul-1993  jtc Restore RCS Header.
 1.4 22-Jul-1993  jtc Make POSIX 1003.2 (D11.2) compliant.
Update manpage to use new -mandoc macros.
 1.3 23-Mar-1993  cgd changed "Id" to "Header" for rcsids
 1.2 22-Mar-1993  cgd added rcs ids to all files
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 22-Sep-1994  mycroft Import original 4.4-Lite version.
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.11.12.1 28-Aug-2000  hubertf Pull up to netbsd-1-5 branch, OK'd by thorpej:

Log Message:
> Add 'RETURN VALUE' section header.

Files & Revisionis:
> cvs rdiff -r1.19 -r1.20 basesrc/bin/cat/cat.1
> cvs rdiff -r1.12 -r1.13 basesrc/bin/chmod/chmod.1
> cvs rdiff -r1.14 -r1.15 basesrc/bin/cp/cp.1
> cvs rdiff -r1.8 -r1.9 basesrc/bin/dd/dd.1
> cvs rdiff -r1.9 -r1.10 basesrc/bin/echo/echo.1
> cvs rdiff -r1.11 -r1.12 basesrc/bin/expr/expr.1
> cvs rdiff -r1.25 -r1.26 basesrc/bin/ls/ls.1
> cvs rdiff -r1.10 -r1.11 basesrc/bin/mkdir/mkdir.1
> cvs rdiff -r1.23 -r1.24 basesrc/bin/mt/mt.1
> cvs rdiff -r1.12 -r1.13 basesrc/bin/mv/mv.1
> cvs rdiff -r1.16 -r1.17 basesrc/bin/pwd/pwd.1
> cvs rdiff -r1.9 -r1.10 basesrc/bin/rm/rm.1
> cvs rdiff -r1.11 -r1.12 basesrc/bin/rmdir/rmdir.1
> cvs rdiff -r1.35 -r1.36 basesrc/bin/sh/sh.1
> cvs rdiff -r1.11 -r1.12 basesrc/bin/sleep/sleep.1
> cvs rdiff -r1.20 -r1.21 basesrc/bin/stty/stty.1
 1.17.18.1 02-Aug-2025  perseant Sync with HEAD
 1.17.16.1 15-May-2025  martin Pull up following revision(s) (requested by kim in ticket #1117):

bin/rmdir/rmdir.c: revision 1.28
bin/rmdir/rmdir.1: revision 1.18

Add -v option to rmdir(1)
 1.17.6.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.17.6.1 21-Apr-2020  martin Sync with HEAD
 1.28 12-May-2025  kim Add -v option to rmdir(1)
 1.27 10-Aug-2017  ginsbach branches: 1.27.4; 1.27.14; 1.27.16;
PR/48182: Fix rmdir -p handling of top-level (root) directory.
XXX: pullup-8
XXX: pullup-7
XXX: pullup-6
 1.26 29-Aug-2011  joerg branches: 1.26.4; 1.26.22; 1.26.36;
static + __dead
 1.25 20-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
 1.24 26-May-2008  christos PR/38755: murray armfield: /bin posix programs missing setprogname and/or
setlocale
 1.23 29-Sep-2003  dsl branches: 1.23.30; 1.23.32;
Fix rmdir -p x/y/z//
Remove redundant code.
 1.22 14-Sep-2003  jschauma Following private discussion with kleink@ and hubertf@ and public discussion
on tech-userlevel@, back out printescaped() functionality.
kleink: ``We sell rope.''
 1.21 11-Sep-2003  christos Comment out unneeded code now that the kernel has been fixed to ignore
trailing slashes.
 1.20 13-Aug-2003  itojun use bounded string op
 1.19 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.
 1.18 04-Aug-2003  jschauma As discusses a little while back on tech-userlevel:

If stdout is a tty, use vis(3) to print any filenames to prevent garbage
from being printed if the filename contains control- or other non-printable
characters.

While here, sprinkle some EXIT_FAILURE and NOTREACHED where appropriate.
 1.17 16-Sep-2001  wiz ANSIfy, KNF, [gs]etprogname. By Petri Koistinen.
 1.16 28-Jul-1998  mycroft Delint.
 1.15 05-Nov-1997  cgd lint
 1.14 20-Jul-1997  christos Fix compiler warnings.
Add WARNS=1
 1.13 21-Mar-1995  cgd convert to new RCS id conventions.
 1.12 22-Sep-1994  mycroft Merge 4.4-Lite version.
 1.11 28-Apr-1994  jtc Skip trailing slashes, so "rmdir foo/" works even on systems without
a POSIX.1 compliant rmdir(2) syscall.
 1.10 31-Dec-1993  jtc localization.
 1.9 10-Sep-1993  jtc Fixed bug caused by premature checkin.
 1.8 10-Sep-1993  jtc Simplified (by removing unn
 1.7 10-Sep-1993  jtc Note that rmdir(1) is POSIX.2 compliant.
Include appropriate header files to bring prototypes into scope.
Use new error/warning display functions.
 1.6 01-Aug-1993  mycroft Add RCS identifiers.
 1.5 22-Jul-1993  jtc Restore RCS Header.
 1.4 22-Jul-1993  jtc Make POSIX 1003.2 (D11.2) compliant.
Update manpage to use new -mandoc macros.
 1.3 23-Mar-1993  cgd changed "Id" to "Header" for rcsids
 1.2 22-Mar-1993  cgd added rcs ids to all files
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 22-Sep-1994  mycroft Import original 4.4-Lite version.
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.23.32.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.23.32.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.23.30.1 04-Jun-2008  yamt sync with head
 1.26.36.1 14-Aug-2017  snj Pull up following revision(s) (requested by ginsbach in ticket #208):
bin/rmdir/rmdir.c: revision 1.27
PR/48182: Fix rmdir -p handling of top-level (root) directory.
 1.26.22.1 19-Aug-2017  snj Pull up following revision(s) (requested by ginsbach in ticket #1488):
bin/rmdir/rmdir.c: revision 1.27
PR/48182: Fix rmdir -p handling of top-level (root) directory.
 1.26.4.1 19-Aug-2017  snj Pull up following revision(s) (requested by ginsbach in ticket #1490):
bin/rmdir/rmdir.c: revision 1.27
PR/48182: Fix rmdir -p handling of top-level (root) directory.
 1.27.16.1 02-Aug-2025  perseant Sync with HEAD
 1.27.14.1 15-May-2025  martin Pull up following revision(s) (requested by kim in ticket #1117):

bin/rmdir/rmdir.c: revision 1.28
bin/rmdir/rmdir.1: revision 1.18

Add -v option to rmdir(1)
 1.27.4.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.27.4.1 21-Apr-2020  martin Sync with HEAD

RSS XML Feed