Bug#537555: [PATCH] Fix File::Copy::copy with pipes on GNU/kFreeBSD

Steffen Mueller nj88udd02 at sneakemail.com
Wed Jul 22 09:25:19 UTC 2009


Hi Niko, hi Petr,

Niko Tyni wrote:
> Quoting Petr Salinger in http://bugs.debian.org/537555 :
> 
>> The Copy tries to detect whether source and dest are the same files.
>> Unfortunately, on the GNU/kFreeBSD the kernel returns for all pipes
>> as device and inode numbers just zero. See pipe_stat() in
>> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/sys_pipe.c
> 
> Patch by Petr Salinger, tests by Niko Tyni.

thanks, applied as 16f708c9bc0dc48713b200031295a40bed83bbfc with an 
additional version bump in Copy.pm.

Cheers,
Steffen






More information about the Perl-maintainers mailing list