Nope. The problem was that size_t is unsigned, but -1 is signed.
--Wez.
On 10/19/02, "Sander Roobol" <[EMAIL PROTECTED]> wrote:
> On Sat, Oct 19, 2002 at 10:34:10AM -0000, Wez Furlong wrote:
> > - if (justread > 0) {
> > + if (justread != (size_t)-1) {
>
> Shouldn't that be someting like this?
> >>> if (justread != sizeof(size_t)-1) {
>
> Sander
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php