cvs commit: src/usr.bin/uudecode Makefile uudecode.c
Liam J. Foy
liamfoy at crater.dragonflybsd.org
Wed Dec 22 03:26:57 PST 2004
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
More information about the Commits
mailing list