Cygwin: dll_list: drop FILE_BASIC_INFORMATION

Querying FILE_BASIC_INFORMATION is needless since using win pid+threadid
for forkables dirname rather than newest last write time.
This commit is contained in:
Michael Haubenwallner
2019-04-30 16:14:09 +02:00
committed by Corinna Vinschen
parent a4e62e3a4c
commit 4c79da8017
3 changed files with 3 additions and 6 deletions

View File

@@ -372,7 +372,6 @@ dll_list::alloc (HINSTANCE h, per_process *p, dll_type type)
d->image_size = ((pefile*)h)->optional_hdr ()->SizeOfImage;
d->preferred_base = (void*) ((pefile*)h)->optional_hdr()->ImageBase;
d->type = type;
d->fbi.FileAttributes = INVALID_FILE_ATTRIBUTES;
d->fii.IndexNumber.QuadPart = -1LL;
if (!forkntsize)
d->forkable_ntname = NULL;