cvs commit: src/bin/chmod

Liam J. Foy liamfoy at
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 
  -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

More information about the Commits mailing list