diff options
author | fche <fche> | 2005-10-18 17:59:17 +0000 |
---|---|---|
committer | fche <fche> | 2005-10-18 17:59:17 +0000 |
commit | ce3187ac2f3f71f348fd7d4694b49c44f42337f3 (patch) | |
tree | ae3961d2c5a2f986fdc7846b4a95b2233031a462 /translate.cxx | |
parent | 2508b230c643707830bfc491c1606fe6d81bc92d (diff) | |
download | systemtap-steved-ce3187ac2f3f71f348fd7d4694b49c44f42337f3.tar.gz systemtap-steved-ce3187ac2f3f71f348fd7d4694b49c44f42337f3.tar.xz systemtap-steved-ce3187ac2f3f71f348fd7d4694b49c44f42337f3.zip |
2005-10-18 Frank Ch. Eigler <fche@redhat.com>
PR 1477.
* main.cxx (main): Set PATH and LC_ALL, so
* buildrun.cxx (compile_pass, run_pass): ... and ...
* translate.cxx (emit_symbol_data): ... don't have to.
Diffstat (limited to 'translate.cxx')
-rw-r--r-- | translate.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/translate.cxx b/translate.cxx index 5e9621cc..1d7ed7ac 100644 --- a/translate.cxx +++ b/translate.cxx @@ -2381,13 +2381,13 @@ emit_symbol_data (systemtap_session& s) // symbols only), a task that we defer to grep(1) and sort(1). It // may be useful to cache the symbols.sorted file, perhaps indexed // by md5sum(/proc/modules), but let's not until this simple method - // proves too costly. All that LC_ALL=C stuff is there to avoid the + // proves too costly. LC_ALL=C is already set to avoid the // excessive penalty of i18n code in some glibc/coreutils versions. string sorted_kallsyms = s.tmpdir + "/symbols.sorted"; - string sortcmd = "/bin/env LC_ALL=C /bin/grep \" [tT] \" /proc/kallsyms | "; + string sortcmd = "grep \" [tT] \" /proc/kallsyms | "; - sortcmd += "/bin/env LC_ALL=C /bin/sort "; + sortcmd += "sort "; #if __LP64__ sortcmd += "-k 1,16 "; #else |