James Juran <[EMAIL PROTECTED]> writes:
> If wine.conf contains a bogus drive letter in the Path= section
> of [wine], our module loading will get messed up. DOSFS_GetFullName()
> will call SetLastError(), which will cause MODULE_LoadModuleExA to fail.
This is a bug that needs to be fixed. Checking the path at startup is
not enough, since files and directories can move around while Wine is
running.
> This patch makes us verify that each component of the path is valid
> before setting the PATH environment variable. This has the additional
> benefit of letting us warn users about problems in their configuration.
I'm not sure we want to add even more startup checks; startup times
are already long enough, and penalizing every session of every user on
the off-chance that someone has hacked his configuration file doesn't
seem like a good trade-off to me. I'd prefer that we put all these
checks into a separate tool and ask users to run it when things do not
work right.
--
Alexandre Julliard
[EMAIL PROTECTED]