Mercurial > hg > octave-lojdl > gnulib-hg
changeset 12168:7ea363404f65
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>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Tue, 13 Oct 2009 09:25:30 -0600 |
parents | c314d472dca7 |
children | d9a855dec815 |
files | ChangeLog lib/fchdir.c |
diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-10-14 Eric Blake <ebb9@byu.net> + fchdir: avoid infinite recursion in mingw + * lib/fchdir.c (rpl_fstat): Call system fstat, rather than + recursing. + test-stat-time: port to mingw * tests/test-stat-time.c (force_unlink): Return a value. (test_ctime) [W32]: Fix compilation error.