Port parts of the code to C89 to minimize the need for c99-to-c89.diff,
commit17a7d2c81b0085c1f4b2879f2da9c1cdb7e6bb1b
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 26 Nov 2006 10:02:48 +0000 (26 11:02 +0100)
committerJim Meyering <jim@meyering.net>
Sun, 26 Nov 2006 16:40:38 +0000 (26 17:40 +0100)
treef03284b2a477251a9aead5a606f7c63696949299
parenta23c91026d542709fa28163e9072be191ff44157
Port parts of the code to C89 to minimize the need for c99-to-c89.diff,

while trying to retain the readability of C99 as much as possible.
* src/remove.c (close_preserve_errno): Remove.
(fd_to_subdirp): Rewrite to avoid the need for decl after statement.

Signed-off-by: Paul Eggert <eggert@cs.ucla.edu>
ChangeLog
src/remove.c