+2009-11-05 Corinna Vinschen <corinna@vinschen.de>
+
+ * spawn.cc (dll_suffixes): Disable. Explain why.
+ (perhaps_suffix): Use stat_suffixes instead of dll_suffixes.
+
2009-11-03 Corinna Vinschen <corinna@vinschen.de>
* security.cc (alloc_sd): Re-introduce setting the SE_DACL_PROTECTED
suffix_info (NULL)
};
+#if 0
+/* CV, 2009-11-05: Used to be used when searching for DLLs in calls to
+ dlopen(). However, dlopen() on other platforms never adds a suffix by
+ its own. Therefore we use stat_suffixes now, which only adds a .exe
+ suffix for symmetry. */
static suffix_info dll_suffixes[] =
{
suffix_info (".dll"),
suffix_info (".exe", 1),
suffix_info (NULL)
};
+#endif
child_info_spawn *chExeced;
err = 0;
debug_printf ("prog '%s'", prog);
buf.check (prog, PC_SYM_FOLLOW | PC_NULLEMPTY,
- (opt & FE_DLL) ? dll_suffixes : exe_suffixes);
+ (opt & FE_DLL) ? stat_suffixes : exe_suffixes);
if (buf.isdir ())
{