Applied patch from Christophe Boyaniqu to remove double-slashes printed in
recursive_action.
This commit is contained in:
parent
26d53eb197
commit
ae20128e9f
@ -715,6 +715,9 @@ int recursive_action(const char *fileName,
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
memset(nextFile, 0, sizeof(nextFile));
|
memset(nextFile, 0, sizeof(nextFile));
|
||||||
|
if (fileName[strlen(fileName)-1] == '/')
|
||||||
|
sprintf(nextFile, "%s%s", fileName, next->d_name);
|
||||||
|
else
|
||||||
sprintf(nextFile, "%s/%s", fileName, next->d_name);
|
sprintf(nextFile, "%s/%s", fileName, next->d_name);
|
||||||
status =
|
status =
|
||||||
recursive_action(nextFile, TRUE, followLinks, depthFirst,
|
recursive_action(nextFile, TRUE, followLinks, depthFirst,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user