From: Andreas Henriksson Date: Fri, 2 Jul 2010 07:33:27 +0000 (-0400) Subject: iso9660: disable trailing dot stripping code in joliet for now. X-Git-Tag: v3.0.0a~924 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0326e9e88ef01a6a67b382c590da46b85506f73;p=thirdparty%2Flibarchive.git iso9660: disable trailing dot stripping code in joliet for now. Haven't been able to figure out what makes this code not work. Disable it for now with a comment until someone manages to figure it out. SVN-Revision: 2521 --- diff --git a/libarchive/archive_read_support_format_iso9660.c b/libarchive/archive_read_support_format_iso9660.c index 0c7b77bc4..975d03f67 100644 --- a/libarchive/archive_read_support_format_iso9660.c +++ b/libarchive/archive_read_support_format_iso9660.c @@ -1775,9 +1775,11 @@ parse_file_info(struct archive_read *a, struct file_info *parent, *wp = L'\0'; } +#if 0 /* XXX: this somehow manages to strip of single-character file extensions, like '.c'. */ /* Chop off trailing '.' from filenames. */ if (*(wp-1) == L'.') *(--wp) = L'\0'; +#endif /* store the result in the file name field. */ archive_strappend_w_utf8(&file->name, wbuff);