Re: fchdir fixes

2009-12-09 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 12/9/2009 4:11 AM: > Eric Blake wrote: >> ... a link failure on rpl_fstat. >> ... >> * lib/fchdir.c (rpl_fstat): Always provide if fchdir replacement >> is in use. > > If !REPLACE_OPEN_DIRECTORY the rpl_fstat does nothing

Re: fchdir fixes

2009-12-09 Thread Bruno Haible
Eric Blake wrote: > ... a link failure on rpl_fstat. > ... > * lib/fchdir.c (rpl_fstat): Always provide if fchdir replacement > is in use. If !REPLACE_OPEN_DIRECTORY the rpl_fstat does nothing else than to call fstat. We don't need rpl_fstat in this case. I'm applying this optimization. I've verif

Re: fchdir fixes

2009-12-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 12/8/2009 7:51 AM: > Eric Blake wrote: >> fchdir is working on mingw, which is about the only modern portability >> target that lacks fchdir, but it is sure easier to test on other platforms >> than mingw. >> Subject: [PATC

Re: fchdir fixes

2009-12-08 Thread Jim Meyering
Eric Blake wrote: > fchdir is working on mingw, which is about the only modern portability > target that lacks fchdir, but it is sure easier to test on other platforms > than mingw. So before making rpl_fcntl (and having it call > _gl_register_dup at the right places), I decided to try './configur