Lines Matching refs:linkname
192 char *linkprefix, *owner, *group, *cp, *cwd, *todir, *toname, *name, *base, *linkname, *bp, buf[BUFSIZ];
199 cwd = linkname = linkprefix = owner = group = 0;
300 linkname = 0;
305 linkname = (char*)xmalloc(len + 1);
306 sprintf(linkname, "%s/%s", linkprefix, name);
309 linkname = (char*)xmalloc(PATH_MAX);
313 lplen = relatepaths(todir, cwd, linkname);
314 strcpy(linkname + lplen, name);
317 reversepath(todir, name, len, linkname);
321 len = strlen(linkname);
323 name = linkname;
341 if (linkname) {
342 free(linkname);
343 linkname = 0;