Corrected a problem with the last commit, in which the check for
no common directory components between parent and child should have been outside the while loop.
This commit is contained in:
parent
1ef4190589
commit
05950b16ea
|
|
@ -3174,10 +3174,12 @@ dbWriteCellFunc(cellUse, cdarg)
|
|||
else
|
||||
break;
|
||||
|
||||
/* If there are no common components, then restore the leading '/' */
|
||||
if ((*pathorigin == '/') && (pathstart == pathorigin + 1))
|
||||
pathstart = pathorigin;
|
||||
}
|
||||
|
||||
/* If there are no common components, then restore the leading '/' */
|
||||
if ((*pathorigin == '/') && (pathstart == pathorigin + 1))
|
||||
pathstart = pathorigin;
|
||||
|
||||
if (pathend != NULL)
|
||||
{
|
||||
*pathend = '\0';
|
||||
|
|
|
|||
Loading…
Reference in New Issue