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 <sys/socket.h> socklen_t x; ],[],[AC_MSG_RESULT(yes)],[ AC_TRY_COMPILE([#include <sys/socket.h> 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 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Mon Sep 12 09:44:54 2005
This archive was generated by hypermail 2.1.8 : 2005-09-12 09:44:57 EST