[PATCH 3/9] posix: Allow glob to match dangling symlinks [BZ #866]

Paul Eggert eggert@cs.ucla.edu
Mon Sep 11 18:03:00 GMT 2017


On 09/11/2017 10:56 AM, Zack Weinberg wrote:
> So here's an alternative, less thorough but perhaps also less costly
> approach: when GLOB_ALTDIRFUNCS is set, call both gl_stat and gl_lstat
> on the first name that's going to be returned, even if we have no
> other reason to do this.
Something like that would be better, yes. Still not sure it's worth the 
trouble. We don't know how expensive gl_stat and gl_lstat will be, in 
general.



More information about the Libc-alpha mailing list