> Date: Wed, 18 Mar 2015 13:19:46 -0700 > From: Paul Eggert <egg...@cs.ucla.edu> > CC: davidegray...@gmail.com, bug-gnulib@gnu.org > > On 03/18/2015 01:04 PM, Eli Zaretskii wrote: > > In this case, "work" means make that file descriptor become valid > > again. IOW, it should emulate what happens on Posix systems when > > opendir is called: a new file descriptor is allocated. > > Many POSIX systems do that, but POSIX doesn't require it
OK, but fdopendir's implementation clearly intends for this to happen, doesn't it? The fact that it doesn't was the reason for this bug report in the first place, AFAIU. So I think we should make that happen somehow, do you agree?