Home
last modified time | relevance | path

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

/usr/
Dgen_init_cpio.c403 char *dname = NULL; /* malloc'ed buffer for hard links */ in cpio_mkfile_line() local
422 dname = malloc(strlen(line)); in cpio_mkfile_line()
423 if (!dname) { in cpio_mkfile_line()
429 memcpy(dname, name, dname_len); in cpio_mkfile_line()
437 memcpy(dname + dname_len, name, len); in cpio_mkfile_line()
443 dname = name; in cpio_mkfile_line()
445 rc = cpio_mkfile(dname, cpio_replace_env(location), in cpio_mkfile_line()
448 if (dname_len) free(dname); in cpio_mkfile_line()