Skip Menu |

This queue is for tickets about the File-ExtAttr CPAN distribution.

Report information
The Basics
Id: 43453
Status: open
Priority: 0/
Queue: File-ExtAttr

People
Owner: Nobody in particular
Requestors: tociyuki [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: $! becomes 'Bad file descriptor' calling with path names always.
When calling functions with a path name for existing files: I got $! ($ERRNO) = 9 (EBADF, 'Bad file descriptor') except for $! = 0. sub _is_fh { my $file = shift; my $is_fh = 0; eval { local $!; # <== missing ?
On The Feb 19 22:15:32 2009, TOCIYUKI wrote: Show quoted text
> When calling functions with a path name for existing files: > I got $! ($ERRNO) = 9 (EBADF, 'Bad file descriptor') except for $! = 0.
Above is true. but I mistaked below. Show quoted text
> eval > { > local $!; # <== missing ?
Perhaps XSLoader::load sets $! = 9.
I don't understand what the problem is. Please attach a program that shows the problem.
Also, please include: * the Operating System that you are using (Linux?); * the verison of File::ExtAttr you are using. Thanks!