View | Details | Raw Unified | Return to bug 183093
Collapse All | Expand All

(-)contrib/libarchive/libarchive/archive_write_set_format_mtree.c.new (-1 / +1 lines)
Lines 1857-1863 Link Here
1857
1857
1858
	/* Make a basename from dirname and slash */
1858
	/* Make a basename from dirname and slash */
1859
	*slash  = '\0';
1859
	*slash  = '\0';
1860
	file->parentdir.length = slash - dirname;
1860
	file->parentdir.length = slash - file->parentdir.s;
1861
	archive_strcpy(&(file->basename),  slash + 1);
1861
	archive_strcpy(&(file->basename),  slash + 1);
1862
	return (ret);
1862
	return (ret);
1863
}
1863
}

Return to bug 183093