Package: file-roller
Version: 2.14.4-2
Severity: wishlist
Tags: patch

*** Please type your report below this line ***

Modification time is not preserved when compressing a file using gzip or
bzip2. Default behavior of gzip and bzip2 used from commandline is to
preserve
modification time. The attached patch makes file-roller to behave
similiar.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)

-- no debconf information
--- file-roller-2.14.4/src/fr-command-cfile.c	2006-08-01 09:15:34.000000000 +0200
+++ file-roller-2.14.4.new/src/fr-command-cfile.c	2008-03-02 01:21:29.000000000 +0100
@@ -235,7 +235,7 @@
 
 	fr_process_begin_command (comm->process, "cp");
 	fr_process_set_working_dir (comm->process, base_dir);
-	fr_process_add_arg (comm->process, "-f");
+	fr_process_add_arg (comm->process, "-f -p");
 	fr_process_add_arg (comm->process, filename);
 	fr_process_add_arg (comm->process, temp_file);
 	fr_process_end_command (comm->process);
@@ -289,7 +289,7 @@
 
 	fr_process_begin_command (comm->process, "cp");
 	fr_process_set_working_dir (comm->process, e_temp_dir);
-	fr_process_add_arg (comm->process, "-f");
+	fr_process_add_arg (comm->process, "-f -p");
 	fr_process_add_arg (comm->process, "*");
 	fr_process_add_arg (comm->process, comm->e_filename);
 	fr_process_end_command (comm->process);

Reply via email to