summaryrefslogtreecommitdiff
path: root/bin/mkdir/mkdir.c
AgeCommit message (Expand)Author
2021-09-13PR bin/56398kre
2011-08-29static + __deadjoerg
2008-07-20Remove the \n and tabs from the __COPYRIGHT() strings.lukem
2005-10-01Fix setmode error handling.christos
2004-01-04remove unused code left from printescaped() backput as pointed out by Jeffjschauma
2003-09-14Following private discussion with kleink@ and hubertf@ and public discussionjschauma
2003-09-11Comment out unneeded code now that the kernel has been fixed to ignorechristos
2003-08-13use bounded string opitojun
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-08-04As discusses a little while back on tech-userlevel:jschauma
2003-03-10Fix typo in mkpath()'s test before chmod().lukem
2003-03-05Rework -p support again;lukem
2002-11-24in mkpath(), don't try to stat() the to-be-created directory beforehand,chs
2002-02-19Cosmetic changes.enami
2001-09-16ANSIfy, KNF, use [gs]etprogname. By Petri Koistinen.wiz
2000-10-10- The type of return value of setmode is a void * and getmode takes it,enami
1999-05-26Change previous to use symbolic names for file modes. Also, clean up somekleink
1999-05-25Only call chmod(2) if we create a directory with a mode which isn'ttron
1998-10-13Insert a missing 'else' which caused mknod(2) to still be calledscw
1998-10-08umask()/mkdir() system calls will not set the setuid bit; the kernel intentio...wsanchez
1998-07-28Delint.mycroft
1997-11-05lintcgd
1997-07-20Fix compiler warningschristos
1997-01-09kill use of registertls
1996-08-12Fix mkdir -p to not ignore terminal directory mode specified.explorer
1995-06-25Style and format police.mycroft
1995-06-25Don't complain if a directory already exists. From Greg Hudson, butmycroft
1995-03-21clean up slightly; id tags, alphabetization, prototypes, etc.cgd
1995-03-01Revert to code before it was merged with 4.4lite.jtc
1994-09-22Merge 4.4-Lite version.mycroft
1994-04-29Strip trailing slashes, to make "mkdir -p" work as specified by POSIX.2.jtc
1994-04-28simplify recursive directory create (mkdir -p) codejtc
1993-12-31Localization changes.jtc
1993-10-13#include <unistd.h>, so getopt(), optarg, opterr, optind, and optoptjtc
1993-08-01Add RCS identifiers.mycroft
1993-07-20Make Posix 1003.2 (D11.2) compliant by adding -m (mode) option.jtc
1993-03-23changed "Id" to "Header" for rcsidscgd
1993-03-22added rcs ids to all filescgd
1993-03-21initial import of 386bsd-0.1 sourcescgd