--- 1.8.8 2002/MM/DD
+Solaris recv sometimes returns errno == ENOENT. It is treated as
+EINPROGRESS. COMSTACK patch by Ko van der Sloot.
+
New COMSTACK of type UNIX Socket. Use "unix:/path" as address for
both client and server. Code by Morten Bøgeskov.
* Copyright (c) 1995-2002, Index Data
* See the file LICENSE for details.
*
- * $Id: tcpip.c,v 1.46 2002-02-19 20:02:40 adam Exp $
+ * $Id: tcpip.c,v 1.47 2002-06-12 19:42:38 adam Exp $
*/
#include <stdio.h>
#endif
#endif
|| errno == EINPROGRESS
+#ifdef __sun__
+ || errno == ENOENT /* Sun's sometimes set errno to this */
+#endif
)
{
h->io_pending = CS_WANT_READ;
* See the file LICENSE for details.
* Sebastian Hammer, Adam Dickmeiss
*
- * $Id: nmem.c,v 1.34 2001-11-18 21:05:13 adam Exp $
+ * $Id: nmem.c,v 1.35 2002-06-12 19:42:38 adam Exp $
*/
/*
#endif
if (!n)
{
+ yaz_log (LOG_FATAL, "calling nmem_malloc with an null pointer");
abort ();
- return xmalloc(size);
}
#ifdef WIN32
assert (nmem_init_flag);