Re: Fix for 49148 (combination of stream_get_line and fseek does not work correctly)

From: Date: Fri, 04 Sep 2009 00:31:08 +0000
Subject: Re: Fix for 49148 (combination of stream_get_line and fseek does not work correctly)
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-45482@lists.php.net to get a copy of this message
Hi!
it happens on Linux and Windows. I've repro'd it in both places. The bug submitter hadn't tested elsewhere.
You are right. However, I notice something strange with your patch - if I call stream_get_line again with the same parameters I get "". Shouldn't I get false instead, as it's at EOF? fgets() returns false. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#45482) next »