aboutsummaryrefslogtreecommitdiffstats
path: root/pseudo_util.c
diff options
context:
space:
mode:
authorPeter Seebach <seebs@eee12.(none)>2010-06-29 16:30:30 -0500
committerPeter Seebach <seebs@eee12.(none)>2010-06-29 16:30:30 -0500
commit973e40da8e5abb080cc0b9c9eaff4d84dea5b42c (patch)
treeab922a44cfd080da23503116a067e88884bb8ff7 /pseudo_util.c
parentb0f4b226232563412dd8129eb6a74bb0d52106dc (diff)
downloadpseudo-973e40da8e5abb080cc0b9c9eaff4d84dea5b42c.tar.gz
pseudo-973e40da8e5abb080cc0b9c9eaff4d84dea5b42c.tar.bz2
pseudo-973e40da8e5abb080cc0b9c9eaff4d84dea5b42c.zip
Whoops, remove a couple of extra debugging messages.
Diffstat (limited to 'pseudo_util.c')
-rw-r--r--pseudo_util.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/pseudo_util.c b/pseudo_util.c
index 5379c11..48cf20d 100644
--- a/pseudo_util.c
+++ b/pseudo_util.c
@@ -468,9 +468,6 @@ pseudo_dropenv(char * const *environ) {
/* don't keep an empty value */
if (strcmp(new_val, "LD_PRELOAD=")) {
new_environ[j++] = new_val;
- pseudo_diag("LD_PRELOAD: <%s>\n", new_environ[j - 1]);
- } else {
- pseudo_diag("dropping empty LD_PRELOAD\n");
}
}
} else {
@@ -517,9 +514,7 @@ pseudo_setupenv(char * const *environ, char *opts) {
j = 0;
for (i = 0; environ[i]; ++i) {
if (!memcmp(environ[i], "LD_PRELOAD=", 11)) {
- pseudo_diag("modifying existing LD_PRELOAD\n");
newenv = with_libpseudo(environ[i]);
- pseudo_diag("LD_PRELOAD: <%s>\n", newenv);
if (!newenv) {
pseudo_diag("fatal: can't allocate new environment variable.\n");
return NULL;
@@ -559,13 +554,7 @@ pseudo_setupenv(char * const *environ, char *opts) {
new_environ[j++] = newenv;
}
if (!found_preload) {
- pseudo_diag("creating new LD_PRELOAD\n");
- newenv = "LD_PRELOAD=libpseudo.so";
- pseudo_diag("newenv: %s\n", newenv);
- if (!newenv) {
- pseudo_diag("fatal: can't allocate new environment variable.\n");
- }
- new_environ[j++] = newenv;
+ new_environ[j++] = "LD_PRELOAD=libpseudo.so";
}
if (!found_debug && max_debug_level > 0) {
len = 16;