cvs commit: src/bin/mkdir
Eirik Nygaard
eirikn at crater.dragonflybsd.org
Mon Oct 18 11:43:00 PDT 2004
eirikn 2004/10/18 11:42:01 PDT
DragonFly src repository
Modified files:
bin/mkdir mkdir.c
Log:
* static functions
* remove main prototype
* setmode returns void *
* getmode returns mode_t
* fix setmode if an error occurs. Previous code would print invalid file mode if
malloc had failed and the file mode was correct.
* remove '?' case
Submitted by: "Liam J. Foy" <liamfoy at xxxxxxxxxxxxx>
Revision Changes Path
1.5 +15 -10 src/bin/mkdir/mkdir.c
http://www.dragonflybsd.org/cvsweb/src/bin/mkdir/mkdir.c.diff?r1=1.4&r2=1.5&f=u
More information about the Commits
mailing list