summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/rpath.py
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-07-22 10:44:50 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-07-22 10:44:50 +0000
commitb2b876fdc2544ffa01bb41228f50ede90298f638 (patch)
tree337b96250afd4465a75daf8a1783c5de4c590733 /rdiff-backup/rdiff_backup/rpath.py
parent3617a1f5be2c8c90d2e3c98a642279c58981c3d7 (diff)
downloadrdiff-backup-b2b876fdc2544ffa01bb41228f50ede90298f638.tar.gz
Final changes for 0.13.0 (small test changes, Fedora spec packaging)
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@356 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/rpath.py')
-rw-r--r--rdiff-backup/rdiff_backup/rpath.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/rdiff-backup/rdiff_backup/rpath.py b/rdiff-backup/rdiff_backup/rpath.py
index c13e003..a04f2ed 100644
--- a/rdiff-backup/rdiff_backup/rpath.py
+++ b/rdiff-backup/rdiff_backup/rpath.py
@@ -172,7 +172,8 @@ def cmp_attribs(rp1, rp2):
if Globals.change_ownership and rp1.getuidgid() != rp2.getuidgid():
result = None
elif rp1.getperms() != rp2.getperms(): result = None
- elif rp1.getctime() != rp2.getctime(): result = None
+ # Don't compare ctime for now, add later
+ #elif rp1.getctime() != rp2.getctime(): result = None
elif rp1.issym() and rp2.issym(): # Don't check times for some types
result = 1
elif rp1.isblkdev() and rp2.isblkdev(): result = 1
@@ -662,6 +663,7 @@ class RPath(RORPath):
# mtimes on symlinks and dev files don't work consistently
data['mtime'] = long(statblock[stat.ST_MTIME])
data['atime'] = long(statblock[stat.ST_ATIME])
+ data['ctime'] = long(statblock[stat.ST_CTIME])
return data
def check_consistency(self):