search for: dangling_symlink

Displaying 1 result from an estimated 1 matches for "dangling_symlink".

2019 Sep 09
0
[PATCH] autoconf tweaks for C99 compilers
...C_DEFINE(HAVE_SYS_FALLOCATE, 1, [Define to 1 if you have the SYS_fallocate syscall number]) @@ -703,7 +707,7 @@ AC_CACHE_CHECK([whether chown() modifies symlinks],rsync_cv_chown_modifies_symli #endif #include <stdlib.h> #include <errno.h> - main() { + int main() { char const *dangling_symlink = "conftest.dangle"; unlink(dangling_symlink); if (symlink("conftest.no-such", dangling_symlink) < 0) abort(); @@ -722,7 +726,7 @@ AC_CACHE_CHECK([whether link() can hard-link symlinks],rsync_cv_can_hardlink_sym #include <stdlib.h> #include <errno.h> #defin...