I'd be interested in the strace of ln -P -L symlink3 hard-to-a as well as 'grep LINK_FOLLOWS config.log'. It may be that the new gnulib linkat module can still work around this. -- Eric Blake
Right I was just looking at this. I think it's an issue with the test rather than ln, so you're right in it not requiring a fix. Saying that though, we should probably at some stage skip that part of
Bingo. For FC5, I need to implement rpl_linkat in gnulib, which mimics the link_follow fallback used on systems that lack linkat altogether, if linkat (,AT_SYMLINK_FOLLOW) fails with EINVAL. And prob
0xbfee893c) = 0 1024) = -1 4294967196) = -1 EINVAL Cute - those two lines match between the two straces, but the second trace doesn't know about the linkat syscall, and tries to interpret it as a con
According to Pádraig Brady on 10/5/2009 3:53 PM: This should fix it. I don't have access to FC5, but I tested the new code path by priming the cache (gl_cv_func_linkat_follow=runtime ./configure) al
I'm ready to release today, and that failure is far enough out on the fringe that I have no qualms. This makes two known bugs. The fix for the other will be always-required l?getfilecon wrappers to a
Wow, that was quick. Thanks. I should have read this first. I was just reviewing the changes in gnulib and see a few that should be included in the imminent coreutils beta release, so will probably t
Needs a couple of tweaks.. This needs to be added to linkat.c (seems like it should be refactored somewhere?) Also a minor nit in s/Linux/Gnu\/Linux/ After that the test passes. cheers, Pádraig.
This should do it: * lib/linkat.c: Include <stdint.h> for use of SIZE_MAX. -- ChangeLog | 5 +++++ lib/linkat.c | 1 + 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLo
That works thanks. I suppose these should include stdint.h also? areadlink.c:# define SIZE_MAX ((size_t) -1) areadlink-with-size.c:# define SIZE_MAX ((size_t) -1) backupfile.c:# define SIZE_MAX ((siz
Note that stdint.h may not be sufficient to get SIZE_MAX, quoting size_max.h: /* Get SIZE_MAX declaration on systems like Solaris 7/8/9. */ include <limits.h> /* Get SIZE_MAX declaration on systems l
Further looking shows that: findutils' listfile.c currently uses a home-rolled get_link_name_at which blindly changes the working directory, and calls xalloc_die on allocation failure. Perfect candid
There are still at least two known test failures on FreeBSD 6.1, but this snapshot should compile on many more non-GNU/Linux systems than coreutils-8.0 did. coreutils snapshot: http://meyering.net/cu
We're expecting to release coreutils-8.1 soon (like before the end of the week), so here's a snapshot of the latest. This includes many improvements in gnulib, too. For the latest NEWS (it's getting