Package: perl
Version: 5.8.4
 
The value for F_SETLKW is coming up as "14" when my kernel is expecting "7".
 
I have tested this both under Kernel 2.4.26 and 2.6.8 -- same result.
 
I tested this with:
 
#!/usr/bin/perl
 
use Fcntl;
print "F_SETLKW: ".F_SETLKW."\n";
 
It returns "14" when a C program returns "7".  This caused "byte range" locking to not work properly (it acts as if the full file locks.
 
I am guessing it has to do with the machine that the Debian distribution is created on having a different value than that of the destination box?
 
I don't have a solution for this as I am not experienced with making header files for Perl.
 
I could find no record of this issue anywhere.  I wrote the usenet group for Perl and they indicated I should report this to you.
 
For more info, I am running Debian Sarge Stable -- fully updated recently (from woody).  The problem is occurring on two different machines running two different kernels.
 
 
Linux mars.versimedia.com 2.6.8 #1 SMP Thu Oct 20 10:47:33 EDT 2005 i686 unknown
Linux europa 2.4.26 #1 SMP Thu May 27 14:47:32 EDT 2004 i686 unknown
 

Reply via email to