http://bugs.winehq.org/show_bug.cgi?id=17956
--- Comment #20 from Emmanuel Anne emmanuel.anne@gmail.com 2012-07-09 12:22:57 CDT --- (In reply to comment #19)
Patches should be sent to wine-patches@winehq.org, they aren't picked up from bugzilla.
Ok, thanks, I didn't even know that, I'll send them...
I'm not a programmer at all, so can't decide whether your patches are correct or not, but I found a problem with your patches: creating a new .wine directory when using the WINEPREFIX environment variable fails in such a way: err:process:init_windows_dirs directory L"C:\windows" could not be created, error 2 err:process:init_windows_dirs directory L"C:\windows\system32" could not be created, error 3 err:process:init_windows_dirs directory L"C:\windows" could not be created, error 2 err:process:init_windows_dirs directory L"C:\windows\system32" could not be created, error 3 err:wineboot:main Cannot set the dir to L"C:\windows" (2) ....
Well I wasn't able to reproduce that : manu@athlon64:pts/0~ export WINEPREFIX=/home/drive_c/wine manu@athlon64:pts/0~ winecfg wine: created the configuration directory '/home/drive_c/wine' fixme:urlmon:DownloadBSC_OnProgress Unsupported status 3 fixme:wininet:InternetLockRequestFile STUB err:process:__wine_kernel_init boot event wait timed out manu@athlon64:pts/0~
it just asked to download mono, but after that it worked fine, and the windows dir is there, with everything in lower case inside. The timeout reported is because my internet connection is extremely slow right now, so the configuration dialog appeared before the download was over, but it worked. Just to be sure I ran notepad from the new windows directory without problem.
On the other hand, your patches fix bug #3817 and bug #18101 (which could be a duplicate of bug #13560) for me.
Cool !