diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-19 16:46:14 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-19 16:46:14 +0200 |
commit | 2332b01980f652d4b4008ecfc642b2e054b84a00 (patch) | |
tree | 4e4b85ef5dda3c9511e4a8ceecc037b75eccbca2 | |
parent | 5368b089d519764f076164d190e9c0f716e3b27b (diff) | |
download | abrt-2332b01980f652d4b4008ecfc642b2e054b84a00.tar.gz abrt-2332b01980f652d4b4008ecfc642b2e054b84a00.tar.xz abrt-2332b01980f652d4b4008ecfc642b2e054b84a00.zip |
putenv("TERM=dumb") was causing a SEGV for Nikola, removing it
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | lib/Plugins/CCpp.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Plugins/CCpp.cpp b/lib/Plugins/CCpp.cpp index cf25c73f..14d321b0 100644 --- a/lib/Plugins/CCpp.cpp +++ b/lib/Plugins/CCpp.cpp @@ -170,7 +170,9 @@ static void GetBacktrace(const char *pDebugDumpDir, // Workaround for // http://sourceware.org/bugzilla/show_bug.cgi?id=9622 unsetenv("TERM"); - putenv((char*)"TERM=dumb"); + // This is not necessary, and was observed to cause + // environmant corruption (because we run in a thead?): + //putenv((char*)"TERM=dumb"); char *args[21]; args[0] = (char*)"gdb"; |