Package: rdiff-backup-fs
Version: 1.0.0-4
Severity: minor
Dear Maintainer,
The current version of this package lists the rdiff-backup revision
timestamps using GMT. However, the underlying rdiff-backup tool uses
localtime stamps instead. This is inconsistent and potentially
confusing to the user. The enclosed patch fixes the problem:
--- rdiff-backup-fs-1.0.0.orig/support/grdiff.c
+++ rdiff-backup-fs-1.0.0/support/grdiff.c
@@ -149,7 +149,7 @@ time_t get_revs_date(char *mirror){
char* get_revs_dir(char *mirror){
time_t rev_date = get_revs_date(mirror);
- struct tm *rev_tm = gmtime(&rev_date);
+ struct tm *rev_tm = localtime(&rev_date);
char *result = gstralloc(strlen(ARCHFS_DIR_FORMAT_LENGTH));
sprintf(result, ARCHFS_DIR_FORMAT, rev_tm->tm_year + 1900,
-- System Information:
Debian Release: wheezy/sid
APT prefers precise-updates
APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500,
'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-32-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages rdiff-backup-fs depends on:
ii libc6 2.15-0ubuntu10.3
ii libfuse2 2.8.6-2ubuntu2
ii zlib1g 1:1.2.3.4.dfsg-3ubuntu4
rdiff-backup-fs recommends no packages.
rdiff-backup-fs suggests no packages.
-- no debconf information
--
Lincoln D. Stein
Director, Informatics and Biocomputing Platform
Ontario Institute for Cancer Research
101 College St., Suite 800
Toronto, ON, Canada M5G0A3
416 673-8514
Assistant: Renata Musa <[email protected]>