-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a couple small patches to correct some crashing problems with
character quoting code. Patches have been submitted to the author for inclusion in official code. Bumped revision. git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@7545 d073be05-634f-4543-b044-5fe20cf6d1d6
- Loading branch information
Robert Shaw
committed
Jun 17, 2004
1 parent
c57cebd
commit 98563ed
Showing
3 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- rdiff_backup/Main.py.orig Wed Jun 16 21:01:27 2004 | ||
+++ rdiff_backup/Main.py Wed Jun 16 21:00:42 2004 | ||
@@ -502,7 +502,7 @@ | ||
if src_support: Globals.rbdir.conn.Globals.set_local(conn_attr, 1) | ||
|
||
target_fsa = target.conn.fs_abilities.get_fsabilities_readwrite( | ||
- 'destination', target, 0) | ||
+ 'destination', target, 0, Globals.chars_to_quote) | ||
Log(str(target_fsa), 3) | ||
mirror_fsa = Globals.rbdir.conn.fs_abilities.get_fsabilities_restoresource( | ||
Globals.rbdir) | ||
@@ -687,7 +687,7 @@ | ||
SetConnections.UpdateGlobal(write_attr, 1) | ||
rbdir.conn.Globals.set_local(conn_attr, 1) | ||
|
||
- fsa = rbdir.conn.fs_abilities.get_fsabilities_readwrite('archive', rbdir) | ||
+ fsa = rbdir.conn.fs_abilities.get_fsabilities_readwrite('archive', rbdir, 1, Globals.chars_to_quote) | ||
Log(str(fsa), 3) | ||
|
||
update_triple(fsa.eas, ('eas_active', 'eas_write', 'eas_conn')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- rdiff_backup/fs_abilities.py.orig Wed Jun 16 21:01:33 2004 | ||
+++ rdiff_backup/fs_abilities.py Wed Jun 16 21:00:42 2004 | ||
@@ -174,7 +174,7 @@ | ||
log.Log("Warning: File system no longer needs quoting, " | ||
"but will retain for backwards compatibility.", 2) | ||
self.chars_to_quote = old_chars | ||
- else: log.FatalError("""New quoting requirements | ||
+ else: log.Log.FatalError("""New quoting requirements | ||
|
||
This may be caused when you copy an rdiff-backup directory from a | ||
normal file system on to a windows one that cannot support the same |