Saved some CPU cycles when adding wide directory trees
This commit is contained in:
parent
e93f0527c4
commit
b2762cf5d8
@ -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;
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2011.04.23.152348"
|
||||
#define Xorriso_timestamP "2011.04.27.143713"
|
||||
|
Loading…
Reference in New Issue
Block a user