* lib/fts.c (fts_read): Remove redundant call to close().
Spotted by coverity.
+2015-02-20 Jaroslav Skarvada <jskarvad@redhat.com>
+
+ fts: remove redundant close() (trivial)
+ * lib/fts.c (fts_read): Remove redundant call to close().
+ Spotted by coverity.
+
2015-02-20 Paul Eggert <eggert@cs.ucla.edu>
getdtablesize: port better for Android
}
} else if (p->fts_flags & FTS_SYMFOLLOW) {
if (FCHDIR(sp, p->fts_symfd)) {
- int saved_errno = errno;
- (void)close(p->fts_symfd);
- __set_errno (saved_errno);
p->fts_errno = errno;
SET(FTS_STOP);
}