Skip Menu |

This queue is for tickets about the File-Path CPAN distribution.

Report information
The Basics
Id: 106080
Status: rejected
Priority: 0/
Queue: File-Path

People
Owner: Nobody in particular
Requestors: RICHE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: RFE: "emulate" inodes on windows
From TODO: Inodes on Windows: Need equivalent dev+inode semantics on Win32 in order to have the race condition code work correctly when rmtree'ing a UNC path (//server/dir/subdir). (stat $file)[1] always seems to return 0 cdarke @ perlmonks, CLIVE on CPAN wrote: BOOL Win_CompareInodes (const char *szName) { BY_HANDLE_FILE_INFORMATION Info = {0}; GetFileInformationByHandle(Win32open (szName, O_RDONLY), &Info); if (Info.dwVolumeSerialNumber == g_Inode.Info.dwVolumeSerialNumber && Info.nFileIndexHigh == g_Inode.Info.nFileIndexHigh && Info.nFileIndexLow == g_Inode.Info.nFileIndexLow ) return TRUE; else return FALSE; } /* Win_CompareInodes */
No interest.