From: Linus Torvalds Date: Sun, 11 Sep 2005 23:43:56 GMT Subject: Re: Status of Mac OS/X ports of git and cogito? Message-ID: In-Reply-To: On Sun, 11 Sep 2005, Linus Torvalds wrote: > > And the really sad part is that before the standards bodies started > messing around with it, things really _did_ "just work". There was no > question at all about what kind of type to use. Btw, here's the result of the "documentation": dnl check for Unix98 socklen_t AC_MSG_CHECKING(for socklen_t) AC_TRY_COMPILE([#include socklen_t x; ],[],[AC_MSG_RESULT(yes)],[ AC_TRY_COMPILE([#include int accept (int, struct sockaddr *, size_t *); ],[],[ AC_MSG_RESULT(size_t) AC_DEFINE(socklen_t,size_t)], [ AC_MSG_RESULT(int) AC_DEFINE(socklen_t,int)])]) isn't that nice? Before the "documentation", you could just use int accept(int, struct sockaddr *, int *); and it would work. EVERYWHERE. No autoconf crap required. So don't talk to me about documentation. It's pure and unadulterated crap. Linus