This is the mail archive of the cygwin-developers mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Apr 9 14:12, Ben RUBSON wrote: > On 09 Apr 2018 12:52, Corinna Vinschen wrote: > > It's nice that you're testing all this, but you should ask *why* Cygwin > > does it in the first place. The reason is that the information one can > > gather without opening the file on Windows is insufficient to fill in > > all of the stat struct. The directory info returned by > > NtQueryDirectoryFile just isn't, thus it's only a fallback. > > Corinna, thank you very much for your answer. > What info would be missing without opening the file ? > > Do you know where the open call could come from, when only using > NtQueryDirectoryFile in symlink_info::check() ? > (certainly related to the previous question) NtQueryDirectoryFile requires an open directory handle of course. NtOpenFile on the dir is called a few lines prior to NtQueryDirectoryFile. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
Attachment:
signature.asc
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |