From: Michihiro NAKAJIMA Date: Wed, 28 Apr 2010 12:10:20 +0000 (-0400) Subject: Fix a build failure. X-Git-Tag: v3.0.0a~1061 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=134e1551218307ab777eaf77063281d4effe6deb;p=thirdparty%2Flibarchive.git Fix a build failure. SVN-Revision: 2331 --- 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;