From: Michihiro NAKAJIMA Date: Thu, 25 Feb 2010 22:56:57 +0000 (-0500) Subject: Do not break for-loop even if there is a wrong entry. X-Git-Tag: v3.0.0a~1178 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ea270573fd6b46099776e1db26eb977665bb301a;p=thirdparty%2Flibarchive.git Do not break for-loop even if there is a wrong entry. SVN-Revision: 1994 --- 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) {