From f1a097e8c9fe9f80b9aa476566c21c9edd1d4b65 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 19 Jun 2002 09:56:00 +0000 Subject: 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 --- rdiff-backup/rdiff_backup/FilenameMapping.py | 29 ++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) (limited to 'rdiff-backup/rdiff_backup/FilenameMapping.py') 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 -- cgit v1.2.1