Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: perlbug: seekdir/readdir broken on win32 on 5.008009, 5.012002, 5.014001

by patcat88 (Deacon)
on Nov 29, 2011 at 18:17 UTC ( #940671=note: print w/ replies, xml ) Need Help??


in reply to Re^3: perlbug: seekdir/readdir broken on win32 on 5.008009, 5.012002, 5.014001
in thread perlbug: seekdir/readdir broken on win32 on 5.008009, 5.012002, 5.014001

http://msdn.microsoft.com/en-us/library/windows/desktop/aa364418%28v=vs.85%29.aspx Memory makes no difference. The underlying Win32 API is an enumeration. So is the Native API http://msdn.microsoft.com/en-us/library/windows/hardware/ff567047%28v=vs.85%29.aspx. You start it, and it keeps going slice by slice until it errors out with "no more files". According to ReactOS, the kernel and its drivers dont make a mega list with every entry in ram, which would justify seeking. They advance a counter every time you fetch an entry. http://doxygen.reactos.org/d5/d16/ntfs_2dirctl_8c_source.html#l00481


Comment on Re^4: perlbug: seekdir/readdir broken on win32 on 5.008009, 5.012002, 5.014001

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://940671]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2014-12-27 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls