[Bug 21758] New: another CommandLineToArgvW bug with empty lpCmdLine
http://bugs.winehq.org/show_bug.cgi?id=21758 Summary: another CommandLineToArgvW bug with empty lpCmdLine Product: Wine Version: 1.1.38 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: shell32 AssignedTo: wine-bugs(a)winehq.org ReportedBy: pleasenospam325(a)mail.ru CommandLineToArgvW() with empty lpCmdLine truncates result to 6 characters. http://source.winehq.org/git/wine.git/?a=blob;f=dlls/shell32/shell32_main.c;... Looks like some bug in GetModuleFileName() was fixed and this broke CommandLineToArgvW Test: (builds with mingw) ************************************* #include <windows.h> #include <stdio.h> int main() { int i, numargs; for (i = 0; i < numargs; i++) { printf("argv[%d]: %S\n", i, CommandLineToArgvW(L"", &numargs)[i]); } return 0; } ************************************* result: ************************************* [il(a)archvm ~]$ pwd /home/il [il(a)archvm ~]$ wine commandlinetoargv.exe argv[0]: Z:\hom [il(a)archvm ~]$ -- 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=21758 --- Comment #1 from leniviy <pleasenospam325(a)mail.ru> 2010-02-18 07:23:30 --- Created an attachment (id=26293) --> (http://bugs.winehq.org/attachment.cgi?id=26293) test sorry for bad code: I always notice bugs in my code AFTER pressing the "send" button. -- 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=21758 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase -- 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=21758 Ilya Basin <basinilya(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |basinilya(a)gmail.com -- 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=21758 leniviy <pleasenospam325(a)mail.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #2 from leniviy <pleasenospam325(a)mail.ru> 2010-11-04 03:56:22 CDT --- fixed in 1.3 -- 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=21758 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> 2010-11-12 13:35:01 CST --- Closing bugs fixed in 1.3.7. -- 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