summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-01-19 16:17:31 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-01-19 16:17:31 (GMT)
commit62ffc078c2a393c0563dada1a83016ad4b0a06e0 (patch)
tree24b7066cca89ff3deb4e6f52b3e97fbabca44915 /PCbuild
parent773feaf5298717693edd43fd5c30ad1bcd1d6e6f (diff)
downloadcpython-62ffc078c2a393c0563dada1a83016ad4b0a06e0.zip
cpython-62ffc078c2a393c0563dada1a83016ad4b0a06e0.tar.gz
cpython-62ffc078c2a393c0563dada1a83016ad4b0a06e0.tar.bz2
Pass unquoted string to stat.
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/make_buildinfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/PCbuild/make_buildinfo.c b/PCbuild/make_buildinfo.c
index 798967a..0b28ade 100644
--- a/PCbuild/make_buildinfo.c
+++ b/PCbuild/make_buildinfo.c
@@ -37,11 +37,11 @@ int make_buildinfo2()
type != REG_SZ)
/* Registry corrupted */
return 0;
- strcat(command, "bin\\subwcrev.exe\"");
- if (_stat(command, &st) < 0)
+ strcat(command, "bin\\subwcrev.exe");
+ if (_stat(command+1, &st) < 0)
/* subwcrev.exe not part of the release */
return 0;
- strcat(command, " .. ..\\Modules\\getbuildinfo.c getbuildinfo2.c");
+ strcat(command, "\" .. ..\\Modules\\getbuildinfo.c getbuildinfo2.c");
puts(command); fflush(stdout);
if (system(command) < 0)
return 0;