@@ -316,7 +316,7 @@ if (data->fd >= 0) { ret = read(data->fd, buf, count);- stream->eof = (ret == 0 || (ret == -1 && errno != EWOULDBLOCK)); + stream->eof = (ret == 0 || (ret == (size_t)-1 && errno != EWOULDBLOCK)); } else { #if HAVE_FLUSHIO
Watch out! EAGAIN and EWOULDBLOCK can have different values on some platforms.Nuno
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
