Lines Matching defs:link
59 #define ERR_RDLINK "unable to read link for <%s>"
64 struct link {
68 struct link *next;
71 static struct link *firstlink = (struct link *)0;
72 static struct link *lastlink = (struct link *)0;
220 /* It's a link to a file not in this package. */
326 * Scan a raw link for origination errors. Given
330 * we don't want the link to be verbatim since link_name must be relative
334 * in the source directory (hlink/path) when it creates the link.
352 * If the link is absolute or it is in the current directory, no
360 * not common to both the link and the target.
389 * skip that common directory in both the link and
397 /* Skip past it in the link */
417 * child in the link. We now insert the
447 struct link *link, *new;
478 for (link = firstlink; link; link = link->next) {
479 if ((statbuf.st_ino == link->ino) &&
480 (statbuf.st_dev == link->dev)) {
484 scan_raw_ln(link->path, ept->path),
489 if ((new = (struct link *)calloc(1, sizeof (struct link))) == NULL) {