Message131257
| Author |
loewis |
| Recipients |
brian.curtin, eli.bendersky, loewis, tim.golden |
| Date |
2011年03月17日.14:44:05 |
| SpamBayes Score |
0.0034566857 |
| Marked as misclassified |
No |
| Message-id |
<1300373046.75.0.0668612307742.issue11583@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|