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.
Download (untitled) / with headers
text/plain 265b
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 ?
Download (untitled) / with headers
text/plain 321b
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.
Download (untitled) / with headers
text/plain 130b
Also, please include: * the Operating System that you are using (Linux?); * the verison of File::ExtAttr you are using. Thanks!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.