From: | "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx> |
Date: | Wed, 22 Dec 2004 13:33:54 +0100 |
On Wednesday, 22. December 2004 13:23, Liam J Foy wrote: > > > -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. > I do agree somewhat. I have mentioned this to Joerg but it's no biggie. > However, if people agree it needs to be fixed I will do it. or how about adding it to the projects page in the wiki and let it fix itself (by some interessted newcomer who wants to get into the project)? cheers simon -- /"\ \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News
Attachment:
pgp00002.pgp
Description: PGP signature