|
From: Jeremy F. <je...@go...> - 2005-02-09 23:05:48
|
CVS commit by fitzhardinge:
Fix comments
M +3 -4 vg_main.c 1.247
--- valgrind/coregrind/vg_main.c #1.246:1.247
@@ -718,8 +718,7 @@ static Bool scan_colsep(char *colsep, Bo
/* Prepare the client's environment. This is basically a copy of our
environment, except:
- 1. LD_LIBRARY_PATH=$VALGRINDLIB:$LD_LIBRARY_PATH
- 2. LD_PRELOAD=$VALGRINDLIB/vg_inject.so:($VALGRINDLIB/vgpreload_TOOL.so:)?$LD_PRELOAD
+ LD_PRELOAD=$VALGRINDLIB/vg_inject.so:($VALGRINDLIB/vgpreload_TOOL.so:)?$LD_PRELOAD
- If any of these is missing, then it is added.
+ If this is missing, then it is added.
Yummy. String hacking in C.
@@ -1048,5 +1047,5 @@ static Addr setup_client_stack(void* ini
about LD_PRELOAD, etc. However, since stage1 (the thing
the kernel actually execve's) should never be SUID, and we
- need LD_PRELOAD/LD_LIBRARY_PATH to work for the client, we
+ need LD_PRELOAD to work for the client, we
set AT_SECURE to 0. */
auxv->u.a_val = 0;
|