From: Jim Meyering Date: Thu, 29 Aug 2002 10:13:57 +0000 (+0000) Subject: (remove_cwd_entries): Use closedir (not CLOSEDIR) when ignoring any return value. X-Git-Tag: v4.5.1~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f8ece552f7725fadb804150aaf9dfdb6816edb6;p=thirdparty%2Fcoreutils.git (remove_cwd_entries): Use closedir (not CLOSEDIR) when ignoring any return value. --- diff --git a/src/remove.c b/src/remove.c index 15ea10d2fe..11df3fa546 100644 --- a/src/remove.c +++ b/src/remove.c @@ -823,7 +823,7 @@ remove_cwd_entries (char **subdir, struct stat *subdir_sb, { /* Save/restore errno across closedir call. */ int e = errno; - CLOSEDIR (dirp); + closedir (dirp); errno = e; /* Arrange to give a diagnostic after exiting this loop. */