X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=comstack%2Ftcpip.c;fp=comstack%2Ftcpip.c;h=cb24279c37d73684f44b8568cbf0dd6afc5e904c;hp=dac5b2a37f543b042003d6c54188afce050bdb4c;hb=de70f47f9680c5fd7b3863f2a647d6dc760c2d98;hpb=d8b453a7e9a34f0254a3d9483a26add0aff3eb6c 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;