diff options
Diffstat (limited to 'winsup/cygwin/dll_init.cc')
-rw-r--r-- | winsup/cygwin/dll_init.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/dll_init.cc b/winsup/cygwin/dll_init.cc index 28f4e53a8..4ba1bd22d 100644 --- a/winsup/cygwin/dll_init.cc +++ b/winsup/cygwin/dll_init.cc @@ -380,6 +380,8 @@ dll_list::alloc (HINSTANCE h, per_process *p, dll_type type) d->forkable_ntname = d->ntname + ntnamelen + 1; *d->forkable_ntname = L'\0'; } + if (forkables_supported ()) + d->stat_real_file_once (); /* uses nt_max_path_buf () */ append (d); if (type == DLL_LOAD) loaded_dlls++; |