fchdir: avoid infinite recursion in mingw
authorEric Blake <ebb9@byu.net>
Tue, 13 Oct 2009 15:25:30 +0000 (09:25 -0600)
committerEric Blake <ebb9@byu.net>
Wed, 14 Oct 2009 12:25:56 +0000 (06:25 -0600)
commit1506e4147b4177990e6cde062536ea8bc63f9588
tree746fc88c739a978ffdec47b1b52221bbe3a7fe06
parent20bdd2f41cb9d43df6dd0cfe361ac73a0e8148f9
fchdir: avoid infinite recursion in mingw

rpl_fstat, needed only on mingw when using fchdir, should not call itself.

* lib/fchdir.c (rpl_fstat): Call system fstat, rather than
recursing.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/fchdir.c