diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:33:39 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:33:39 +0100 |
commit | dbda9adfaf388f62cf359ea728ae303d81df81a9 (patch) | |
tree | f6f75230432f02af3bcbffa59adc55e6b6c95244 /source3/lib | |
parent | bbbe6ab72284c78c095babd875070aaac8c477dd (diff) | |
download | samba-dbda9adfaf388f62cf359ea728ae303d81df81a9.tar.gz samba-dbda9adfaf388f62cf359ea728ae303d81df81a9.tar.bz2 samba-dbda9adfaf388f62cf359ea728ae303d81df81a9.zip |
Move sys_readlink() 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 cb3551c11e..ac64954107 100644 --- a/source3/lib/system.c +++ b/source3/lib/system.c @@ -595,20 +595,6 @@ int sys_symlink(const char *oldpath, const char *newpath) } /******************************************************************* -system wrapper for readlink -********************************************************************/ - -int sys_readlink(const char *path, char *buf, size_t bufsiz) -{ -#ifndef HAVE_READLINK - errno = ENOSYS; - return -1; -#else - return readlink(path, buf, bufsiz); -#endif -} - -/******************************************************************* Wrapper for lchown. ********************************************************************/ |