Commit 1c409691 authored by owsla's avatar owsla

Fix typo in fs_abilities and add EILSEQ to list of recoverable errors.


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@907 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent b468c037
New in v1.1.17 (????/??/??) New in v1.1.17 (????/??/??)
--------------------------- ---------------------------
Fix typo in fs_abilities noticed by Martin Krafft. Add EILSEQ ("Invalid or
incomplete multibyte or wide character") to the list of recoverable errors.
Thanks to Hanno Stock for catching that. (Andrew Ferguson)
Catch another reasonable error when reading EAs. (Andrew Ferguson) Catch another reasonable error when reading EAs. (Andrew Ferguson)
Use the Python os.lstat() on Windows. (Patch from Josh Nisly) Use the Python os.lstat() on Windows. (Patch from Josh Nisly)
......
...@@ -541,7 +541,7 @@ class SetGlobals: ...@@ -541,7 +541,7 @@ class SetGlobals:
('acls_active', 'acls_write', 'acls_conn')) ('acls_active', 'acls_write', 'acls_conn'))
if Globals.never_drop_acls and not Globals.acls_active: if Globals.never_drop_acls and not Globals.acls_active:
log.Log.FatalError("--never-drop-acls specified, but ACL support\n" log.Log.FatalError("--never-drop-acls specified, but ACL support\n"
"missing from destination filesystem") "missing from source filesystem")
def set_win_acls(self): def set_win_acls(self):
self.update_triple(self.src_fsa.win_acls, self.dest_fsa.win_acls, self.update_triple(self.src_fsa.win_acls, self.dest_fsa.win_acls,
......
...@@ -52,7 +52,7 @@ def catch_error(exc): ...@@ -52,7 +52,7 @@ def catch_error(exc):
(exc[0] in ('invalid mode: rb', 'Not a gzipped file') or (exc[0] in ('invalid mode: rb', 'Not a gzipped file') or
errno.errorcode.has_key(exc[0]) and errno.errorcode.has_key(exc[0]) and
errno.errorcode[exc[0]] in ('EPERM', 'ENOENT', 'EACCES', 'EBUSY', errno.errorcode[exc[0]] in ('EPERM', 'ENOENT', 'EACCES', 'EBUSY',
'EEXIST', 'ENOTDIR', 'EEXIST', 'ENOTDIR', 'EILSEQ',
'ENAMETOOLONG', 'EINTR', 'ENAMETOOLONG', 'EINTR',
'ENOTEMPTY', 'EIO', 'ETXTBSY', 'ENOTEMPTY', 'EIO', 'ETXTBSY',
'ESRCH', 'EINVAL', 'EDEADLOCK', 'ESRCH', 'EINVAL', 'EDEADLOCK',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment