diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-08-28 12:14:49 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-08-28 12:14:49 -0400 |
commit | dff50e09fea194433e15aa6137c835cedcf94a58 (patch) | |
tree | 6c66841f4396dbeae937133abac8ed51e1ef68ce /util.cxx | |
parent | 57148ee74505bdc3f33746563a998a9832924a41 (diff) | |
download | systemtap-steved-dff50e09fea194433e15aa6137c835cedcf94a58.tar.gz systemtap-steved-dff50e09fea194433e15aa6137c835cedcf94a58.tar.xz systemtap-steved-dff50e09fea194433e15aa6137c835cedcf94a58.zip |
trailing whitespace removal, as approved by emacs
(add-hook 'before-save-hook 'delete-trailing-whitespace)
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; |