X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=comstack%2Ftcpip.c;h=cb24279c37d73684f44b8568cbf0dd6afc5e904c;hb=ac5f8ad9508f5b3ada38117b0da7ae23c650ab1e;hp=dac5b2a37f543b042003d6c54188afce050bdb4c;hpb=840a4ec014e70059d147b4ded3548df191c79687;p=yaz-moved-to-github.git diff --git a/comstack/tcpip.c b/comstack/tcpip.c index dac5b2a..cb24279 100644 --- a/comstack/tcpip.c +++ b/comstack/tcpip.c @@ -2,7 +2,7 @@ * 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 @@ -679,6 +679,9 @@ int tcpip_get(COMSTACK h, char **buf, int *bufsize) #endif #endif || errno == EINPROGRESS +#ifdef __sun__ + || errno == ENOENT /* Sun's sometimes set errno to this */ +#endif ) { h->io_pending = CS_WANT_READ;