From ea270573fd6b46099776e1db26eb977665bb301a Mon Sep 17 00:00:00 2001 From: Michihiro NAKAJIMA Date: Thu, 25 Feb 2010 17:56:57 -0500 Subject: [PATCH] Do not break for-loop even if there is a wrong entry. SVN-Revision: 1994 --- libarchive/archive_write_set_format_iso9660.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libarchive/archive_write_set_format_iso9660.c b/libarchive/archive_write_set_format_iso9660.c index 06369d836..afd556a97 100644 --- a/libarchive/archive_write_set_format_iso9660.c +++ b/libarchive/archive_write_set_format_iso9660.c @@ -5026,7 +5026,7 @@ isofile_connect_hardlink_files(struct iso9660 *iso9660) hl != NULL; hl = hl->next) { target = hl->file_list.first; if (archive_entry_hardlink(target->entry) != NULL) - break; + continue; archive_entry_set_nlink(target->entry, hl->nlink); for (nf = target->hlnext; nf != NULL; nf = nf->hlnext) { -- 2.47.3