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

cvs commit: src/usr.bin/uudecode Makefile uudecode.c


From: "Liam J. Foy" <liamfoy@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 Dec 2004 03:25:51 -0800 (PST)

liamfoy     2004/12/22 03:25:51 PST

DragonFly src repository

  Modified files:
    usr.bin/uudecode     Makefile uudecode.c 
  Log:
  -Setmode can also be caused to fail because of malloc().
   We test to see if 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 warn().
  -Fix data types (int -> mode_t for getmode())
  -Add WARNS?= 6
  
  Ok'ed by: Joerg
  
  Revision  Changes    Path
  1.3       +2 -1      src/usr.bin/uudecode/Makefile
  1.3       +12 -6     src/usr.bin/uudecode/uudecode.c


http://www.dragonflybsd.org/cvsweb/src/usr.bin/uudecode/Makefile.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/uudecode/uudecode.c.diff?r1=1.2&r2=1.3&f=u



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