2015-02-10 19:28 GMT+01:00 László Böszörményi (GCS) <g...@debian.org>: >> Then I will need a little help, please: can you debug what happens >> when patch tries to traverse_path() "dir/foo/bar"? It should try to >> openat() subdirectory "foo" in "dir", the openat() should fail with >> errno == ELOOP, and patch should terminate. But maybe FreeBSD returns >> some other errno like ENOTDIR.
Ah, there we have it: Portability problems not fixed by Gnulib: @itemize @item @code{openat (fd, "symlink", O_NOFOLLOW ...)} fails with @code{errno} set to @code{EMLINK} instead of the POSIX-required @code{ELOOP} on some platforms: FreeBSD 10.1. @item @code{openat (fd, "symlink", O_NOFOLLOW ...)} fails with @code{errno} set to @code{EFTYPE} instead of the POSIX-required @code{ELOOP} on some platforms: NetBSD 6.1. @end itemize I've committed a fix and made another snapshot; could you please retry? ftp://alpha.gnu.org/gnu/patch/patch-2.7.4.7-8d12.tar.gz Thanks, Andreas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org