summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-01 03:39:20 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-01 03:39:20 +0100
commit38d67363aca81b970717c58b07e04396ae9dfd9f (patch)
tree7355807312f4d733e8dc33174b798aa742437295 /source3/lib
parente8cda43e171c1aa8f4b858228e715290d400691c (diff)
downloadsamba-38d67363aca81b970717c58b07e04396ae9dfd9f.tar.gz
samba-38d67363aca81b970717c58b07e04396ae9dfd9f.tar.bz2
samba-38d67363aca81b970717c58b07e04396ae9dfd9f.zip
Move sys_lchown() to libreplace.
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/system.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index e2ed11d450..27722fcab2 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -581,25 +581,6 @@ char *sys_getwd(char *s)
}
/*******************************************************************
- Wrapper for lchown.
-********************************************************************/
-
-int sys_lchown(const char *fname,uid_t uid,gid_t gid)
-{
-#ifndef HAVE_LCHOWN
- static int done;
- if (!done) {
- DEBUG(1,("WARNING: no lchown!\n"));
- done=1;
- }
- errno = ENOSYS;
- return -1;
-#else
- return(lchown(fname,uid,gid));
-#endif
-}
-
-/*******************************************************************
os/2 also doesn't have chroot
********************************************************************/
int sys_chroot(const char *dname)