git.samba.org
/
abartlet
/
samba.git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move sys_symlink() to libreplace.
[abartlet/samba.git/.git]
/
lib
/
replace
/
replace.c
diff --git
a/lib/replace/replace.c
b/lib/replace/replace.c
index 00a205d4723deca3e738d7379ec110d1aa561417..37705b93cd6efafda26e216a2735c3369f9dec8f 100644
(file)
--- a/
lib/replace/replace.c
+++ b/
lib/replace/replace.c
@@
-642,3
+642,11
@@
int rep_readlink(const char *path, char *buf, size_t bufsiz)
return -1;
}
#endif
+
+#ifndef HAVE_SYMLINK
+int rep_symlink(const char *oldpath, const char *newpath)
+{
+ errno = ENOSYS;
+ return -1;
+}
+#endif