cvs commit: src/include stdlib.h

Jeroen Ruigrok/asmodai asmodai at wxs.nl
Sat Apr 30 07:33:18 PDT 2005


-On [20050430 16:22], Joerg Sonnenberger (joerg at xxxxxxxxxxxxxxxxx) wrote:
>Sorry, but that's a stupid argument.

Thanks for labeling it stupid.

>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.

Well sorry, I am merely trying to limit damage where I can.  gmake is a
heavy dependency for a lot of ports.  I have too little time to check
everything as thoroughly as I want to, and as little an excuse as it might
seem, I try what and where I can.  DragonFly is not the only thing I work
on.

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

Ask them.

Nevertheless getloadavg() in Linux land has int as second argument, not
size_t.  The same goes for Solaris.  So moving it from int to size_t seemed
like a gratuitous change from a de-facto standard.

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

Your change did nothing for the dependency in ports.  This is an argument
that can be debated towards both sides of the fence.

-- 
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
Free Tibet! http://www.savetibet.org/ | http://ashemedai.deviantart.com/
http://www.tendra.org/   | http://www.in-nomine.org/
The quieter you become, the more you are able to hear...





More information about the Commits mailing list