diff options
Diffstat (limited to 'recipes/libarchive/libarchive/0005-Patch-from-upstream-rev-2520.patch')
-rw-r--r-- | recipes/libarchive/libarchive/0005-Patch-from-upstream-rev-2520.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes/libarchive/libarchive/0005-Patch-from-upstream-rev-2520.patch b/recipes/libarchive/libarchive/0005-Patch-from-upstream-rev-2520.patch new file mode 100644 index 0000000000..e9bd861a3d --- /dev/null +++ b/recipes/libarchive/libarchive/0005-Patch-from-upstream-rev-2520.patch @@ -0,0 +1,33 @@ +From bf4a8ba5a2f7a72d73765b95540acf56b0180990 Mon Sep 17 00:00:00 2001 +From: Andreas Henriksson <andreas@fatal.se> +Date: Thu, 1 Jul 2010 18:13:46 +0200 +Subject: [PATCH 5/7] Patch from upstream (rev 2520) + +Fix version/dot stripping code in joliet extension of iso9660. +--- + libarchive/archive_read_support_format_iso9660.c | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/libarchive/archive_read_support_format_iso9660.c b/libarchive/archive_read_support_format_iso9660.c +index 8dcfeb4..2d3a855 100644 +--- a/libarchive/archive_read_support_format_iso9660.c ++++ b/libarchive/archive_read_support_format_iso9660.c +@@ -1766,13 +1766,13 @@ parse_file_info(struct archive_read *a, struct file_info *parent, + * *, /, :, ;, ? and \. + */ + /* Chop off trailing ';1' from files. */ +- if (*(wp-2) == ';' && *(wp-1) == '1') { ++ if (*(wp-2) == L';' && *(wp-1) == L'1') { + wp-=2; + *wp = L'\0'; + } + + /* Chop off trailing '.' from filenames. */ +- if (*(wp-1) == '.') ++ if (*(wp-1) == L'.') + *(--wp) = L'\0'; + + /* store the result in the file name field. */ +-- +1.7.1 + |