Loaded images with HFS+ attributes were marked as having changes pending

This commit is contained in:
Thomas Schmitt 2012-06-25 12:53:41 +00:00
parent 1f030723f5
commit 395ff93df2
2 changed files with 6 additions and 2 deletions

View File

@ -157,7 +157,7 @@ ex:;
static int Xorriso_grasp_loaded_aaip(struct XorrisO *xorriso, IsoImage *volset, static int Xorriso_grasp_loaded_aaip(struct XorrisO *xorriso, IsoImage *volset,
int flag) int flag)
{ {
int ret; int ret, change_pending_rec;
IsoNode *root_node; IsoNode *root_node;
size_t value_length; size_t value_length;
char *value= NULL; char *value= NULL;
@ -165,6 +165,9 @@ static int Xorriso_grasp_loaded_aaip(struct XorrisO *xorriso, IsoImage *volset,
struct FindjoB *job= NULL; struct FindjoB *job= NULL;
struct stat dir_stbuf; struct stat dir_stbuf;
/* To be re-instated at function end */
change_pending_rec= xorriso->volset_change_pending;
/* Look for isofs.st and put it into xorriso->isofs_st_in */ /* Look for isofs.st and put it into xorriso->isofs_st_in */
root_node= (IsoNode *) iso_image_get_root(volset); root_node= (IsoNode *) iso_image_get_root(volset);
ret= iso_node_lookup_attr(root_node, "isofs.st", &value_length, &value, 0); ret= iso_node_lookup_attr(root_node, "isofs.st", &value_length, &value, 0);
@ -195,6 +198,7 @@ static int Xorriso_grasp_loaded_aaip(struct XorrisO *xorriso, IsoImage *volset,
ret= 1; ret= 1;
ex:; ex:;
xorriso->volset_change_pending= change_pending_rec;
Findjob_destroy(&job, 0); Findjob_destroy(&job, 0);
return(ret); return(ret);
} }

View File

@ -1 +1 @@
#define Xorriso_timestamP "2012.06.21.204359" #define Xorriso_timestamP "2012.06.25.125438"