parent
2f1955a0ea
commit
8027d46271
@ -1,26 +0,0 @@
|
||||
--- a/libfakeroot.c
|
||||
+++ b/libfakeroot.c
|
||||
@@ -1949,11 +1949,7 @@
|
||||
|| r->fts_info == FTS_NS || r->fts_info == FTS_NSOK))
|
||||
r->fts_statp = NULL; /* Otherwise fts_statp may be a random pointer */
|
||||
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);
|
||||
-# else
|
||||
SEND_GET_STAT(r->fts_statp, _STAT_VER);
|
||||
-# endif
|
||||
}
|
||||
|
||||
return r;
|
||||
@@ -1972,11 +1968,7 @@
|
||||
first=next_fts_children(ftsp, options);
|
||||
for(r = first; r; r = r->fts_link) {
|
||||
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);
|
||||
-# else
|
||||
SEND_GET_STAT(r->fts_statp, _STAT_VER);
|
||||
-# endif
|
||||
}
|
||||
}
|
||||
|
@ -1,11 +1,10 @@
|
||||
--- ./test/tartest.orig 2021-10-04 20:28:09.069735488 +0100
|
||||
+++ ./test/tartest 2021-10-04 23:31:56.425200322 +0100
|
||||
@@ -79,7 +79,7 @@ uudecode ${SRCDIR}/tartest.tar.gz.uue
|
||||
--- fakeroot-1.26/test/tartest.orig 2021-12-16 22:51:05.716720795 +0000
|
||||
+++ fakeroot-1.26/test/tartest 2021-12-17 00:02:40.784190384 +0000
|
||||
@@ -58,6 +58,7 @@ for f in $LIST; do
|
||||
mkdir -p hello/$f
|
||||
touch hello/$f/file
|
||||
touch $f.file
|
||||
+ chown root:root $f.file
|
||||
done
|
||||
|
||||
tar -cf - tar | gzip -9 > faketar.tar.gz
|
||||
|
||||
-${SRCDIR}/compare-tar tartest.tar.gz faketar.tar.gz
|
||||
+${SRCDIR}/compare-tar tartest.tar.gz faketar.tar.gz || :
|
||||
|
||||
#test 2: try to unpack, pack the tar archive, and
|
||||
# see if the result is the same archive
|
||||
chown -R daemon:sys 2
|
||||
|
Loading…
Reference in new issue