Searched refs:expanded (Results 1 – 1 of 1) sorted by relevance
375 char expanded[PATH_MAX + 1]; in cpio_replace_env() local383 *env_var = *expanded = '\0'; in cpio_replace_env()385 strncat(expanded, new_location, start - new_location); in cpio_replace_env()386 strncat(expanded, getenv(env_var), PATH_MAX); in cpio_replace_env()387 strncat(expanded, end + 1, PATH_MAX); in cpio_replace_env()388 strncpy(new_location, expanded, PATH_MAX); in cpio_replace_env()