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

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


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Wed, 22 Dec 2004 13:06:07 +0100

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.

chees
  simon

-- 
/"\
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News

Attachment: pgp00001.pgp
Description: PGP signature



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