NetBSD-Bugs archive

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

Re: lib/41567 (posix_memalign(3) taints errno when it shouldn't.)



The following reply was made to PR lib/41567; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: lib/41567 (posix_memalign(3) taints errno when it shouldn't.)
Date: Thu, 23 Jul 2009 02:55:36 +0000

 On Mon, Jul 20, 2009 at 08:50:08PM +0000, Klaus Klein wrote:
  >> Documenting that things may trash errno is not quite the same as
  >> documenting whether a function explicitly sets a valid errno on an
  >> error return if it does so.
  >> 
  >> In this case though, on the latter point I think silence is probably
  >> better as the behavior is nonportable.
  >> 
  >> On the former point, how about this:
  >> [snip]
  >  
  >  I like it; please commit!
 
 Done :-)
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index