Home
last modified time | relevance | path

Searched refs:linkname (Results 1 – 25 of 119) sorted by relevance

12345

/netbsd/external/gpl3/gcc.old/dist/contrib/
H A Ddownload_prerequisites255 linkname="${ar%-*}"
256 if [ ${force} -gt 0 ]; then rm -f "${linkname}"; fi
257 [ -e "${linkname}" ] \
258 || ln -s "${target}" "${linkname}" \
259 || die "Cannot create symbolic link ${linkname} --> ${target}"
260 unset target linkname
/netbsd/external/gpl3/gcc/dist/contrib/
H A Ddownload_prerequisites270 linkname="${ar%-*}"
271 if [ ${force} -gt 0 ]; then rm -f "${linkname}"; fi
272 [ -e "${linkname}" ] \
273 || ln -s "${target}" "${linkname}" \
274 || die "Cannot create symbolic link ${linkname} --> ${target}"
275 unset target linkname
/netbsd/external/public-domain/tz/dist/
H A Dziguard.awk318 function make_linkline(oldline, target, linkname, oldtarget, comment, \
338 replsuffix = linkname
362 l, linkname, t, target)
364 for (linkname in linktarget) {
365 target = linktarget[linkname]
374 l = linkline[linkname]
375 line[l] = make_linkline(line[l], t, linkname, target, "\t#= " target)
/netbsd/usr.sbin/catman/
H A Dcatman.c345 char linkname[PATH_MAX]; in scanmandir() local
418 strlcpy(linkname, basename(buffer), in scanmandir()
419 sizeof(linkname)); in scanmandir()
438 *linkname = '\0'; in scanmandir()
443 *linkname = '\0'; in scanmandir()
450 if (*linkname != '\0') in scanmandir()
482 if (*linkname != '\0') { in scanmandir()
485 linkname); in scanmandir()
501 linkname); in scanmandir()
510 if (symlink(catpage, linkname) in scanmandir()
[all …]
/netbsd/external/gpl3/autoconf/dist/build-aux/
H A Dgnupload225 linkname=`echo $file | sed "$symlink_expr"`
226 if test -z "$linkname"; then
229 elif test "$linkname" = $file; then
399 linkname=`echo $file | sed "$symlink_expr"`
401 symlink: $file $linkname
402 symlink: $file.sig $linkname.sig"
/netbsd/external/bsd/libpcap/dist/
H A Dpcap-libdlpi.c65 char linkname[DLPI_LINKNAME_MAX]; member
79 list_interfaces(const char *linkname, void *arg) in list_interfaces() argument
88 (void) pcap_strlcpy(entry->linkname, linkname, DLPI_LINKNAME_MAX); in list_interfaces()
363 if (find_or_add_dev(devlistp, entry->linkname, 0, get_if_flags, in pcap_platform_finddevs()
474 pcap_libdlpi_err(const char *linkname, const char *func, int err, char *errbuf) in pcap_libdlpi_err() argument
477 func, linkname, dlpi_strerror(err)); in pcap_libdlpi_err()
/netbsd/usr.bin/unzip/
H A Dunzip.c604 const char *linkname; in extract_file() local
643 linkname = archive_entry_symlink(e); in extract_file()
644 if (linkname != NULL) { in extract_file()
645 if (symlink(linkname, *path) == -1) in extract_file()
646 error("symlink('%s', '%s')", linkname, *path); in extract_file()
647 info(" extracting: %s -> %s\n", *path, linkname); in extract_file()
656 linkname = archive_entry_hardlink(e); in extract_file()
657 if (linkname != NULL) { in extract_file()
658 if (link(linkname, *path) == -1) in extract_file()
659 error("link('%s', '%s')", linkname, *path); in extract_file()
[all …]
/netbsd/external/gpl3/gdb/dist/gdbserver/
H A Dhostio.cc558 char filename[HOSTIO_PATH_MAX], linkname[HOSTIO_PATH_MAX]; in handle_readlink() local
573 linkname, in handle_readlink()
574 sizeof (linkname) - 1); in handle_readlink()
576 ret = readlink (filename, linkname, sizeof (linkname) - 1); in handle_readlink()
584 bytes_sent = hostio_reply_with_data (own_buf, linkname, ret, new_packet_len); in handle_readlink()
/netbsd/external/gpl3/gdb.old/dist/gdbserver/
H A Dhostio.cc558 char filename[HOSTIO_PATH_MAX], linkname[HOSTIO_PATH_MAX]; in handle_readlink() local
573 linkname, in handle_readlink()
574 sizeof (linkname) - 1); in handle_readlink()
576 ret = readlink (filename, linkname, sizeof (linkname) - 1); in handle_readlink()
584 bytes_sent = hostio_reply_with_data (own_buf, linkname, ret, new_packet_len); in handle_readlink()
/netbsd/bin/pax/
H A Dtar.c481 &gnu_link_string, &gnu_link_length, hd->linkname, in tar_rd()
482 sizeof(hd->linkname)); in tar_rd()
625 if (arcn->ln_nlen > (int)sizeof(hd->linkname)) { in tar_wr()
676 strlcpy(hd->linkname, arcn->ln_name, sizeof(hd->linkname)); in tar_wr()
684 strlcpy(hd->linkname, arcn->ln_name, sizeof(hd->linkname)); in tar_wr()
855 hd->linkname, sizeof(hd->linkname)); in ustar_rd()
1077 if (arcn->ln_nlen >= (int)sizeof(hd->linkname)) { in ustar_wr()
1169 strlcpy(hd->linkname, arcn->ln_name, sizeof(hd->linkname)); in ustar_wr()
H A Dtar.h107 char linkname[TNMSZ]; /* linked to name */ member
146 char linkname[TNMSZ]; /* linked to name */ member
H A Ddumptar.c90 PR(linkname); in usdump()
/netbsd/external/bsd/libarchive/dist/libarchive/
H A Darchive_entry.c1252 archive_mstring_copy_mbs(&entry->ae_symlink, linkname); in archive_entry_set_symlink()
1253 if (linkname != NULL) in archive_entry_set_symlink()
1269 if (linkname != NULL) in archive_entry_set_symlink_utf8()
1278 archive_mstring_copy_mbs(&entry->ae_symlink, linkname); in archive_entry_copy_symlink()
1279 if (linkname != NULL) in archive_entry_copy_symlink()
1288 archive_mstring_copy_wcs(&entry->ae_symlink, linkname); in archive_entry_copy_symlink_w()
1289 if (linkname != NULL) in archive_entry_copy_symlink_w()
1298 if (linkname != NULL) in archive_entry_update_symlink_utf8()
1303 &entry->ae_symlink, linkname) == 0) in archive_entry_update_symlink_utf8()
1317 linkname, len, sc); in _archive_entry_copy_symlink_l()
[all …]
H A Darchive_write_disk_windows.c568 ret = (*f)(linkname, target, NULL); in la_CreateHardLinkW()
577 linkname += 4; in la_CreateHardLinkW()
578 if (IS_UNC(linkname)) in la_CreateHardLinkW()
579 linkname += 4; in la_CreateHardLinkW()
587 ret = (*f)(linkname, target, NULL); in la_CreateHardLinkW()
669 attrs = GetFileAttributesW(linkname); in la_CreateSymbolicLinkW()
672 disk_rmdir(linkname); in la_CreateSymbolicLinkW()
674 disk_unlink(linkname); in la_CreateSymbolicLinkW()
1600 const wchar_t *linkname; in create_filesystem_object() local
1608 if (linkname != NULL) { in create_filesystem_object()
[all …]
H A Darchive_write_set_format_shar.c159 const char *linkname; in archive_write_shar_header() local
248 if ((linkname = archive_entry_hardlink(entry)) != NULL) { in archive_write_shar_header()
250 shar_quote(&shar->work, linkname, 1); in archive_write_shar_header()
253 } else if ((linkname = archive_entry_symlink(entry)) != NULL) { in archive_write_shar_header()
255 shar_quote(&shar->work, linkname, 1); in archive_write_shar_header()
H A Darchive_write_set_format_gnutar.c53 const char * linkname; member
435 r = archive_entry_hardlink_l(entry, &(gnutar->linkname), in archive_write_gnutar_header()
452 r = archive_entry_symlink_l(entry, &(gnutar->linkname), in archive_write_gnutar_header()
488 ret = __archive_write_output(a, gnutar->linkname, length); in archive_write_gnutar_header()
612 memcpy(h + GNUTAR_linkname_offset, gnutar->linkname, in archive_format_gnutar_header()
H A Darchive_read_support_format_lha.c476 struct archive_string linkname; in archive_read_format_lha_read_header() local
601 archive_string_init(&linkname); in archive_read_format_lha_read_header()
608 if (!lha_parse_linkname(&linkname, &pathname)) { in archive_read_format_lha_read_header()
614 archive_string_free(&linkname); in archive_read_format_lha_read_header()
647 if (archive_strlen(&linkname) > 0) { in archive_read_format_lha_read_header()
648 if (archive_entry_copy_symlink_l(entry, linkname.s, in archive_read_format_lha_read_header()
649 linkname.length, lha->sconv) != 0) { in archive_read_format_lha_read_header()
664 archive_string_free(&linkname); in archive_read_format_lha_read_header()
1603 lha_parse_linkname(struct archive_string *linkname, in lha_parse_linkname() argument
1612 archive_strncpy(linkname, linkptr+1, symlen); in lha_parse_linkname()
/netbsd/external/bsd/ntp/dist/util/
H A Dntp-keygen.c215 char* linkname in symlink() argument
242 link_created = (*pCreateHardLinkA)(linkname, filename, NULL); in symlink()
249 linkname, filename); in symlink()
922 char linkname[MAXFILENAME]; /* filestamp buffer) */ in readkey() local
937 if ((ptr = fgets(linkname, MAXFILENAME, str)) == NULL) { in readkey()
2254 char linkname[MAXFILENAME]; /* link name */ in fheader() local
2274 strcpy(linkname,"ntp.keys"); in fheader()
2276 snprintf(linkname, sizeof(linkname), "ntpkey_%s_%s", ulink, in fheader()
2279 (void)remove(linkname); /* The symlink() line below matters */ in fheader()
2280 temp = symlink(filename, linkname); in fheader()
[all …]
/netbsd/lib/libc/time/
H A Dzic.c171 symlink(char const *target, char const *linkname) in symlink() argument
1420 if (*linkname == '/') { in relname()
1431 for (i = 0; f[i] && f[i] == linkname[i]; i++) in relname()
1434 for (; linkname[i]; i++) in relname()
1435 dotdots += linkname[i] == '/' && linkname[i - 1] != '/'; in relname()
1454 char const *outname = linkname; in dolink()
1464 progname, directory, linkname, e); in dolink()
1482 if (staysymlink && itssymlink(linkname)) in dolink()
1485 mkdirs(linkname, true); in dolink()
1509 mkdirs(linkname, true); in dolink()
[all …]
/netbsd/lib/libpuffs/
H A Dnull.c535 const struct vattr *va, const char *linkname) in puffs_null_node_symlink() argument
539 if (symlink(linkname, PCNPATH(pcn)) == -1) in puffs_null_node_symlink()
551 const struct puffs_cred *pcred, char *linkname, size_t *linklen) in puffs_null_node_readlink() argument
556 rv = readlink(PNPATH(pn), linkname, *linklen); in puffs_null_node_readlink()
/netbsd/external/bsd/file/dist/src/
H A Dtar.h64 char linkname[NAMSIZ]; member
/netbsd/crypto/external/bsd/openssl/dist/apps/
H A Dbuild.info86 # linkname tells build files that a symbolic link or copy of this script
88 SCRIPTS{misc,linkname=tsget}=tsget.pl
/netbsd/tests/fs/puffs/h_dtfs/
H A Ddtfs_vnops.c414 const struct puffs_cred *cred, char *linkname, size_t *linklen) in dtfs_node_readlink() argument
420 strlcpy(linkname, df->df_linktarget, *linklen); in dtfs_node_readlink()
421 *linklen = strlen(linkname); in dtfs_node_readlink()
/netbsd/external/bsd/libarchive/dist/test_utils/
H A Dtest_main.c214 my_CreateSymbolicLinkA(const char *linkname, const char *target, in my_CreateSymbolicLinkA() argument
231 llen = strlen(linkname); in my_CreateSymbolicLinkA()
249 while(*linkname != '\0') { in my_CreateSymbolicLinkA()
250 if (*linkname == '/') in my_CreateSymbolicLinkA()
253 *p = *linkname; in my_CreateSymbolicLinkA()
254 linkname++; in my_CreateSymbolicLinkA()
290 attrs = GetFileAttributesA(linkname); in my_CreateSymbolicLinkA()
293 RemoveDirectoryA(linkname); in my_CreateSymbolicLinkA()
295 DeleteFileA(linkname); in my_CreateSymbolicLinkA()
312 my_CreateHardLinkA(const char *linkname, const char *target) in my_CreateHardLinkA() argument
[all …]
/netbsd/external/gpl2/gettext/dist/gettext-tools/examples/hello-c++-kde/admin/
H A Dltmain.sh3445 if test "$realname" != "$linkname"; then
3446 $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)"
3447 $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
4735 for linkname
4737 if test "$linkname" != "$realname"; then
4738 $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
4739 $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"

12345