[Bug 11724] New: can't run bat from root of drive
http://bugs.winehq.org/show_bug.cgi?id=11724 Summary: can't run bat from root of drive Product: Wine Version: 0.9.31. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: pgr(a)arcelectronicsinc.com with cmd prompt trying to run a batch file from the root of c: when not at the root can't find the file 3232e61b9457d2003cfd76df614bf04c38a9bde5 is first bad commit commit 3232e61b9457d2003cfd76df614bf04c38a9bde5 Author: Jason Edmeades <us(a)edmeades.me.uk> Date: Mon Feb 26 23:04:16 2007 +0000 cmd.exe: Locate programs more correctly. Here is the console sequence that works before this commit. Note from a clean prefix add a small autoexec.bat file to c:\ paul(a)paul-semipron:~/Git/wine-git$ WINEPREFIX=~/.wineautotest ./wine cmd CMD Version 0.9.31 Z:\home\paul\Git\wine-git>c: c:\>cd windows c:\windows>c:\autoexec.bat File not found There is a second regression in the later code that when the above sequence is tried instead of file not found it gets into a loop and requires a ^C to recover the console. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11724 Paul Romanyszyn <pgr(a)arcelectronicsinc.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |us(a)edmeades.me.uk Keywords| |regression -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11724 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wine-bugs(a)winehq.org AssignedTo|wine-bugs(a)winehq.org |us(a)edmeades.me.uk --- Comment #1 from Jason Edmeades <us(a)edmeades.me.uk> 2008-02-25 04:47:39 --- I'll take a look... Just rebuilding my Linux box from scratch due to hardware failures but shouldnt be difficult to fix -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11724 --- Comment #2 from Paul Romanyszyn <pgr(a)arcelectronicsinc.com> 2008-02-25 09:34:51 --- It will be a while until I recompile the latest git but it appears Robert Shearman found and fixed two problems in the area. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11724 --- Comment #3 from Paul Romanyszyn <pgr(a)arcelectronicsinc.com> 2008-02-25 21:52:54 --- Current git unaffected by recent commits. Bisecting for second half of regression. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11724 --- Comment #4 from Paul Romanyszyn <pgr(a)arcelectronicsinc.com> 2008-02-28 11:04:01 --- Additional info. Because the first regression cause a file not found this commit 5704b4bec94688fac291bee1c75ccd76039107ed cmd.exe: Attempt to launch pgm even if fails to locate it Causes the process to keep trying to launch the program and requires a ^C to exit. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11724 --- Comment #5 from Jason Edmeades <us(a)edmeades.me.uk> 2008-03-03 14:37:40 --- will investigate -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11724 --- Comment #6 from Paul Romanyszyn <pgr(a)arcelectronicsinc.com> 2008-03-03 15:51:50 --- Created an attachment (id=11095) --> (http://bugs.winehq.org/attachment.cgi?id=11095) Adding a few debug traces I added a few debug traces and changes the start up search for \autoexec.bat to have a c:\autoexec.bat With the c:\ RtlGetFileName locates it. but when c:\autoexec.bat is enter on z: or the not root of c: it fails as follows trace:cmd:WCMD_process_commands Executing command: 'L"c:\\autoexec.bat"' trace:cmd:WCMD_execute command on entry:L"c:\\autoexec.bat" (0x34f5e0), with '(null)'='(null)' trace:cmd:WCMD_execute Command: 'L"c:\\autoexec.bat"' trace:cmd:WCMD_execute qual: L"", param1: L":\\autoexec.bat", param2: L"" trace:cmd:WCMD_run_program qual: L"", param1: L"c:\\autoexec.bat", param2: L"" trace:cmd:WCMD_run_program Explicit path?? trace:file:RtlGetFullPathName_U (L"c:\\autoexec.bat" 16384 0x34a768 (nil)) trace:cmd:WCMD_run_program Searching in 'L"C:"' for 'L"autoexec.bat"' trace:file:RtlGetFullPathName_U (L"C:" 520 0x34ec6c (nil)) I hope that help to narrow down where the problem is. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11724 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #7 from Jason Edmeades <us(a)edmeades.me.uk> 2008-03-03 15:57:33 --- try 2 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11724 --- Comment #8 from Jason Edmeades <us(a)edmeades.me.uk> 2008-03-03 16:35:12 --- Created an attachment (id=11096) --> (http://bugs.winehq.org/attachment.cgi?id=11096) Patch to fix this We're doing it at the same time :-) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11724 --- Comment #9 from Jason Edmeades <us(a)edmeades.me.uk> 2008-03-03 17:17:23 --- Patch sent in -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11724 --- Comment #10 from Paul Romanyszyn <pgr(a)arcelectronicsinc.com> 2008-03-03 17:42:04 --- Tested by added patch to current git and it works. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11724 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #11 from Jason Edmeades <us(a)edmeades.me.uk> 2008-03-06 14:14:51 --- fixed in git -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=11724 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #12 from Alexandre Julliard <julliard(a)winehq.org> 2008-03-07 11:28:45 --- Closing bugs fixed in 0.9.57. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org