diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-05-21 10:44:54 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-05-21 10:44:54 +0800 |
commit | 453a73f0858b649f50c30ed75e86bc9626364acb (patch) | |
tree | 933f18c2dcfa875525aac9f4b9a7769348eba00e /archivers/file-roller/files | |
parent | daf6cb6973cfb7aefae526f56d1f12529176b52c (diff) | |
download | marcuscom-ports-453a73f0858b649f50c30ed75e86bc9626364acb.tar marcuscom-ports-453a73f0858b649f50c30ed75e86bc9626364acb.tar.gz marcuscom-ports-453a73f0858b649f50c30ed75e86bc9626364acb.tar.bz2 marcuscom-ports-453a73f0858b649f50c30ed75e86bc9626364acb.tar.lz marcuscom-ports-453a73f0858b649f50c30ed75e86bc9626364acb.tar.xz marcuscom-ports-453a73f0858b649f50c30ed75e86bc9626364acb.tar.zst marcuscom-ports-453a73f0858b649f50c30ed75e86bc9626364acb.zip |
Update to 2.3.2.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@782 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'archivers/file-roller/files')
-rw-r--r-- | archivers/file-roller/files/patch-src_fr-command-tar.c | 39 |
1 files changed, 18 insertions, 21 deletions
diff --git a/archivers/file-roller/files/patch-src_fr-command-tar.c b/archivers/file-roller/files/patch-src_fr-command-tar.c index 6ae5fcfa3..9a0fb58a8 100644 --- a/archivers/file-roller/files/patch-src_fr-command-tar.c +++ b/archivers/file-roller/files/patch-src_fr-command-tar.c @@ -1,32 +1,24 @@ ---- src/fr-command-tar.c.orig Fri Aug 9 09:10:51 2002 -+++ src/fr-command-tar.c Fri Oct 11 12:14:40 2002 -@@ -117,7 +117,7 @@ - { - int i; - char *field; -- int n = 6; -+ int n = 8; - - n--; - field = eat_spaces (line); -@@ -129,6 +129,10 @@ - return field; +--- src/fr-command-tar.c.orig Mon May 19 14:15:50 2003 ++++ src/fr-command-tar.c Tue May 20 20:43:39 2003 +@@ -83,6 +83,11 @@ + return mktime (&tm); } -+static char *months[] = { ++static char *months[] = { + "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", + "Nov", "Dec" +}; ++ static void process_line (char *line, -@@ -138,15 +142,30 @@ - FRCommand *comm = FR_COMMAND (data); - char **fields; - char *name_field; -+ int i; -+ struct tm tm = {0, }; -+ char **time_fields; +@@ -92,19 +97,34 @@ + FRCommand *comm = FR_COMMAND (data); + char **fields; + const char *name_field; ++ int i; ++ struct tm tm = {0, }; ++ char **time_fields; g_return_if_fail (line != NULL); @@ -53,3 +45,8 @@ /* Full path */ +- name_field = get_last_field (line, 6); ++ name_field = get_last_field (line, 8); + fields = g_strsplit (name_field, " -> ", 2); + + if (fields[1] == NULL) { |