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

/freebsd-13-stable/usr.bin/localedef/
H A Dlocaledef.c158 char srcpath[PATH_MAX]; local
161 (void) snprintf(srcpath, sizeof (srcpath), "%s/%s",
163 rv = access(srcpath, R_OK);
164 if ((rv != 0) && (strchr(srcpath, '/') == NULL)) {
166 (void) snprintf(srcpath, sizeof (srcpath),
168 rv = access(srcpath, R_OK);
186 if (link(srcpath, category_file()) != 0) {
/freebsd-13-stable/contrib/libarchive/cpio/
H A Dcpio.c694 file_to_archive(struct cpio *cpio, const char *srcpath) argument
708 archive_entry_copy_sourcepath(entry, srcpath);
738 destpath = srcpath;
740 len = cpio->destdir_len + strlen(srcpath) + 8;
753 strcat(cpio->pass_destpath, remove_leading_slash(srcpath));
789 const char *srcpath = archive_entry_sourcepath(entry); local
820 archive_entry_set_hardlink(t, srcpath);
846 fd = open(srcpath, O_RDONLY | O_BINARY);
849 "%s: could not open file", srcpath);
862 srcpath,
[all...]

Completed in 102 milliseconds