Alexandre Julliard : wine.inf: Store extensions in lower case in PATHEXT.

Alexandre Julliard julliard at winehq.org
Mon Mar 29 16:00:04 CDT 2021


Module: wine
Branch: master
Commit: b28c8b69b3ee51653be5c3675a6616ae0156ee7c
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=b28c8b69b3ee51653be5c3675a6616ae0156ee7c

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Mar 29 18:42:07 2021 +0200

wine.inf: Store extensions in lower case in PATHEXT.

This is less likely to require a case-insensitive search.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 loader/wine.inf.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/loader/wine.inf.in b/loader/wine.inf.in
index de39c6223af..45ba4fabfa1 100644
--- a/loader/wine.inf.in
+++ b/loader/wine.inf.in
@@ -641,7 +641,7 @@ HKLM,%Control%\Session Manager,HeapSegmentCommit,0x00040002,0
 HKLM,%Control%\Session Manager,HeapSegmentReserve,0x00040002,0
 HKLM,%Control%\Session Manager\Environment,"ComSpec",0x00020000,"%SystemRoot%\system32\cmd.exe"
 HKLM,%Control%\Session Manager\Environment,"PATH",0x00020002,"%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\wbem;%SystemRoot%\system32\WindowsPowershell\v1.0"
-HKLM,%Control%\Session Manager\Environment,"PATHEXT",,".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH"
+HKLM,%Control%\Session Manager\Environment,"PATHEXT",,".com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh"
 HKLM,%Control%\Session Manager\Environment,"TEMP",0x00020002,"%SystemRoot%\temp"
 HKLM,%Control%\Session Manager\Environment,"TMP",0x00020002,"%SystemRoot%\temp"
 HKLM,%Control%\Session Manager\Environment,"windir",0x00020000,"%SystemRoot%"




More information about the wine-cvs mailing list