DragonFly BSD
DragonFly commits List (threaded) for 2004-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/bin/chmod


From: "Liam J. Foy" <liamfoy@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 28 Oct 2004 09:49:25 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]