diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:42:27 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:42:27 +0100 |
commit | a6d537bb6cec25eb27cf8884ca5e3362a86818b3 (patch) | |
tree | acac8aa6554cd6910ec00716b2b3e40bbe4b4fe4 /source3/lib | |
parent | 38d67363aca81b970717c58b07e04396ae9dfd9f (diff) | |
download | samba-a6d537bb6cec25eb27cf8884ca5e3362a86818b3.tar.gz |
Move sys_realpath() to libreplace.
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/system.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c index 27722fcab2c..da2797322ac 100644 --- a/source3/lib/system.c +++ b/source3/lib/system.c @@ -538,21 +538,6 @@ int sys_mknod(const char *path, mode_t mode, SMB_DEV_T dev) } /******************************************************************* - Wrapper for realpath. -********************************************************************/ - -char *sys_realpath(const char *path, char *resolved_path) -{ -#if defined(HAVE_REALPATH) - return realpath(path, resolved_path); -#else - /* As realpath is not a system call we can't return ENOSYS. */ - errno = EINVAL; - return NULL; -#endif -} - -/******************************************************************* The wait() calls vary between systems ********************************************************************/ |