pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-barman/patches Remove stale patch file.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a9f6ecc2c108
branches:  trunk
changeset: 652898:a9f6ecc2c108
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Tue Jun 09 15:07:42 2015 +0000

description:
Remove stale patch file.

diffstat:

 databases/py-barman/patches/patch-barman_backup.py |  23 ----------------------
 1 files changed, 0 insertions(+), 23 deletions(-)

diffs (27 lines):

diff -r 8e6f1f8bde59 -r a9f6ecc2c108 databases/py-barman/patches/patch-barman_backup.py
--- a/databases/py-barman/patches/patch-barman_backup.py        Tue Jun 09 15:06:39 2015 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-$NetBSD: patch-barman_backup.py,v 1.2 2015/04/07 09:42:55 fhajny Exp $
-
-Make portable for non-glibc platforms too.
---- barman/backup.py.orig      2015-01-23 13:23:54.000000000 +0000
-+++ barman/backup.py
-@@ -1043,7 +1043,7 @@ class BackupManager(object):
-         deduplicated_size = 0
-         for dirpath, _, filenames in os.walk(backup_dest):
-             # execute fsync() on the containing directory
--            dir_fd = os.open(dirpath, os.O_DIRECTORY)
-+            dir_fd = os.open(dirpath, os.O_RDONLY)
-             try:
-                 os.fsync(dir_fd)
-             except OSError, e:
-@@ -1302,7 +1302,7 @@ class BackupManager(object):
-             shutil.move(srcfile, destfile)
- 
-         # execute fsync() on the archived WAL containing directory
--        dir_fd = os.open(destdir, os.O_DIRECTORY)
-+        dir_fd = os.open(destdir, os.O_RDONLY)
-         try:
-             os.fsync(dir_fd)
-         except OSError, e:



Home | Main Index | Thread Index | Old Index