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

Simon 'corecode' Schubert corecode at
Wed Dec 22 04:06:48 PST 2004

On Wednesday, 22. December 2004 12:25, Liam J. Foy wrote:
> 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().

as i already said to ssouhlal@, i consider this to be a bug in setmode(3). it 
should be fixed to always set an appropriate errno on failure.


\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00001.pgp
Type: application/octet-stream
Size: 187 bytes
Desc: "Description: PGP signature"
URL: <>

More information about the Commits mailing list