]> Savannah Git Hosting - gnulib.git/commit
fdopendir: port better to MinGW
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 Mar 2015 19:11:07 +0000 (12:11 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 Mar 2015 19:13:27 +0000 (12:13 -0700)
commita277f536d9b33ebc24893d946fb8be14f23c9d00
tree0a0d1338ae8b86b854aeda3fcbdb44a31b649c14
parentb89aa0edea32ca947722bb845b41606f171c9895
fdopendir: port better to MinGW

* lib/fdopendir.c (fd_clone_opendir) [REPLACE_FCHDIR]:
Use 'dup' if dirfd fails.  Suggested by Eli Zaretskii in:
http://lists.gnu.org/archive/html/bug-gnulib/2015-03/msg00033.html
* modules/fdopendir (Depends-on): Add dirfd.
ChangeLog
lib/fdopendir.c
modules/fdopendir