On Thu, Oct 30, 2008 at 10:59:02AM +0100, Vincent Lefevre wrote:
> Package: perl
> Version: 5.10.0-16
> Severity: normal
> 
> The readline function or something like <FILE> sets $! to
> "Bad file descriptor" when there are no errors, as shown by
> the following Perl script:

I don't think this is a bug. As documented in perlvar.pod,
the value $! is meaningful only immediately after a failure.
Also, errno(3) says a function that does succeed is allowed
to change errno.
-- 
Niko Tyni   [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to