[Fakeroot-commits] [SCM] fakeroot branch, upstream, updated. 08ed00124d8b6b445d3b91a9aa15eec638b02f05

Clint Adams schizo at debian.org
Sun Nov 15 03:17:41 UTC 2009


The following commit has been merged in the upstream branch:
commit ce7961ba24c3823d9316784f02979a4910dbe1d2
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