[Bug 2497] Issue with shlexec.c - Application Association addes "1" to end of file name

Wine Bugs wine-bugs at winehq.org
Wed Oct 13 13:25:56 CDT 2004


http://bugs.winehq.org/show_bug.cgi?id=2497





------- Additional Comments From traxtopel at fastmail.fm  2004-13-10 13:25 -------
A patch has been submitted which corrects this problem.
Please can this be included .. begs.

Oops, resend with the right patch.

Vitaliy Margolen

Wednesday, October 13, 2004, 5:58:22 AM, Vitaliy Margolen wrote:


>> Second char of argument identifier was getting into program name:
>> wine start http://yahoo.com
>> was executing:
>> winebrowser \"http://yahoo.com\"1


>> Vitaliy Margolen


>> changelog:
>>   dlls/shel32/shlexec.com
>>   fix parameter parsing



Index: dlls/shell32/shlexec.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/shlexec.c,v
retrieving revision 1.54
diff -u -r1.54 shlexec.c
--- dlls/shell32/shlexec.c	14 Sep 2004 20:14:09 -0000	1.54
+++ dlls/shell32/shlexec.c	13 Oct 2004 11:55:04 -0000
@@ -94,7 +94,8 @@
     {
         if (*fmt == '%')
         {
-            switch (*++fmt)
+	    fmt++;
+            switch (*fmt++)
             {
             case '\0':
             case '%':


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list