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
|
else
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/* If there are no common components, then restore the leading '/' */
|
/* If there are no common components, then restore the leading '/' */
|
||||||
if ((*pathorigin == '/') && (pathstart == pathorigin + 1))
|
if ((*pathorigin == '/') && (pathstart == pathorigin + 1))
|
||||||
pathstart = pathorigin;
|
pathstart = pathorigin;
|
||||||
}
|
|
||||||
if (pathend != NULL)
|
if (pathend != NULL)
|
||||||
{
|
{
|
||||||
*pathend = '\0';
|
*pathend = '\0';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue