Better attributes with directories

master
Thomas Schmitt 15 years ago
parent 111c881730
commit 8ad70686e4
  1. 3
      test/ng_xorrisoburn.c
  2. 2
      test/xorriso_timestamp.h

@ -1279,6 +1279,8 @@ handle_path_node:;
dir= hdir;
xorriso->volset_change_pending= 1;
iso_node_set_ctime((IsoNode *) dir, time(NULL));
iso_node_set_uid((IsoNode *) dir, geteuid());
iso_node_set_gid((IsoNode *) dir, getegid());
/* >>> copy properties from correspondent directory in disk_path
if there is any */;
@ -1290,6 +1292,7 @@ attach_source:;
/* directory node was created above */;
} else if(is_dir) {
Xorriso_transfer_properties(xorriso, &stbuf, (IsoNode *) dir, 0);
ret= Xorriso_add_tree(xorriso, dir, img_path, disk_path, NULL, 0);
if(ret<=0)
return(ret);

@ -1 +1 @@
#define Xorriso_timestamP "2008.01.21.221939"
#define Xorriso_timestamP "2008.01.22.224321"

Loading…
Cancel
Save