cvs commit: src/include stdlib.h

Joerg Sonnenberger joerg at britannica.bec.de
Sat Apr 30 07:11:22 PDT 2005


On Sat, Apr 30, 2005 at 01:24:48AM -0700, Jeroen Ruigrok/asmodai wrote:
> asmodai     2005/04/30 01:24:48 PDT
> 
> DragonFly src repository
> 
>   Modified files:
>     include              stdlib.h 
>   Log:
>   Back out getloadavg()'s change from int to size_t.  This breaks gmake, for
>   example.  No telling what else breaks.
>   Needs further investigation.

Sorry, but that's a stupid argument. Just because gmake wants to have
a local (conflicting) prototype instead of using the correct header
should not stop us from doing the correct thing. To make this even more
clear, GNU make (like many GNU programs) depends on the existance
of errno as macro, otherwise they depend on it being int.

Those are bugs. WTF do they have autoconf if they still hack around it
in all places?

This change does NOTHING for all programs which correctly include stdlib.h
and use the function defined there.

Joerg





More information about the Commits mailing list