Bug fix: -extract_single extracted directory content
This commit is contained in:
parent
86e9b17d04
commit
55c0af9653
@ -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;
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2011.08.08.124914"
|
||||
#define Xorriso_timestamP "2011.08.15.132616"
|
||||
|
Loading…
Reference in New Issue
Block a user