git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Status of Mac OS/X ports of git and cogito?

From
Linus Torvalds <torvalds@osdl.org>
Date
Sep 11, 2005, 23:43 UTC
Message-ID
<Pine.LNX.4.58.0509111642110.3242@g5.osdl.org>
In-Reply-To
<Pine.LNX.4.58.0509111631500.3242@g5.osdl.org>
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
Previous: Linus TorvaldsNext: Johannes Schindelin
Message 15 of 22 in “Status of Mac OS/X ports of git and cogito?”
  1. John EllsonAug 27, 2005
  2. Junio C HamanoAug 27, 2005
  3. Johannes SchindelinSep 11, 2005
  4. Martin LanghoffSep 11, 2005
  5. Johannes SchindelinSep 11, 2005
  6. Junio C HamanoSep 11, 2005
  7. Linus TorvaldsSep 11, 2005
  8. A Large Angry SCMSep 11, 2005
  9. Junio C HamanoSep 11, 2005
  10. Johannes SchindelinSep 11, 2005
  11. Linus TorvaldsSep 11, 2005
  12. Use int instead of socklen_tJunio C Hamano, Sep 11, 2005
  13. Johannes SchindelinSep 11, 2005
  14. Linus TorvaldsSep 11, 2005
  15. Linus TorvaldsSep 11, 2005
  16. Johannes SchindelinSep 12, 2005
  17. Daniel BarkalowSep 11, 2005
  18. Martin LanghoffSep 11, 2005
  19. Johannes SchindelinSep 11, 2005
  20. Martin LanghoffAug 27, 2005
  21. Martin LanghoffAug 29, 2005
  22. Martin LanghoffAug 30, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.