Home
last modified time | relevance | path

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

/freebsd/contrib/libarchive/cpio/
H A Dcpio.c735 len = cpio->destdir_len + strlen(srcpath) + 8; in file_to_archive()
1231 cpio->destdir_len = strlen(destdir); in mode_pass()
1232 cpio->destdir = malloc(cpio->destdir_len + 8); in mode_pass()
1233 memcpy(cpio->destdir, destdir, cpio->destdir_len); in mode_pass()
1234 if (cpio->destdir_len == 0 || destdir[cpio->destdir_len - 1] != '/') in mode_pass()
1235 cpio->destdir[cpio->destdir_len++] = '/'; in mode_pass()
1236 cpio->destdir[cpio->destdir_len] = '\0'; in mode_pass()
H A Dcpio.h48 size_t destdir_len; member