[Fakeroot-commits] [SCM] Debian packaging of fakeroot branch, upstream, updated. f7acff932a2930158e3a3d64373a67dc8bf1ebd1

Clint Adams clint at debian.org
Fri Sep 20 13:54:35 UTC 2013


The following commit has been merged in the upstream branch:
commit f7acff932a2930158e3a3d64373a67dc8bf1ebd1
Author: Clint Adams <clint at debian.org>
Date:   Fri Sep 20 09:51:00 2013 -0400

    Patch from Andrew Shadura to fix fts_statp-related segfault. closes: #722596.

diff --git a/libfakeroot.c b/libfakeroot.c
index 6edcd23..f867758 100644
--- a/libfakeroot.c
+++ b/libfakeroot.c
@@ -1945,11 +1945,9 @@ FTSENT *fts_read(FTS *ftsp) {
   }
 #endif /* LIBFAKEROOT_DEBUGGING */
   r=next_fts_read(ftsp);
-#ifdef __APPLE__
   if (r && ((ftsp->fts_options & FTS_NOSTAT)
             || r->fts_info == FTS_NS || r->fts_info == FTS_NSOK))
     r->fts_statp = NULL;  /* Otherwise fts_statp may be a random pointer */
-#endif
   if(r && r->fts_statp) {  /* Should we bother checking fts_info here? */
 # if defined(STAT64_SUPPORT) && !defined(__APPLE__)
     SEND_GET_STAT64(r->fts_statp, _STAT_VER);

-- 
Debian packaging of fakeroot



More information about the Fakeroot-commits mailing list