diff options
author | Tim Moore <timoore@redhat.com> | 2009-12-08 23:34:25 +0100 |
---|---|---|
committer | Tim Moore <timoore@redhat.com> | 2009-12-08 23:34:25 +0100 |
commit | f4ba7c13533b7e99edd0e66a0f6ccd6c0f55ec38 (patch) | |
tree | 3fdabe20037596c869776f1bff6c4bd3b8e058f0 /util.h | |
parent | 8cabc8bcdcd22e8726734f1a18f23ed7d9c19e9f (diff) | |
parent | 63b4fd1474ec5859fac4c9b710c8f466bcd3b0f7 (diff) | |
download | systemtap-steved-f4ba7c13533b7e99edd0e66a0f6ccd6c0f55ec38.tar.gz systemtap-steved-f4ba7c13533b7e99edd0e66a0f6ccd6c0f55ec38.tar.xz systemtap-steved-f4ba7c13533b7e99edd0e66a0f6ccd6c0f55ec38.zip |
Merge commit 'origin/master'
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -15,7 +15,8 @@ int remove_file_or_dir(const char *dir); bool in_group_id (gid_t target_gid); void tokenize(const std::string& str, std::vector<std::string>& tokens, const std::string& delimiters); -std::string find_executable(const std::string& name); +std::string find_executable(const std::string& name, + const std::string& env_path = "PATH"); const std::string cmdstr_quoted(const std::string& cmd); std::string git_revision(const std::string& path); int stap_system(int verbose, const std::string& command); |