Return true if A and B must have the same parent dir if A and B exist. Return false if this is not necessarily true (though it might be true). Keep it simple, and do not inspect the file system. */
| 1717 | result = xmalloc(dotdotetcsize); |
| 1718 | cp = result; |
| 1719 | for (i = 0; i < dotdots; i++) |
| 1720 | cp = mempcpy(cp, "../", 3); |
| 1721 | memmove(cp, f + dir_len, taillen + 1); |
| 1722 | } |
| 1723 | return result; |
| 1724 | } |
| 1725 | |
| 1726 | /* Return true if A and B must have the same parent dir if A and B exist. |
| 1727 | Return false if this is not necessarily true (though it might be true). |
| 1728 | Keep it simple, and do not inspect the file system. */ |
| 1729 | ATTRIBUTE_PURE_114833 |
| 1730 | static bool |