History log of /freebsd-10-stable/bin/rmdir/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
326332 28-Nov-2017 asomers

MFC r323275, r324112

r323275:
Add basic tests for chflags, mkdir, rcp, and rmdir

Add basic command line parsing test coverage for these utilities. The tests
were automatically generated based on their man pages. These tests can be
expanded by hand for more thorough coverage. The aim is to generate very
basic amount of test coverage for all the utilities in the base system.

Submitted by: shivansh
Reviewed by: asomers, brooks
Sponsored by: Google, Inc (GSoC 2017)
Differential Revision: https://reviews.freebsd.org/D12036

r324112:
Fix Makefile entries from r323275

Reported by: Vladimir Zakharov <zakharov.vv@gmail.com>
Reviewed by: ngie
X-MFC-With: 323275

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


248342 15-Mar-2013 joel

Add a few examples.

Obtained from: OpenBSD


165564 27-Dec-2006 ru

Fix markup.


146821 31-May-2005 tjr

The new name for the DIAGNOSTICS section is EXIT STATUS.

Noticed by: ru


146735 29-May-2005 tjr

Move information about exit status into a DIAGNOSTICS section.


140851 26-Jan-2005 ssouhlal

Remove useless errno.h include.

Approved by: grehan (mentor)
Obtained from: DragonFlyBSD


139969 10-Jan-2005 imp

/*- or .\"- or #- to begin license clauses.


137902 20-Nov-2004 ru

Do not emit a spurious warning when "directory" argument
to "rmdir -p" is absolute, with one or more leading slash.


137901 20-Nov-2004 ru

Fixed "rmdir -p" that got broken by rev. 1.15.
(This also fixes "rmdir -v /nonexistent".)


129285 16-May-2004 ru

Added -v to usage().


127958 06-Apr-2004 markm

Remove clause 3 from the UCB licenses.

OK'ed by: imp, core


127257 21-Mar-2004 des

Add a -v (verbose) option.


114433 01-May-2003 obrien

Quiet warnings about copyright[].


99110 30-Jun-2002 obrien

Consistently use FBSDID


90110 02-Feb-2002 imp

o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.


87323 04-Dec-2001 obrien

Default to WARNS=2. Binary builds that cannot handle this must explicitly
set WARNS=0.

Reviewed by: mike


78624 22-Jun-2001 dd

WARNS= -> WARNS?=

Submitted by: Mike Barcroft <mike@q9media.com>


76880 20-May-2001 kris

Silence WARNS=2 and BDECFLAGS on alpha and i386

MFC after: 1 week


68935 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


62213 28-Jun-2000 nbm

Fix the rmdir -p a/b/c/ case, where rmdir -p a/b/c works, and rmdir c/
works.

PR: PR 6521
Submitted by: Rudolf Cejka <xcejka00@dcse.fee.vutbr.cz>
Reviewed by: eivind (in brief retrograde)


50471 27-Aug-1999 peter

$Id$ -> $FreeBSD$


36149 18-May-1998 charnier

Correct use of .Nm. Add rcsid.


31862 19-Dec-1997 bde

Don't strip trailing slashes (for the initial rmdir). It breaks
following of the symlink for `rmdir symlink/' and is unnecessary
for ordinary directories (POSIX doesn't require rmdir(1) to do
anything for trailing slashes; it requires rmdir(2) to let them
"refer to a directory", and following the symlink for symlink/ is
what BSD does). This also fixes bugs in the slash-stripping code
(for paths consisting entirely of slashes, the pointer into the
string was decremented to "before" the beginning of the string,
and the path was at best stripped to "".

The behaviour is unchanged except for the final directory for
`rmdir -p ...'. There is no alternative to stripping intermediate
slashes since they must be specified. The sloppy slash-stripping
code is adequate for intermediate directories, since the all-slashes
case fails early.


24348 28-Mar-1997 imp

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


22988 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


20422 14-Dec-1996 steve

-Wall cleaning and implement -p commandline option.

-p mod obtained from: NetBSD


17891 29-Aug-1996 wosch

[HISTORY] command appeared in Version 1 AT&T UNIX
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41


3044 24-Sep-1994 dg

Added $Id$


1557 26-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1556,
which included commits to RCS files with non-trunk default branches.