develooper Front page | perl.perl5.porters | Postings from August 2012

[perl #65052] stat() returns bad value for ino on Windows for Active Perl

Thread Next
From:
James E Keenan via RT
Date:
August 13, 2012 16:59
Subject:
[perl #65052] stat() returns bad value for ino on Windows for Active Perl
Message ID:
rt-3.6.HEAD-11172-1344902337-1311.65052-15-0@perl.org
On Thu Apr 23 10:40:15 2009, vassili.gorshkov@associates.dhs.gov wrote:
> Problem: stat function return incorrect value for 'ino' field on
> Windows.
> 
> This works fine with cygwin perl.
> 
> #######################################
> 
> # Start the test case
> 
> #######################################
> my $filename = "myfile.txt";
> my @fs = stat($filename);
> open $fh, "< " . $filename or die "create a file \"$filename\" to
> reproduce";
> 
> my $ino = $fs[1];
> $ino != 0 or die "bad ino value from stat, this works OK with cygwin
> perl";
> 
> print "Got a good ino value $ino\n";
> #######################################
> 
> # End the test case
> 
> #######################################

Is there anyone on win32, particularly Active Perl, who could confirm
this problem, particularly on supported versions of Windows and Perl?

Thank you very much.
Jim Keenan

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org:443/rt3/Ticket/Display.html?id=65052

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About