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