strange code

Andreas Mohr a.mohr at
Mon Aug 27 15:42:20 CDT 2001

Hi all,

in PROFILE_LoadWineIni(), we return from processing in case we're not
the boot thread only *after* having created HKLM\\Software\\Wine\\Wine
registry keys:

    if (!CLIENT_IsBootThread()) return 1;  /* already loaded */
Why ?? After all the registry is globally shared in
wineserver, so it shouldn't be necessary to create them again
via NtCreateKey if we're not the wine boot process.

Am I right ?

Andreas Mohr                        Stauferstr. 6, D-71272 Renningen, Germany
Tel. +49 7159 800604      

More information about the wine-devel mailing list