1
From: Andreas Henriksson <andreas@fatal.se>
2
Date: Thu, 1 Jul 2010 18:13:46 +0200
3
Subject: Patch from upstream (rev 2520)
5
Fix version/dot stripping code in joliet extension of iso9660.
7
libarchive/archive_read_support_format_iso9660.c | 4 ++--
8
1 files changed, 2 insertions(+), 2 deletions(-)
10
diff --git a/libarchive/archive_read_support_format_iso9660.c b/libarchive/archive_read_support_format_iso9660.c
11
index 595c333..d6c46e5 100644
12
--- a/libarchive/archive_read_support_format_iso9660.c
13
+++ b/libarchive/archive_read_support_format_iso9660.c
14
@@ -1683,13 +1683,13 @@ parse_file_info(struct archive_read *a, struct file_info *parent,
15
* *, /, :, ;, ? and \.
17
/* Chop off trailing ';1' from files. */
18
- if (*(wp-2) == ';' && *(wp-1) == '1') {
19
+ if (*(wp-2) == L';' && *(wp-1) == L'1') {
24
/* Chop off trailing '.' from filenames. */
26
+ if (*(wp-1) == L'.')
29
/* store the result in the file name field. */