[Fakeroot-commits] [SCM] fakeroot branch, master, updated. debian/1.13
Clint Adams
schizo at debian.org
Mon Sep 28 22:41:12 UTC 2009
The following commit has been merged in the master branch:
commit 2ac673654c514052c5760d5b0fc51516aa3b0c8d
Author: Clint Adams <schizo at debian.org>
Date: Thu Aug 13 15:24:38 2009 -0400
Apply fix from lorenz schori to properly deal with STAT64_SUPPORT in fts_read. closes: #541335.
diff --git a/libfakeroot.c b/libfakeroot.c
index b400add..c231ea6 100644
--- a/libfakeroot.c
+++ b/libfakeroot.c
@@ -1496,10 +1496,18 @@ FTSENT *fts_read(FTS *ftsp) {
r=next_fts_read(ftsp);
if(r && r->fts_statp) { /* Should we bother checking fts_info here? */
-# ifndef STUPID_ALPHA_HACK
+# ifdef STAT64_SUPPORT
+# ifndef STUPID_ALPHA_HACK
send_get_stat64(r->fts_statp);
-# else
+# else
send_get_stat64(r->fts_statp, _STAT_VER);
+# endif
+# else
+# ifndef STUPID_ALPHA_HACK
+ send_get_stat(r->fts_statp);
+# else
+ send_get_stat(r->fts_statp, _STAT_VER);
+# endif
# endif
}
--
fakeroot
More information about the Fakeroot-commits
mailing list