]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
iso9660: disable trailing dot stripping code in joliet for now.
authorAndreas Henriksson <andreas@fatal.se>
Fri, 2 Jul 2010 07:33:27 +0000 (03:33 -0400)
committerAndreas Henriksson <andreas@fatal.se>
Fri, 2 Jul 2010 07:33:27 +0000 (03:33 -0400)
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

libarchive/archive_read_support_format_iso9660.c

index 0c7b77bc42541259715fb6925974df892f881e91..975d03f67f9675a8da5c8c3bdb54155e0d27557b 100644 (file)
@@ -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);