changeset 249:66a6f1652909

tiffs xtr: skip /.journal
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 27 Jan 2014 08:05:43 +0000
parents 10afa4d39a7b
children 3d88461d8284
files ffstools/tiffs-rd/xtr.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ffstools/tiffs-rd/xtr.c	Mon Jan 27 07:20:53 2014 +0000
+++ b/ffstools/tiffs-rd/xtr.c	Mon Jan 27 08:05:43 2014 +0000
@@ -60,7 +60,9 @@
 	switch (inf->type) {
 	case 0xE1:
 	case 0xF1:
-		extract_file(pathname + 1, ino);
+		/* skip /.journal; those who need it can cat it */
+		if (strcmp(pathname, "/.journal"))
+			extract_file(pathname + 1, ino);
 		return;
 	case 0xE2:
 	case 0xF2: