Searched refs:srcpath (Results 1 – 2 of 2) sorted by relevance
/freebsd/usr.bin/localedef/ |
H A D | localedef.c | 156 char srcpath[PATH_MAX]; in copy_category() local 159 (void) snprintf(srcpath, sizeof (srcpath), "%s/%s", in copy_category() 161 rv = access(srcpath, R_OK); in copy_category() 162 if ((rv != 0) && (strchr(srcpath, '/') == NULL)) { in copy_category() 164 (void) snprintf(srcpath, sizeof (srcpath), in copy_category() 166 rv = access(srcpath, R_OK); in copy_category() 184 if (link(srcpath, category_file()) != 0) { in copy_category()
|
/freebsd/contrib/libarchive/cpio/ |
H A D | cpio.c | 689 file_to_archive(struct cpio *cpio, const char *srcpath) in file_to_archive() argument 703 archive_entry_copy_sourcepath(entry, srcpath); in file_to_archive() 733 destpath = srcpath; in file_to_archive() 735 len = cpio->destdir_len + strlen(srcpath) + 8; in file_to_archive() 748 strcat(cpio->pass_destpath, remove_leading_slash(srcpath)); in file_to_archive() 784 const char *srcpath = archive_entry_sourcepath(entry); in entry_to_archive() local 815 archive_entry_set_hardlink(t, srcpath); in entry_to_archive() 841 fd = open(srcpath, O_RDONLY | O_BINARY); in entry_to_archive() 844 "%s: could not open file", srcpath); in entry_to_archive() 857 srcpath, in entry_to_archive() [all …]
|