]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Do not break for-loop even if there is a wrong entry.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Thu, 25 Feb 2010 22:56:57 +0000 (17:56 -0500)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Thu, 25 Feb 2010 22:56:57 +0000 (17:56 -0500)
SVN-Revision: 1994

libarchive/archive_write_set_format_iso9660.c

index 06369d83605badf20fb17c56052c37d0149be1aa..afd556a978d3dda8f1d820755392449df7af1e74 100644 (file)
@@ -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) {