Re: MacOS X support patches
Gerd Stolpmann <[email protected]> Mon, 18 May 2009 17:36:33 +0200
| Newsgroups | gmane.comp.lang.ocaml.lib.net.devel |
|---|---|
| Message-ID | <[email protected]> |
Am Mittwoch, den 04.02.2009, 16:55 +0000 schrieb Anil Madhavapeddy: > It appears that getpeername(3) on MacOS X Leopard can return EINVAL > under some conditions instead of an ENOTCONN. This isn't caught by > OCamlnet and so it immediately goes into a spinloop. > > The following patches fix it for me, and shouldn't have an ill effect > on other platforms. I've only tested it with Netplex/Nethttpd/Netcgi. Ok, EINVAL is also documented by SUS. The SVN version of ocamlnet has changed a bit here, so the patches are not applicable. Also, I've done it a bit different, and defined Netsys.getpeername. But the SVN version is fixed. Gerd > -anil > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ Ocamlnet-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel -- ------------------------------------------------------------ Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany [email protected] http://www.gerd-stolpmann.de Phone: +49-6151-153855 Fax: +49-6151-997714 ------------------------------------------------------------ ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects