mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* win32/win32.c (CreateChild): push back the last space before next
loop because CharNext() eats it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9c926fb401
commit
0412ddfd24
2 changed files with 6 additions and 1 deletions
|
@ -931,7 +931,7 @@ CreateChild(const char *cmd, const char *prog, SECURITY_ATTRIBUTES *psa,
|
|||
if (ISSPACE(*prog)) {
|
||||
len = prog - cmd;
|
||||
do ++prog; while (ISSPACE(*prog));
|
||||
if (!*prog) break;
|
||||
if (!*prog--) break;
|
||||
}
|
||||
else {
|
||||
len = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue