summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-01 03:27:45 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-01 03:27:45 +0100
commit161d70a57ae8a17dcbc9c426bfff33c8c51318b7 (patch)
tree2f98456ae87db079c1348784e43ed2024f5580e9 /source3
parentdfc78b1dc2738264791e631c599d75e832aebde2 (diff)
downloadsamba-161d70a57ae8a17dcbc9c426bfff33c8c51318b7.tar.gz
samba-161d70a57ae8a17dcbc9c426bfff33c8c51318b7.tar.bz2
samba-161d70a57ae8a17dcbc9c426bfff33c8c51318b7.zip
Move sys_chown() to rep_chown().
Diffstat (limited to 'source3')
-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 eabb6d6dc4..7f5f572255 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -623,25 +623,6 @@ int sys_link(const char *oldpath, const char *newpath)
}
/*******************************************************************
-chown isn't used much but OS/2 doesn't have it
-********************************************************************/
-
-int sys_chown(const char *fname,uid_t uid,gid_t gid)
-{
-#ifndef HAVE_CHOWN
- static int done;
- if (!done) {
- DEBUG(1,("WARNING: no chown!\n"));
- done=1;
- }
- errno = ENOSYS;
- return -1;
-#else
- return(chown(fname,uid,gid));
-#endif
-}
-
-/*******************************************************************
Wrapper for lchown.
********************************************************************/