Move to here from concatpath.c.