Am Freitag, den 28.10.2005, 04:38 -0500 schrieb Alexandre Julliard:
> ChangeSet ID: 20901
> CVSROOT:      /opt/cvs-commit
> Module name:  wine
> Changes by:   [EMAIL PROTECTED]       2005/10/28 04:38:11
> 
> Modified files:
>       programs/winecfg: appdefaults.c 
> 
> Log message:
>       Vitaliy Margolen <[EMAIL PROTECTED]>
>       Define OS environment variable on WinNT versions.


The Patch requires, that I start winecfg and touch the OS-Version. 
When I do not start winecfg or do not touch/change the Default
"win2000", then "OS" is not correct.

Changing wine.inf can fix that for the Default Situation, but there are
still 2 unusual but possible Race-Conditions left:
- reinstall "wine.inf" while the OS-Version is <"NT"
- change the Default OS-Version with Regedit


-- 
By By ...
      ... Detlef
Index: tools/wine.inf
===================================================================
RCS file: /home/wine/wine/tools/wine.inf,v
retrieving revision 1.44
diff -u -r1.44 wine.inf
--- tools/wine.inf	19 Oct 2005 19:07:30 -0000	1.44
+++ tools/wine.inf	28 Oct 2005 19:20:08 -0000
@@ -176,6 +176,7 @@
 
 [Environment]
 HKLM,System\CurrentControlSet\Control\Session Manager\Environment,"ComSpec",,"%11%\wcmd.exe"
+HKLM,System\CurrentControlSet\Control\Session Manager\Environment,"OS",,"Windows_NT"
 HKLM,System\CurrentControlSet\Control\Session Manager\Environment,"PATH",,"%11%;%10%"
 HKLM,System\CurrentControlSet\Control\Session Manager\Environment,"ProgramFiles",,"%16422%"
 HKLM,System\CurrentControlSet\Control\Session Manager\Environment,"SYSTEMROOT",,"%10%"


Reply via email to