diff options
author | hunt <hunt> | 2007-08-20 17:55:03 +0000 |
---|---|---|
committer | hunt <hunt> | 2007-08-20 17:55:03 +0000 |
commit | 8c711d30367365fa6a036e468eba4401d26131a3 (patch) | |
tree | e277133ca28d48b7fb841d6866953576ec9dd544 /util.h | |
parent | 322566b3574d9cb452e20f9b74bc0b7d3d9dcfe6 (diff) | |
download | systemtap-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |