Tracing the different behavior of isoburn_read_image()

This commit is contained in:
Thomas Schmitt 2008-01-11 17:48:30 +00:00
parent 90c129679a
commit b6c545fa74
4 changed files with 6 additions and 3 deletions

View File

@ -306,6 +306,7 @@ int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, int flag)
ropts.uid= 0; ropts.uid= 0;
ropts.gid= 0; ropts.gid= 0;
ropts.mode= 0555; ropts.mode= 0555;
ropts.input_charset= NULL;
ropts.pretend_blank= 0; ropts.pretend_blank= 0;
if(isoburn_read_image(drive, &ropts, &volset) <= 0) { if(isoburn_read_image(drive, &ropts, &volset) <= 0) {

View File

@ -8019,8 +8019,10 @@ int Xorriso_option_rollback(struct XorrisO *xorriso, int flag)
ret= Xorriso_give_up_drive(xorriso, 1|8); ret= Xorriso_give_up_drive(xorriso, 1|8);
if(ret<=0) if(ret<=0)
return(ret); return(ret);
ret= Xorriso_option_dev(xorriso, indev, ret= Xorriso_option_dev(xorriso, indev, 1);
/*
1|((xorriso->out_drive_handle==NULL)<<1)); 1|((xorriso->out_drive_handle==NULL)<<1));
*/
return(ret); return(ret);
} }

View File

@ -1 +1 @@
#define Xorriso_timestamP "2008.01.11.133631" #define Xorriso_timestamP "2008.01.11.174733"

View File

@ -2190,7 +2190,7 @@ int Xorriso_ls_filev(struct XorrisO *xorriso, char *wd,
for(pass= 0; pass<passes; pass++) for(pass= 0; pass<passes; pass++)
for(i= 0; i<filec && !(xorriso->request_to_abort); i++) { for(i= 0; i<filec && !(xorriso->request_to_abort); i++) {
rpt[0]= 0; rpt[0]= 0;
ret= Xorriso_make_abs_adr(xorriso, wd, filev[i], path, 1|4); ret= Xorriso_make_abs_adr(xorriso, wd, filev[i], path, 1|2|4);
if(ret<=0) if(ret<=0)
continue; continue;
ret= Xorriso_fake_stbuf(xorriso, path, &stbuf, &node, 0); ret= Xorriso_fake_stbuf(xorriso, path, &stbuf, &node, 0);