diff options
author | vs <vs@FreeBSD.org> | 2004-12-15 00:07:00 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2004-12-15 00:07:00 +0800 |
commit | f2a835219363b2009023d128ce659d4d5e128699 (patch) | |
tree | b4357f26fb7d107d983397b362886e30270439f8 /sysutils/rdiff-backup/files | |
parent | 46b893da8111ba2130e7922125eb2ddef8e7a6cb (diff) | |
download | freebsd-ports-gnome-f2a835219363b2009023d128ce659d4d5e128699.tar.gz freebsd-ports-gnome-f2a835219363b2009023d128ce659d4d5e128699.tar.zst freebsd-ports-gnome-f2a835219363b2009023d128ce659d4d5e128699.zip |
Correctly detect EDEADLK instead of EDEADLOCK on FreeBSD
PR: ports/73972
Submitted by: Charles Ulrich
Approved by: maintainer timeout
Diffstat (limited to 'sysutils/rdiff-backup/files')
-rw-r--r-- | sysutils/rdiff-backup/files/patch-robust.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/rdiff-backup/files/patch-robust.py b/sysutils/rdiff-backup/files/patch-robust.py new file mode 100644 index 000000000000..208c08aea643 --- /dev/null +++ b/sysutils/rdiff-backup/files/patch-robust.py @@ -0,0 +1,11 @@ +--- rdiff_backup/robust.py.orig Tue Dec 14 17:02:48 2004 ++++ rdiff_backup/robust.py Tue Dec 14 17:03:43 2004 +@@ -53,7 +53,7 @@ + errno.errorcode[exc[0]] in ('EPERM', 'ENOENT', 'EACCES', 'EBUSY', + 'EEXIST', 'ENOTDIR', 'ENAMETOOLONG', + 'EINTR', 'ENOTEMPTY', 'EIO', 'ETXTBSY', +- 'ESRCH', 'EINVAL', 'EDEADLOCK'))): ++ 'ESRCH', 'EINVAL', 'EDEADLOCK', 'EDEADLK'))): + return 1 + return 0 + |