* lib/libcmain.c (main): Don't point to last quoted character if the only thing
in the buffer is the program name.
This commit is contained in:
parent
4741932459
commit
132e0f0182
|
@ -1,3 +1,8 @@
|
|||
2013-07-19 Christopher Faylor <me.cygwin2013@cgf.cx>
|
||||
|
||||
* lib/libcmain.c (main): Don't point to last quoted character if the
|
||||
only thing in the buffer is the program name.
|
||||
|
||||
2013-07-19 Christopher Faylor <me.cygwin2013@cgf.cx>
|
||||
|
||||
* common.din: Export GetCommandLine{A,W}.
|
||||
|
|
|
@ -31,8 +31,8 @@ main ()
|
|||
|
||||
if (!nexts)
|
||||
nexts = strchr (s, '\0');
|
||||
else
|
||||
nexts += strspn (nexts + 1, SP);
|
||||
else if (*++nexts)
|
||||
nexts += strspn (nexts, SP);
|
||||
|
||||
GetStartupInfo (&si);
|
||||
|
||||
|
|
Loading…
Reference in New Issue