[Zlib-devel] Check for <errno.h>

Enrico Weigelt weigelt at metux.de
Fri Apr 2 18:27:59 EDT 2010


* Mark Adler <madler at alumni.caltech.edu> schrieb:
> On Mar 28, 2010, at 7:33 AM, Enrico Weigelt wrote:
> > http://bugs.gentoo.org/show_bug.cgi?id=55434
> 
> That patch is too violent.  It could have many unintended 
> consequences on other platforms.  

Any better idea ?
Assuming empty output on successful compile is a bad idea, IMHO. 

> The patch demands that all compilers return a non-zero exit 
> code on a compilation error.

Are there any (serious) ones which dont ? How do they properly
indicate failure ?

> > (aka: are there platforms which dont have it ?)
> 
> Yes, as I recall there were platforms with no errno.h.  However 
> the new gz code doesn't need the errno.h check, so I will remove it.

hmm, the question is: anyone which we support ?


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------




More information about the Zlib-devel mailing list