Searched refs:slink (Results 1 - 11 of 11) sorted by relevance

/netbsd-6-1-5-RELEASE/usr.sbin/mtree/
H A Dspec.c272 REPLACEPTR(cur->slink, NULL);
357 appendfield(pathlast, "link=%s", vispath(cur->slink));
487 REPLACESTR(slink);
488 if (cur->slink != NULL) {
489 if ((cur->slink = strdup(new->slink)) == NULL)
491 if (strunvis(cur->slink, new->slink) == -1)
492 mtree_err("strunvis failed on `%s'", new->slink);
493 free(new->slink);
[all...]
H A Dmtree.h47 char *slink; /* symbolic link reference */ member in struct:_node
H A Dcompare.c279 printf("%slink count (%lu, %lu)\n",
499 strcmp(cp = rlink(p->fts_accpath), s->slink)) {
501 printf("%slink ref (%s, %s", tab, cp, s->slink);
504 (symlink(s->slink, p->fts_accpath) == -1) )
H A Dverify.c233 else if (symlink(p->slink, path))
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/hlfsd/
H A Dstubs.c66 static am_nfs_fh slink; variable
86 memcpy(slink.fh_data, &ui, sizeof(ui));
145 } else if (eq_fh(argp, &slink)) {
223 if (eq_fh(&argp->da_fhandle, &slink)) {
270 res.dr_u.dr_drok_u.drok_fhandle = slink;
321 } else if (eq_fh(argp, &slink)) {
496 if (eq_fh(&argp->rda_fhandle, &slink)) {
/netbsd-6-1-5-RELEASE/bin/csh/
H A Ddir.c612 Char slink[MAXPATHLEN]; local
680 (void)Strcpy(slink, str2short(tlink));
693 if (*slink != '/') {
703 * New length is "yyy/" + slink + "/.." and rest
712 for (p1--, p2 = slink; (*p1++ = *p2++) != '\0';)
723 * New length is slink + "/.." and rest
730 for (p2 = slink; (*p1++ = *p2++) != '\0';)
763 (void)Strcpy(slink, str2short(tlink));
781 if (*slink != '/') {
792 * New length is "yyy/" + slink
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/makefs/
H A Dwalk.c201 char slink[PATH_MAX+1]; local
204 llen = readlink(path, slink, sizeof(slink) - 1);
207 slink[llen] = '\0';
208 if ((cur->symlink = strdup(slink)) == NULL)
447 assert(curnode->slink != NULL);
450 strdup(curnode->slink)) == NULL)
504 assert(specnode->slink != NULL);
505 ASEPRINT("symlink", "%s", dirnode->symlink, specnode->slink);
507 if ((dirnode->symlink = strdup(specnode->slink))
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/binutils/
H A Dcoffgrok.c99 push_scope (int slink) argument
103 if (slink)
/netbsd-6-1-5-RELEASE/usr.bin/xinstall/
H A Dxinstall.c1154 const char *slink, const char *digestresult, off_t size)
1198 if (slink) {
1199 strsvis(buf, slink, VIS_CSTYLE, extra); /* encode link */
1153 metadata_log(const char *path, const char *type, struct timeval *tv, const char *slink, const char *digestresult, off_t size) argument
/netbsd-6-1-5-RELEASE/bin/pax/
H A Dftree.c518 curlink = ftnode->slink;
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/src/
H A Dsanity.sh24121 dotest symlinks-2.1 "ln -s $TESTDIR/fumble slink"
24122 dotest symlinks-3 "$testcvs add slink" \
24123 "$SPROG add: scheduling file .slink. for addition
24129 "$SPROG \[commit aborted\]: reading slink: No such file or directory"
24132 "$CVSROOT_DIRNAME/first-dir/slink,v <-- slink
24138 dotest symlinks-5 "$testcvs -q co first-dir" "U first-dir/slink"
24140 dotest symlinks-6 "ls -l slink" \
24141 "l[rwx\-]* .* slink -> $TESTDIR/fumble"
24163 echo nonsymlink > slink
[all...]

Completed in 162 milliseconds