Philippe M. Chiasson wrote:
> Frank Wiles wrote:
>
>> Hey Everyone,
>>
>> Saw the thread about $r->read($buf,0) and figured it would be wise
>> to fix the error message to keep someone else from getting confused.
>>
>> Here is a small patch to change "The LENGTH argument can't be
>> negative" to "The LENGTH argument can't be negative or zero".
>
>
> How about one of these ?
>
> "The LENGTH argument must be a positive number"
> "The LENGTH argument must be > 0"
> "The LENGTH argument must be >= 1"
> "The LENGTH argument must be greater than zero"
have we actually demonstrated that $r->read($buf,0) is an error? almost
definitely useless, sure, but an error? or maybe the problem is a loop
might read and return true indefinitely, so
while ($r->read($buf,$len)) { ... }
would be bad?
--Geoff
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]