summaryrefslogtreecommitdiffstats
path: root/bin/mkdir/mkdir.c
AgeCommit message (Expand)AuthorFilesLines
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-4/+4
2016-10-19Delete useless setlocale(3) in src/bin/.schwarze1-7/+4
2015-10-23correct precedence; from Ilya Kalimanderaadt1-2/+2
2015-10-10normalize the ordering of tame requests (particularily, "rpath wpath cpath",deraadt1-2/+2
2015-10-09Change all tame callers to namechange to pledge(2).deraadt1-3/+3
2015-10-07tame "stdio cpath rpath fattr", unless mkdir -m is passed a mode whichderaadt1-1/+6
2013-04-02Revert rev 1.21 to fix a race condition where multiple mkdir -p's tryingnaddy1-11/+7
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-15/+1
2008-09-30Fix a problem in the last commit. Upon closer reading of POSIX, inmillert1-8/+7
2008-09-30Fix "-m mode" in conjunction with the -p flag. Also simplify the errormillert1-24/+23
2008-02-13Rework the fix in 1.20. The original fix causes problems for systracemillert1-8/+12
2008-01-02fix PR 5141:chl1-9/+14
2007-08-06the ellipsis is not an optional argument; while here, sync the usagesobrado1-3/+4
2006-03-24Make sure `path' variable is always NUL-terminated.ray1-4/+7
2004-07-01setmode(3) returns void *, not mode_t *. ok millert@otto1-3/+3
2003-07-29spacingderaadt1-11/+11
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-7/+3
2002-07-04ansideraadt1-10/+5
2002-06-09knftodd1-3/+3
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert1-4/+4
2002-01-16missed some registers, kill'em!mpech1-4/+4
2001-09-06o) __progname aria;mpech1-4/+5
2000-02-02Make mkdir -m 1777 foo and the like work. From how Netbsd/Freebsd do it.ericj1-3/+15
1998-09-26more setmode() leaks -- kill 'em allderaadt1-2/+3
1998-01-25Fix a race where a dir might have been created after a stat call, but beforeniklas1-3/+5
1997-09-01i am bored enough to fix terminal space/tab ugliesderaadt1-4/+4
1997-07-23tabifykstailey1-3/+3
1996-08-14Get mode of last directory right when doing mkdir -p; NetBSD PR #2686tholo1-3/+3
1996-08-02zap getopt() case of -?, come on, it is the default!deraadt1-3/+2
1996-06-23update rcsidderaadt1-1/+2
1995-10-18initial import of NetBSD treederaadt1-0/+173