Message131257
Ok. It's probably not the most optimal thing we can do. It opens the directory with CreateFileW (specifying OPEN_EXISTING and BACKUP_SEMANTICS), then GetFileInformationByHandle. If we only want to find out whether the file is a directory, we could just to FindFirstFile, which wouldn't need to go to the MFT record.
I would be surprised if this makes a difference in practice, though. |
|
Date |
User |
Action |
Args |
2011-03-17 14:44:06 | loewis | set | recipients:
+ loewis, tim.golden, eli.bendersky, brian.curtin |
2011-03-17 14:44:06 | loewis | set | messageid: <1300373046.75.0.0668612307742.issue11583@psf.upfronthosting.co.za> |
2011-03-17 14:44:05 | loewis | link | issue11583 messages |
2011-03-17 14:44:05 | loewis | create | |
|