cvs commit: src/bin/chmod
Liam J. Foy
liamfoy at crater.dragonflybsd.org
Thu Oct 28 09:49:40 PDT 2004
liamfoy 2004/10/28 09:49:25 PDT
DragonFly src repository
Modified files:
bin/chmod chmod.c
Log:
-Setmode will deal with the octals, so we dont need to.
-Setmode can also be caused to fail because of malloc().
We test to see setmode() has failed. If it has we check errno.
If errno == 0 then we have an invalid file mode. If not malloc
has failed and we the print the error via err().
-Remove '?' case.
-Fix some data types. This is for the setmode fix above.
3 days with no objections has passed!
Revision Changes Path
1.7 +9 -22 src/bin/chmod/chmod.c
http://www.dragonflybsd.org/cvsweb/src/bin/chmod/chmod.c.diff?r1=1.6&r2=1.7&f=u
More information about the Commits
mailing list