diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:35:58 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:35:58 +0100 |
commit | e8cda43e171c1aa8f4b858228e715290d400691c (patch) | |
tree | 38f8fec8ef93ba577920e3d8abf276771ba6caf5 /source3/lib | |
parent | dbda9adfaf388f62cf359ea728ae303d81df81a9 (diff) | |
download | samba-e8cda43e171c1aa8f4b858228e715290d400691c.tar.gz samba-e8cda43e171c1aa8f4b858228e715290d400691c.tar.bz2 samba-e8cda43e171c1aa8f4b858228e715290d400691c.zip |
Move sys_symlink() to libreplace.
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/system.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c index ac64954107..e2ed11d450 100644 --- a/source3/lib/system.c +++ b/source3/lib/system.c @@ -581,20 +581,6 @@ char *sys_getwd(char *s) } /******************************************************************* -system wrapper for symlink -********************************************************************/ - -int sys_symlink(const char *oldpath, const char *newpath) -{ -#ifndef HAVE_SYMLINK - errno = ENOSYS; - return -1; -#else - return symlink(oldpath, newpath); -#endif -} - -/******************************************************************* Wrapper for lchown. ********************************************************************/ |