Home
last modified time | relevance | path

Searched refs:srcpath (Results 1 – 2 of 2) sorted by relevance

/src/usr.bin/localedef/
H A Dlocaledef.c156 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()
/src/contrib/libarchive/cpio/
H A Dcpio.c697 file_to_archive(struct cpio *cpio, const char *srcpath) in file_to_archive() argument
711 archive_entry_copy_sourcepath(entry, srcpath); in file_to_archive()
741 destpath = srcpath; in file_to_archive()
743 len = cpio->destdir_len + strlen(srcpath) + 8; in file_to_archive()
756 strcat(cpio->pass_destpath, remove_leading_slash(srcpath)); in file_to_archive()
792 const char *srcpath = archive_entry_sourcepath(entry); in entry_to_archive() local
823 archive_entry_set_hardlink(t, srcpath); in entry_to_archive()
849 fd = open(srcpath, O_RDONLY | O_BINARY); in entry_to_archive()
852 "%s: could not open file", srcpath); in entry_to_archive()
865 srcpath, in entry_to_archive()
[all …]