diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-02-20 05:17:36 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-02-20 05:17:36 -0200 |
commit | 7dc82889a77f38450a1116363d91d085b307e009 (patch) | |
tree | c9f324c500328c7258fb05de8d9fe0c8d8d3cba6 /libre/xarchiver-libre/xarchiver-0.5.2-fix-non-existent-archive.patch | |
parent | f0078a2177e50f86f41a79a328249ddcd584a3c8 (diff) | |
download | abslibre-7dc82889a77f38450a1116363d91d085b307e009.tar.gz abslibre-7dc82889a77f38450a1116363d91d085b307e009.tar.bz2 abslibre-7dc82889a77f38450a1116363d91d085b307e009.zip |
xarchiver-libre-0.5.3-1: updating version
Diffstat (limited to 'libre/xarchiver-libre/xarchiver-0.5.2-fix-non-existent-archive.patch')
-rw-r--r-- | libre/xarchiver-libre/xarchiver-0.5.2-fix-non-existent-archive.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/libre/xarchiver-libre/xarchiver-0.5.2-fix-non-existent-archive.patch b/libre/xarchiver-libre/xarchiver-0.5.2-fix-non-existent-archive.patch deleted file mode 100644 index e63687579..000000000 --- a/libre/xarchiver-libre/xarchiver-0.5.2-fix-non-existent-archive.patch +++ /dev/null @@ -1,26 +0,0 @@ -From: Markus Koschany <apo@gambaru.de> -Date: Thu, 28 Feb 2013 17:45:50 +0100 -Subject: fix segfault non-existent archive cmdl switch x - -If using the command line switch -x, the user needs to specify a valid/existent -archive. If the name of the archive is mistyped, xarchiver will segfault. This -patch fixes the issue. - -Bug: http://bugs.debian.org/701909 ---- - src/main.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/main.c b/src/main.c -index a6a7f93..a6e05e3 100644 ---- a/src/main.c -+++ b/src/main.c -@@ -141,7 +141,7 @@ int main (int argc, char **argv) - /* Switch -x */ - if (extract_path != NULL) - { -- if (argv[1] == NULL) -+ if (argv[1] == NULL || archive == NULL) - { - response = xa_show_message_dialog (NULL,GTK_DIALOG_MODAL,GTK_MESSAGE_ERROR,GTK_BUTTONS_OK,_("Can't extract files from the archive:"),_("You missed the archive name!\n")); - return -1; |