summaryrefslogtreecommitdiffstats
path: root/bin/rmdir
Commit message (Collapse)AuthorAgeFilesLines
* WARNS= -> WARNS?=dd2001-06-221-1/+1
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* Silence WARNS=2 and BDECFLAGS on alpha and i386kris2001-05-202-0/+3
| | | | MFC after: 1 week
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Fix the rmdir -p a/b/c/ case, where rmdir -p a/b/c works, and rmdir c/nbm2000-06-281-0/+4
| | | | | | | | works. PR: PR 6521 Submitted by: Rudolf Cejka <xcejka00@dcse.fee.vutbr.cz> Reviewed by: eivind (in brief retrograde)
* $Id$ -> $FreeBSD$peter1999-08-273-3/+3
|
* Correct use of .Nm. Add rcsid.charnier1998-05-182-9/+13
|
* Don't strip trailing slashes (for the initial rmdir). It breaksbde1997-12-191-9/+1
| | | | | | | | | | | | | | | | | 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.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-281-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-223-3/+3
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-143-3/+3
| | | | | | | | 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.
* -Wall cleaning and implement -p commandline option.steve1996-12-142-23/+61
| | | | -p mod obtained from: NetBSD
* [HISTORY] command appeared in Version 1 AT&T UNIXwosch1996-08-291-1/+6
| | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
* Added $Id$dg1994-09-243-0/+4
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-263-0/+183
OpenPOWER on IntegriCloud