|
From: <sv...@va...> - 2011-03-10 12:50:01
|
Author: bart
Date: 2011-03-10 12:49:50 +0000 (Thu, 10 Mar 2011)
New Revision: 11617
Log:
Process PDB files with a path that contains spaces properly.
Modified:
trunk/coregrind/m_debuginfo/readpdb.c
Modified: trunk/coregrind/m_debuginfo/readpdb.c
===================================================================
--- trunk/coregrind/m_debuginfo/readpdb.c 2011-03-10 12:36:09 UTC (rev 11616)
+++ trunk/coregrind/m_debuginfo/readpdb.c 2011-03-10 12:49:50 UTC (rev 11617)
@@ -2474,7 +2474,7 @@
+ 100/*misc*/;
HChar* cmd = ML_(dinfo_zalloc)("di.readpe.fnopf.cmd", cmdlen);
vg_assert(cmd);
- VG_(sprintf)(cmd, "%s -c \"%s %s | %s '\\.pdb|\\.PDB' >> %s\"",
+ VG_(sprintf)(cmd, "%s -c \"%s '%s' | %s '\\.pdb|\\.PDB' >> %s\"",
sh, strings, pename, egrep, tmpname);
vg_assert(cmd[cmdlen-1] == 0);
if (0) VG_(printf)("QQQQQQQQ: %s\n", cmd);
|