diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:46:09 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:46:09 +0100 |
commit | 6a2caa34b24c2225dba9da011eaa5cc3eb8752be (patch) | |
tree | c9b5b333cfdc545b6526f7ead67f39a1017e25a1 /source3/lib | |
parent | c2a4db0c633f4cf01834c851efd07b7d891ce737 (diff) | |
download | samba-6a2caa34b24c2225dba9da011eaa5cc3eb8752be.tar.gz samba-6a2caa34b24c2225dba9da011eaa5cc3eb8752be.tar.bz2 samba-6a2caa34b24c2225dba9da011eaa5cc3eb8752be.zip |
Remove sys_chroot() - libreplace already provides an alternative.
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/system.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c index da2797322a..d23e7ae6db 100644 --- a/source3/lib/system.c +++ b/source3/lib/system.c @@ -565,24 +565,6 @@ char *sys_getwd(char *s) return wd; } -/******************************************************************* -os/2 also doesn't have chroot -********************************************************************/ -int sys_chroot(const char *dname) -{ -#ifndef HAVE_CHROOT - static int done; - if (!done) { - DEBUG(1,("WARNING: no chroot!\n")); - done=1; - } - errno = ENOSYS; - return -1; -#else - return(chroot(dname)); -#endif -} - #if defined(HAVE_POSIX_CAPABILITIES) /************************************************************************** |