diff options
| author | David Schultz <das@FreeBSD.org> | 2004-06-08 06:23:23 +0000 |
|---|---|---|
| committer | David Schultz <das@FreeBSD.org> | 2004-06-08 06:23:23 +0000 |
| commit | 1e03bff7f2b717d19e7624d42fb62a580c316ba5 (patch) | |
| tree | 0297c4442e33677adbc86b664e351ae5caab6d85 /lib/libc | |
| parent | 92a5b2ee713dc87bfb8b96e7257635cc7b32c489 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/gen/fts-compat.c | 2 | ||||
| -rw-r--r-- | lib/libc/gen/fts.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/lib/libc/gen/fts-compat.c b/lib/libc/gen/fts-compat.c index 0c5688093792..48f9e0bd49f4 100644 --- a/lib/libc/gen/fts-compat.c +++ b/lib/libc/gen/fts-compat.c @@ -710,8 +710,6 @@ fts_build(sp, type) cur->fts_flags |= FTS_DONTCHDIR; descend = 0; cderrno = errno; - (void)closedir(dirp); - dirp = NULL; } else descend = 1; } else diff --git a/lib/libc/gen/fts.c b/lib/libc/gen/fts.c index 0c5688093792..48f9e0bd49f4 100644 --- a/lib/libc/gen/fts.c +++ b/lib/libc/gen/fts.c @@ -710,8 +710,6 @@ fts_build(sp, type) cur->fts_flags |= FTS_DONTCHDIR; descend = 0; cderrno = errno; - (void)closedir(dirp); - dirp = NULL; } else descend = 1; } else |
