fts: fts_close now fails also when closing a dir file descriptor fails
authorJim Meyering <meyering@redhat.com>
Tue, 1 Sep 2009 09:18:07 +0000 (11:18 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 1 Sep 2009 09:28:59 +0000 (11:28 +0200)
commitd7702d8443dae6073597f2cc4fa49f85dfeaaed2
treeabdfac002a8d86a9b77844929869e881e5a59657
parenta96bd790af86ef28fbd95f619e390713587e2d8d
fts: fts_close now fails also when closing a dir file descriptor fails

* lib/fts.c (fts_close): Detect close failure, not just fchdir failure,
and propagate to caller, along with errno.
ChangeLog
lib/fts.c