rpm applet by Laurence Anderson

This commit is contained in:
Glenn L McGrath
2002-12-10 00:17:22 +00:00
parent 62fae308a3
commit b72a735a32
11 changed files with 565 additions and 162 deletions

View File

@ -43,7 +43,7 @@ extern void data_extract_all(archive_handle_t *archive_handle)
switch(file_header->mode & S_IFMT) {
case S_IFREG: {
#ifdef CONFIG_CPIO
if (file_header->link_name) {
if (file_header->link_name && file_header->size == 0) {
/* hard link */
res = link(file_header->link_name, file_header->name);
if ((res == -1) && !(archive_handle->flags & ARCHIVE_EXTRACT_QUIET)) {