summaryrefslogtreecommitdiff
path: root/bin/mkdir/mkdir.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2016-10-19Delete useless setlocale(3) in src/bin/.Ingo Schwarze
2015-10-23correct precedence; from Ilya KalimanTheo de Raadt
2015-10-10normalize the ordering of tame requests (particularily, "rpath wpath cpath",Theo de Raadt
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-07tame "stdio cpath rpath fattr", unless mkdir -m is passed a mode whichTheo de Raadt
2013-04-02Revert rev 1.21 to fix a race condition where multiple mkdir -p's tryingChristian Weisgerber
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-09-30Fix a problem in the last commit. Upon closer reading of POSIX, inTodd C. Miller
2008-09-30Fix "-m mode" in conjunction with the -p flag. Also simplify the errorTodd C. Miller
2008-02-13Rework the fix in 1.20. The original fix causes problems for systraceTodd C. Miller
2008-01-02fix PR 5141:Charles Longeau
2007-08-06the ellipsis is not an optional argument; while here, sync the usageIgor Sobrado
2006-03-24Make sure `path' variable is always NUL-terminated.Ray Lai
2004-07-01setmode(3) returns void *, not mode_t *. ok millert@Otto Moerbeek
2003-07-29spacingTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-07-04ansiTheo de Raadt
2002-06-09knfTodd T. Fries
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-01-16missed some registers, kill'em!Mike Pechkin
2001-09-06o) __progname aria;Mike Pechkin
2000-02-02Make mkdir -m 1777 foo and the like work. From how Netbsd/Freebsd do it.Eric Jackson
1998-09-26more setmode() leaks -- kill 'em allTheo de Raadt
1998-01-25Fix a race where a dir might have been created after a stat call, but beforeNiklas Hallqvist
1997-09-01i am bored enough to fix terminal space/tab ugliesTheo de Raadt
1997-07-23tabifykstailey
1996-08-14Get mode of last directory right when doing mkdir -p; NetBSD PR #2686Thorsten Lockert
1996-08-02zap getopt() case of -?, come on, it is the default!Theo de Raadt
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt