From 2097f2406a36307f60095bd6f03d00e3757e0027 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 15 Aug 2011 13:27:10 +0000 Subject: [PATCH] Bug fix: -extract_single extracted directory content --- xorriso/disk_ops.c | 8 ++++---- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/xorriso/disk_ops.c b/xorriso/disk_ops.c index ca48ff33..c1658b4f 100644 --- a/xorriso/disk_ops.c +++ b/xorriso/disk_ops.c @@ -1408,7 +1408,7 @@ int Xorriso_restore_sorted(struct XorrisO *xorriso, int count, /* sort_lba : Make directories plus node_array and then run array extractor (with eventual hardlink detection) */ - hflag= (1 << 7) | ((!!(flag & 2)) << 9); + hflag= (1 << 7) | ((!!(flag & 2)) << 9) | (flag & 32); ret= Xorriso_restore(xorriso, src_array[i], tgt_array[i], (off_t) 0, (off_t) 0, hflag); if(ret <= 0) { @@ -1433,7 +1433,7 @@ int Xorriso_restore_sorted(struct XorrisO *xorriso, int count, if(src_array[i] == NULL || tgt_array[i] == NULL) continue; ret= Xorriso_restore(xorriso, src_array[i], tgt_array[i], - (off_t) 0, (off_t) 0, 2 << 7); + (off_t) 0, (off_t) 0, (2 << 7) | (flag & 32)); if(ret <= 0) { (*problem_count)++; hret= Xorriso_eval_problem_status(xorriso, ret, 0); @@ -1453,10 +1453,10 @@ int Xorriso_restore_sorted(struct XorrisO *xorriso, int count, if(src_array[i] == NULL || tgt_array[i] == NULL) continue; ret= Xorriso_restore(xorriso, src_array[i], tgt_array[i], - (off_t) 0, (off_t) 0, 0); + (off_t) 0, (off_t) 0, flag & 32); if(ret <= 0) { (*problem_count)++; - hret= Xorriso_eval_problem_status(xorriso, ret, flag & 32); + hret= Xorriso_eval_problem_status(xorriso, ret, 0); if(ret < 0) goto ex; } diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 27e396d9..75f452d9 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.08.08.124914" +#define Xorriso_timestamP "2011.08.15.132616"