* lib/fdopendir.c (fd_clone_opendir): Move declaration for older
compilers.
+2010-10-26 Christian Weisgerber <naddy@mips.inka.de> (tiny change)
+
+ fdopendir: fix C89 compilation
+ * lib/fdopendir.c (fd_clone_opendir): Move declaration for older
+ compilers.
+
2010-10-23 Paul Eggert <eggert@cs.ucla.edu>
inttostr: simplify by removing unnecessary redundancy
# else /* !REPLACE_FCHDIR */
/* Occupy the destination FD slot, so that save_cwd cannot hijack it. */
+ struct saved_cwd saved_cwd;
int fd_reserve = dup (fd);
if (fd_reserve < 0)
{
goto fail;
}
- struct saved_cwd saved_cwd;
if (save_cwd (&saved_cwd) != 0)
openat_save_fail (errno);