-Setmode will deal with the octals, so we dont need to.
authorLiam J. Foy <liamfoy@dragonflybsd.org>
Thu, 28 Oct 2004 16:49:24 +0000 (16:49 +0000)
committerLiam J. Foy <liamfoy@dragonflybsd.org>
Thu, 28 Oct 2004 16:49:24 +0000 (16:49 +0000)
commita3a92049dacd4f628f0c4954984ddfe93fdc9d4e
tree7300b20f0f00b22aba51854cb35dbc1580beb606
parent143c453b30476f90a8b57ed474ba145873042a16
-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!
bin/chmod/chmod.c