aboutsummaryrefslogtreecommitdiff
path: root/bin/mkdir
Commit message (Collapse)AuthorAgeFilesLines
* Remove residual blank line at start of MakefileWarner Losh2024-07-152-2/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* Remove copyright strings ifdef'd outWarner Losh2023-11-271-9/+0
| | | | | | | | | | | We've ifdef'd out the copyright strings for some time now. Go ahead and remove the ifdefs. Plus whatever other detritis was left over from other recent removals. These copyright strings are present in the comments and are largely from CSRG's attempt at adding their copyright to every binary file (which modern interpretations of the license doesn't require). Sponsored by: Netflix
* bin: Remove ancient SCCS tags.Warner Losh2023-11-273-6/+0
| | | | | | | | Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
* Remove $FreeBSD$: one-line nroff patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-165-5/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* Update/fix Makefile.depend for userlandSimon J. Gerraty2023-04-191-1/+0
|
* src/bin/mkdir: Spell occur correctly.Elyes HAOUAS2021-10-021-1/+1
| | | | | Pull Request: https://github.com/freebsd/freebsd-src/pull/544 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* DIRDEPS_BUILD: Connect new directories.Bryan Drewery2017-10-311-0/+11
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325187
* Fix Makefile entries from r323275Alan Somers2017-09-291-0/+2
| | | | | | | | | | Reported by: Vladimir Zakharov <zakharov.vv@gmail.com> Reviewed by: ngie MFC after: 3 weeks X-MFC-With: 323275 Notes: svn path=/head/; revision=324112
* Add basic tests for chflags, mkdir, rcp, and rmdirAlan Somers2017-09-073-0/+69
| | | | | | | | | | | | | | | | 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 MFC after: 3 weeks Sponsored by: Google, Inc (GSoC 2017) Differential Revision: https://reviews.freebsd.org/D12036 Notes: svn path=/head/; revision=323275
* Renumber copyright clause 4Warner Losh2017-02-282-2/+2
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Explicitly add unmarked bin/ binaries to the runtime package.Glen Barber2016-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 Notes: svn path=/projects/release-pkg/; revision=295439
* Add META_MODE support.Simon J. Gerraty2015-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 Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Merge from headSimon J. Gerraty2013-09-051-2/+2
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=255263
| * sync from headSimon J. Gerraty2013-04-121-1/+18
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=249429
| * | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+19
| | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | Add missing static qualifiersEitan Adler2013-04-271-2/+2
| |/ |/| | | | | | | | | | | | | Reviewed by: ed, jilles MFC After: 3 days Notes: svn path=/head/; revision=249996
* | Add a few examples.Joel Dahl2013-03-151-1/+18
|/ | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=248342
* Put some static keywords in the source code.Ed Schouten2011-10-311-1/+1
| | | | | | | | | For these simple utilities, it doesn't harm to make all global variables static. In fact, this allows the compiler to perform better forms of optimisation and analysis. Notes: svn path=/head/; revision=226961
* More markup fixes.Ruslan Ermilov2006-12-271-3/+3
| | | | Notes: svn path=/head/; revision=165563
* Fix markup.Ruslan Ermilov2006-12-271-6/+7
| | | | Notes: svn path=/head/; revision=165562
* Adhere to POSIX: the -m option only applies to the newly createdRuslan Ermilov2006-10-101-13/+21
| | | | | | | | | | directories; it should not change the permission bits of already existing directories. Submitted by: Alex Unleashed (modified by me) Notes: svn path=/head/; revision=163213
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-02-091-1/+2
| | | | Notes: svn path=/head/; revision=141578
* Remove WARNS?= 6 from Makefile, since it is already in src/bin/Makefile.incSuleiman Souhlal2005-01-261-1/+0
| | | | | | | | Requested by: ru Approved by: grehan (mentor) Notes: svn path=/head/; revision=140850
* - The first argument of getmode() is a void *Suleiman Souhlal2005-01-252-1/+3
| | | | | | | | | | - Add WARNS?= 6 Approved by: stefanf, grehan (mentor) Obtained from: DragonFlyBSD Notes: svn path=/head/; revision=140816
* Add the new standard EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-161-3/+3
| | | | | | | Sort standard sections in the (documented) preferred order. Notes: svn path=/head/; revision=140353
* /*- or .\"- or #- to begin license clauses.Warner Losh2005-01-102-1/+2
| | | | Notes: svn path=/head/; revision=139969
* Don't read the byte at *argv[strlen(*argv) + 1].David Schultz2004-09-241-1/+1
| | | | | | | PR: 71743 Notes: svn path=/head/; revision=135718
* Deal with double whitespace.Ruslan Ermilov2004-07-031-2/+2
| | | | Notes: svn path=/head/; revision=131505
* Remove clause 3 from the UCB licenses.Mark Murray2004-04-062-8/+0
| | | | | | | OK'ed by: imp, core Notes: svn path=/head/; revision=127958
* Quiet warnings about copyright[].David E. O'Brien2003-05-011-2/+2
| | | | Notes: svn path=/head/; revision=114433
* Put documentation of the -m option's argument in its list tag in theTim J. Robbins2002-06-301-2/+4
| | | | | | | Description section for consistency with other manpages. Notes: svn path=/head/; revision=99121
* Consistently use __FBSDIDDavid E. O'Brien2002-06-301-2/+2
| | | | Notes: svn path=/head/; revision=99109
* Use `The .Nm utility'Philippe Charnier2002-04-161-2/+3
| | | | Notes: svn path=/head/; revision=94869
* Fix a bug introduced in rev.1.23 - for some reason mkdir("/", ...) systemMaxim Sobolev2002-02-251-1/+1
| | | | | | | | | | call returns `EISDIR', not `EEXIST', so that be prepared for that. This should fix number of ports, that often call `mkdir -p //usr/local/foobar'. This is just a quick workaround, the real fix would be either to avoid calling mkdir("/", ...) or fix VFS code to return consistent errno for this case. Notes: svn path=/head/; revision=91235
* Fix warnings inspired by lint, a commercial lint and WARNS=4.Mark Murray2002-02-221-4/+4
| | | | Notes: svn path=/head/; revision=91084
* Fix the race between the stat() and the mkdir().Dave Zarzycki2002-02-051-16/+19
| | | | | | | Reviewed by: jkh Notes: svn path=/head/; revision=90266
* o __P has been reovedWarner Losh2002-02-021-10/+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. Notes: svn path=/head/; revision=90110
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyDavid E. O'Brien2001-12-041-1/+0
| | | | | | | | | set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87323
* mdoc(7) police: utilize the new .Ex macro.Ruslan Ermilov2001-08-151-3/+1
| | | | Notes: svn path=/head/; revision=81687
* Set WARNS=2 on programs which compile cleanly.Dima Dorfman2001-07-151-0/+1
| | | | | | | Submitted by: Mike Barcroft <mike@q9media.com> Notes: svn path=/head/; revision=79758
* Add a note on what happens if the "-p" option is specifiedYaroslav Tykhiy2001-06-291-0/+2
| | | | | | | | | | and a final directory already exists. Reviewed by: freebsd-audit MFC after: 5 days Notes: svn path=/head/; revision=78963