summaryrefslogtreecommitdiffstats
path: root/bin/rmdir
Commit message (Collapse)AuthorAgeFilesLines
* Explicitly add unmarked bin/ binaries to the runtime package.gjb2016-02-091-0/+1
| | | | | | | | Note: tcsh(1) has a MK_TCSH=no test, so this should be a separate package, which requires pre-install/post-install scripts, to be added later. Sponsored by: The FreeBSD Foundation
* Add META_MODE support.sjg2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Updated dependenciessjg2014-05-161-1/+0
| |
| * Updated dependenciessjg2014-05-101-0/+2
| |
| * sync from headsjg2013-04-121-1/+13
| |\ | |/ |/|
| * Updated dependenciessjg2013-03-111-0/+1
| |
| * Updated dependenciessjg2013-02-161-2/+0
| |
| * Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+19
| | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | Add a few examples.joel2013-03-151-1/+13
|/ | | | Obtained from: OpenBSD
* Fix markup.ru2006-12-271-5/+7
|
* The new name for the DIAGNOSTICS section is EXIT STATUS.tjr2005-05-311-1/+1
| | | | Noticed by: ru
* Move information about exit status into a DIAGNOSTICS section.tjr2005-05-291-1/+1
|
* Remove useless errno.h include.ssouhlal2005-01-261-1/+0
| | | | | Approved by: grehan (mentor) Obtained from: DragonFlyBSD
* /*- or .\"- or #- to begin license clauses.imp2005-01-101-0/+1
|
* Do not emit a spurious warning when "directory" argumentru2004-11-201-1/+3
| | | | to "rmdir -p" is absolute, with one or more leading slash.
* Fixed "rmdir -p" that got broken by rev. 1.15.ru2004-11-201-6/+5
| | | | (This also fixes "rmdir -v /nonexistent".)
* Added -v to usage().ru2004-05-161-1/+1
|
* Remove clause 3 from the UCB licenses.markm2004-04-062-8/+0
| | | | OK'ed by: imp, core
* Add a -v (verbose) option.des2004-03-212-13/+26
|
* Quiet warnings about copyright[].obrien2003-05-011-2/+2
|
* Consistently use FBSDIDobrien2002-06-301-2/+2
|
* o __P has been reovedimp2002-02-021-9/+5
| | | | | | | | | 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.
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyobrien2001-12-041-2/+0
| | | | | | set WARNS=0. Reviewed by: mike
* 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