* 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>
|
2013-07-19 Christopher Faylor <me.cygwin2013@cgf.cx>
|
||||||
|
|
||||||
* common.din: Export GetCommandLine{A,W}.
|
* common.din: Export GetCommandLine{A,W}.
|
||||||
|
|
|
@ -31,8 +31,8 @@ main ()
|
||||||
|
|
||||||
if (!nexts)
|
if (!nexts)
|
||||||
nexts = strchr (s, '\0');
|
nexts = strchr (s, '\0');
|
||||||
else
|
else if (*++nexts)
|
||||||
nexts += strspn (nexts + 1, SP);
|
nexts += strspn (nexts, SP);
|
||||||
|
|
||||||
GetStartupInfo (&si);
|
GetStartupInfo (&si);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue