mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Pass unquoted string to stat.
This commit is contained in:
parent
773feaf529
commit
62ffc078c2
1 changed files with 3 additions and 3 deletions
|
@ -37,11 +37,11 @@ int make_buildinfo2()
|
||||||
type != REG_SZ)
|
type != REG_SZ)
|
||||||
/* Registry corrupted */
|
/* Registry corrupted */
|
||||||
return 0;
|
return 0;
|
||||||
strcat(command, "bin\\subwcrev.exe\"");
|
strcat(command, "bin\\subwcrev.exe");
|
||||||
if (_stat(command, &st) < 0)
|
if (_stat(command+1, &st) < 0)
|
||||||
/* subwcrev.exe not part of the release */
|
/* subwcrev.exe not part of the release */
|
||||||
return 0;
|
return 0;
|
||||||
strcat(command, " .. ..\\Modules\\getbuildinfo.c getbuildinfo2.c");
|
strcat(command, "\" .. ..\\Modules\\getbuildinfo.c getbuildinfo2.c");
|
||||||
puts(command); fflush(stdout);
|
puts(command); fflush(stdout);
|
||||||
if (system(command) < 0)
|
if (system(command) < 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue