[Geany-devel] Breaks not fixes : SF.net SVN: geany:[5971] trunk/src/socket.c

Lex Trotman elextr at xxxxx
Fri Sep 30 12:01:51 UTC 2011


[...]
> I misunderstood a note on the linux manpage for accept, thinking int is the
> proper type.

It's one of Linus's famous rants, the original BSD accept() parameter
was int then the standards committee made it size_t but when it was
pointed out that this was a different size on some systems the
committee called it a socklen_t because they couldn't admit their
original mistake. :)


Cheers
Lex



More information about the Devel mailing list