Saved some CPU cycles when adding wide directory trees

This commit is contained in:
Thomas Schmitt 2011-04-27 14:36:51 +00:00
parent 3c686609d9
commit 8342d330f2
2 changed files with 6 additions and 2 deletions

View File

@ -406,7 +406,11 @@ cannot_lstat:;
/* does a node exist with this name ? */
node= NULL;
ret= Xorriso_node_from_path(xorriso, volume, img_path, &node, 1);
if(dir != NULL) {
ret= iso_dir_get_node(dir, img_name, &node);
} else {
ret= Xorriso_node_from_path(xorriso, volume, img_path, &node, 1);
}
if(ret>0) {
target_is_dir= LIBISO_ISDIR(node);
target_is_split= 0;

View File

@ -1 +1 @@
#define Xorriso_timestamP "2011.04.23.152348"
#define Xorriso_timestamP "2011.04.27.143713"