Package: libarchive
Version: 2.8.3-1

When mounting an iso file with `gvfs-archive', all the filenames appears 
appended with a `;1' string an the end.

I found a bunch of commented code, uncomment these code, it would work 
perfectly. Please refer to the attachment.

Thanks

Regards
-Mike Qin
diff -Nur libarchive-2.8.3.orig/libarchive/archive_read_support_format_iso9660.c libarchive-2.8.3/libarchive/archive_read_support_format_iso9660.c
--- libarchive-2.8.3.orig/libarchive/archive_read_support_format_iso9660.c	2010-01-17 08:21:10.000000000 +0800
+++ libarchive-2.8.3/libarchive/archive_read_support_format_iso9660.c	2010-06-27 20:27:40.000000000 +0800
@@ -1749,7 +1749,7 @@
 		}
 		*wp = L'\0';
 
-#if 0 /* untested code, is it at all useful on Joliet? */
+/* #if 0 untested code, is it at all useful on Joliet? */
 		/* trim trailing first version and dot from filename.
 		 *
 		 * Remember we where in UTF-16BE land!
@@ -1769,7 +1769,7 @@
 		/* Chop off trailing '.' from filenames. */
 		if (*(wp-1) == '.')
 			*(--wp) = L'\0';
-#endif
+/* #endif */
 
 		/* store the result in the file name field. */
 		archive_strappend_w_utf8(&file->name, wbuff);

Reply via email to