diff options
author | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-06-19 09:56:00 +0000 |
---|---|---|
committer | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-06-19 09:56:00 +0000 |
commit | f1a097e8c9fe9f80b9aa476566c21c9edd1d4b65 (patch) | |
tree | 1284f9ccf2b9e882ebe96ff9838c97c48c680eb0 /rdiff-backup/rdiff_backup/FilenameMapping.py | |
parent | f75dba2fa023f9e18b6e89dd8a826009571b6c41 (diff) | |
download | rdiff-backup-f1a097e8c9fe9f80b9aa476566c21c9edd1d4b65.tar.gz |
Added compile.py to compile the c portion
Added GPL headers to all the source code files
Fixed memory leaks and bad pointer casts in cmodule.c
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@141 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/FilenameMapping.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/FilenameMapping.py | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/rdiff-backup/rdiff_backup/FilenameMapping.py b/rdiff-backup/rdiff_backup/FilenameMapping.py index 104519d..fda203e 100644 --- a/rdiff-backup/rdiff_backup/FilenameMapping.py +++ b/rdiff-backup/rdiff_backup/FilenameMapping.py @@ -1,18 +1,27 @@ +# Copyright 2002 Ben Escoto +# +# This file is part of rdiff-backup. +# +# rdiff-backup is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, Inc., 675 Mass Ave, Cambridge MA +# 02139, USA; either version 2 of the License, or (at your option) any +# later version; incorporated herein by reference. + +"""Coordinate corresponding files with different names + +For instance, some source filenames may contain characters not allowed +on the mirror end. Also, if a source filename is very long (say 240 +characters), the extra characters added to related increments may put +them over the usual 255 character limit. + +""" + import re from log import * import Globals -####################################################################### -# -# filename_mapping - used to coordinate related filenames -# -# For instance, some source filenames may contain characters not -# allowed on the mirror end. Also, if a source filename is very long -# (say 240 characters), the extra characters added to related -# increments may put them over the usual 255 character limit. -# -"""Contains class methods which coordinate related filenames""" max_filename_length = 255 # If true, enable character quoting, and set characters making |