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 /lib/replace/replace.c | |
parent | 38d67363aca81b970717c58b07e04396ae9dfd9f (diff) | |
download | samba-a6d537bb6cec25eb27cf8884ca5e3362a86818b3.tar.gz |
Move sys_realpath() to libreplace.
Diffstat (limited to 'lib/replace/replace.c')
-rw-r--r-- | lib/replace/replace.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/replace/replace.c b/lib/replace/replace.c index f4faef992ae..d757a0154e7 100644 --- a/lib/replace/replace.c +++ b/lib/replace/replace.c @@ -658,3 +658,14 @@ int rep_lchown(const char *fname,uid_t uid,gid_t gid) return -1; } #endif + +#ifndef HAVE_REALPATH +char *rep_realpath(const char *path, char *resolved_path) +{ + /* As realpath is not a system call we can't return ENOSYS. */ + errno = EINVAL; + return NULL; +} +#endif + + |