[file-roller/gnome-2-30] fixed update of files in .tar.xz archives
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller/gnome-2-30] fixed update of files in .tar.xz archives
- Date: Fri, 3 Sep 2010 18:11:47 +0000 (UTC)
commit c668bfe6175ed0891dd2a42bfe590a8adf7be8de
Author: Paolo Bacchilega <paobac src gnome org>
Date: Fri Sep 3 20:09:04 2010 +0200
fixed update of files in .tar.xz archives
[bug #628717]
src/fr-command-tar.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/fr-command-tar.c b/src/fr-command-tar.c
index 53ab601..650a197 100644
--- a/src/fr-command-tar.c
+++ b/src/fr-command-tar.c
@@ -769,7 +769,7 @@ get_uncompressed_name (FrCommandTar *c_tar,
/* X.tar.xz --> X.tar
* (There doesn't seem to be a shorthand suffix) */
if (file_extension_is (e_filename, ".tar.xz"))
- new_name[l - 5] = 0;
+ new_name[l - 3] = 0;
}
else if (is_mime_type (comm->mime_type, "application/x-lzop-compressed-tar")) {
/* X.tzo --> X.tar
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]