From 07323a62e149a3f9235f44615e0c4cd3b211fb56 Mon Sep 17 00:00:00 2001 From: ZenWalker Date: Tue, 17 May 2016 20:47:10 +0200 Subject: tar: Fixed problems with backslashes Fixes #79 --- src/fr-command-tar.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/fr-command-tar.c b/src/fr-command-tar.c index b870ec5..d52964c 100644 --- a/src/fr-command-tar.c +++ b/src/fr-command-tar.c @@ -331,6 +331,7 @@ fr_command_tar_add (FrCommand *comm, if (! recursive) fr_process_add_arg (comm->process, "--no-recursion"); fr_process_add_arg (comm->process, "--no-wildcards"); + fr_process_add_arg (comm->process, "--no-unquote"); fr_process_add_arg (comm->process, "-v"); fr_process_add_arg (comm->process, "-p"); @@ -401,6 +402,7 @@ fr_command_tar_delete (FrCommand *comm, fr_process_set_begin_func (comm->process, begin_func__delete, comm); fr_process_add_arg (comm->process, "--force-local"); fr_process_add_arg (comm->process, "--no-wildcards"); + fr_process_add_arg (comm->process, "--no-unquote"); fr_process_add_arg (comm->process, "-v"); fr_process_add_arg (comm->process, "--delete"); fr_process_add_arg (comm->process, "-f"); @@ -448,6 +450,7 @@ fr_command_tar_extract (FrCommand *comm, begin_tar_command (comm); fr_process_add_arg (comm->process, "--force-local"); fr_process_add_arg (comm->process, "--no-wildcards"); + fr_process_add_arg (comm->process, "--no-unquote"); fr_process_add_arg (comm->process, "-v"); fr_process_add_arg (comm->process, "-p"); -- cgit v1.2.1