On 04/26/2011 05:35 PM, Eric Blake wrote:
> On Linux, with a forced ac_cv_func_fchdir=no, the test failed
> because dup2 was not replaced, all because the shell variable
> ac_cv_func_dup2 had not been set yet.
> 
> Meanwhile, computing the canonical pathname of a directory on
> mingw was rather expensive -- multiple chdir()! -- but nothing
> cared whether the name was canonical, just that it was absolute.
> 
> * modules/fchdir (Depends-on): Add dosname, filenamecat-lgpl,
> getcwd-lgpl.
> * lib/fchdir.c (get_name): Any absolute name will do; it does not
> have to be canonical.
> * m4/dup2.m4 (gl_REPLACE_DUP2): Ensure dup2 is replaced.

I've gone ahead and pushed this, after making one more cleanup (the code
no longer needed to define HAVE_CANONICALIZE_FILE_NAME).

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to