summaryrefslogtreecommitdiff
path: root/source3/smbwrapper
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-02-19 12:05:21 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-02-19 12:05:21 +0000
commit51521fab16c9982200c3c5cd829629a541eb6e29 (patch)
tree0d778cd2c944a691940c57434956687629c902e7 /source3/smbwrapper
parent39daab943dbf2f24d3d74fba5a8d76ef58b7dabf (diff)
downloadsamba-51521fab16c9982200c3c5cd829629a541eb6e29.tar.gz
samba-51521fab16c9982200c3c5cd829629a541eb6e29.tar.bz2
samba-51521fab16c9982200c3c5cd829629a541eb6e29.zip
Now we have setenv() in replace.c, we don't need a seperate copy here.
Andrew Bartlett (This used to be commit c4834c46902380455d2ea1dd62661224e8d4eb11)
Diffstat (limited to 'source3/smbwrapper')
-rw-r--r--source3/smbwrapper/smbsh.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/smbwrapper/smbsh.c b/source3/smbwrapper/smbsh.c
index f9697223c4..d853aa1afc 100644
--- a/source3/smbwrapper/smbsh.c
+++ b/source3/smbwrapper/smbsh.c
@@ -92,7 +92,7 @@ int main(int argc, char *argv[])
smbw_setshared("PASSWORD", p);
}
- smbw_setenv("PS1", "smbsh$ ");
+ setenv("PS1", "smbsh$ ");
sys_getwd(wd);
@@ -101,18 +101,18 @@ int main(int argc, char *argv[])
smbw_setshared(line, wd);
slprintf(line,sizeof(line)-1,"%s/smbwrapper.so", libd);
- smbw_setenv("LD_PRELOAD", line);
+ etenv("LD_PRELOAD", line);
slprintf(line,sizeof(line)-1,"%s/smbwrapper.32.so", libd);
if (file_exist(line, NULL)) {
slprintf(line,sizeof(line)-1,"%s/smbwrapper.32.so:DEFAULT", libd);
- smbw_setenv("_RLD_LIST", line);
+ setenv("_RLD_LIST", line);
slprintf(line,sizeof(line)-1,"%s/smbwrapper.so:DEFAULT", libd);
- smbw_setenv("_RLDN32_LIST", line);
+ setenv("_RLDN32_LIST", line);
} else {
slprintf(line,sizeof(line)-1,"%s/smbwrapper.so:DEFAULT", libd);
- smbw_setenv("_RLD_LIST", line);
+ setenv("_RLD_LIST", line);
}
{