From 134e1551218307ab777eaf77063281d4effe6deb Mon Sep 17 00:00:00 2001 From: Michihiro NAKAJIMA Date: Wed, 28 Apr 2010 08:10:20 -0400 Subject: [PATCH] Fix a build failure. SVN-Revision: 2331 --- 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 2e2af2a1f..88317d481 100644 --- a/libarchive/archive_write_set_format_iso9660.c +++ b/libarchive/archive_write_set_format_iso9660.c @@ -5467,7 +5467,7 @@ isoent_tree(struct archive_write *a, struct isoent *isoent) /* If the current directory is not new, * Check whether there is the same name entry or not. */ if (np == NULL) { - np = isoent_find_child(curdir, + np = isoent_find_child(dent, isoent->file->basename.s); if (np != NULL) goto same_entry; -- 2.47.3