cvs commit: src/usr.bin/make arch.c

Harti Brandt hartmut.brandt at
Tue Mar 4 16:15:49 UTC 2008

On Tue, 4 Mar 2008, Warner Losh wrote:

WL>imp         2008-03-04 15:56:18 UTC
WL>  FreeBSD src repository
WL>  Modified files:
WL>    usr.bin/make         arch.c 
WL>  Log:
WL>  <limits.h> is necessary for using INT_MIN, so included it here
WL>  explicitly rather than relying on name space pollution to pull it in
WL>  for us.
WL>  NB: The usage of INT_MIN is somewhat bogus and suspect to my eye, but this
WL>  commit doesn't address that issue.

Yes. This looks like a bug. ArchStatMember returns INT64_MIN if it cannot 
stat the archive member. So the caller must check for INT64_MIN.


More information about the cvs-src mailing list