diff options
author | Dave Brolley <brolley@redhat.com> | 2008-08-29 16:10:01 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2008-08-29 16:10:01 -0400 |
commit | 0cbf1fef13d340b4a6d01fe7242a6d0c098e8d6c (patch) | |
tree | add6c27ae60763af4c4a1aa90db7f65e465759e3 /util.cxx | |
parent | d1f2fc72bf8506d0ac166cddb07576c7c4a1fea6 (diff) | |
parent | 8d142c018986acb256a08c1232f4f5ff0ee063df (diff) | |
download | systemtap-steved-0cbf1fef13d340b4a6d01fe7242a6d0c098e8d6c.tar.gz systemtap-steved-0cbf1fef13d340b4a6d01fe7242a6d0c098e8d6c.tar.xz systemtap-steved-0cbf1fef13d340b4a6d01fe7242a6d0c098e8d6c.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Conflicts:
ChangeLog
Diffstat (limited to 'util.cxx')
-rw-r--r-- | util.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -173,7 +173,7 @@ find_executable(const char *name, string& retpath) if (!p) return false; path = p; - + // Split PATH up. tokenize(path, dirs, string(":")); @@ -215,8 +215,8 @@ const string cmdstr_quoted(const string& cmd) string::size_type pos = 0; quoted_cmd += quote; - for (string::size_type quote_pos = cmd.find(quote, pos); - quote_pos != string::npos; + for (string::size_type quote_pos = cmd.find(quote, pos); + quote_pos != string::npos; quote_pos = cmd.find(quote, pos)) { quoted_cmd += cmd.substr(pos, quote_pos - pos); quoted_cmd += replace; |