develooper Front page | perl.perl5.porters | Postings from December 2003

Re: [PATCH] Re: perl @ 21830

Thread Previous | Thread Next
Nick Ing-Simmons
December 5, 2003 00:42
Re: [PATCH] Re: perl @ 21830
Message ID:
Jody Belka <> writes:
>    Serial number of the volume that contains the file.

Roughly dev.

>    High-order part of a unique identifier associated with the file.
>    Low-order part of a unique identifier associated with the file.

Roughly inode - but at least twice the size.
I toyed with having Win32's stat return inode as a BigInt at one point.
(A string would be easy but too much code uses == which forces it back 
 to numeric.)

>To quote on FileIndex from the BY_HANDLE_FILE_INFORMATION reference,
>Note that this value is useful only while the file is open by at least one
>process. If no processes have it open, the index may change the next time
>the file is opened.
>The identifier (low and high parts) and the volume serial number uniquely
>identify a file on a single computer. To determine whether two open
>handles represent the same file, combine this identifier and the volume
>serial number for each file and compare them.
>References for all of the above:
>CreateFile -
>GetFileInformationByHandle -

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About