summaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorhunt <hunt>2007-08-20 17:55:03 +0000
committerhunt <hunt>2007-08-20 17:55:03 +0000
commit8c711d30367365fa6a036e468eba4401d26131a3 (patch)
treee277133ca28d48b7fb841d6866953576ec9dd544 /util.h
parent322566b3574d9cb452e20f9b74bc0b7d3d9dcfe6 (diff)
downloadsystemtap-steved-8c711d30367365fa6a036e468eba4401d26131a3.tar.gz
systemtap-steved-8c711d30367365fa6a036e468eba4401d26131a3.tar.xz
systemtap-steved-8c711d30367365fa6a036e468eba4401d26131a3.zip
2007-08-20 Martin Hunt <hunt@redhat.com>
PR2424 From Lai Jiangshan <laijs@cn.fujitsu.com> * util.cxx (cmdstr_quoted): New. Properly quote command string. * buildrun.cxx (run_pass): Call cmdstr_quoted().
Diffstat (limited to 'util.h')
-rw-r--r--util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.h b/util.h
index f9c298ec..97fa7062 100644
--- a/util.h
+++ b/util.h
@@ -11,6 +11,7 @@ int create_dir(const char *dir);
void tokenize(const std::string& str, std::vector<std::string>& tokens,
const std::string& delimiters);
bool find_executable(const char *name, std::string& retpath);
+const std::string cmdstr_quoted(const std::string& cmd);
// stringification generics