summaryrefslogtreecommitdiff
path: root/app-arch/afio/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-10-22 11:09:47 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-10-22 11:09:47 +0100
commit64e107b9b6058580ff0432107eb37cefb0b2a7d8 (patch)
tree9a44e603e2ae365e2b1fe35ac37f73e830cdee1d /app-arch/afio/files
parent957235cf19a691360c720f7913672adda4258ed0 (diff)
gentoo resync : 22.10.2018
Diffstat (limited to 'app-arch/afio/files')
-rw-r--r--app-arch/afio/files/afio-2.5.1-control-file-warning-fix.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-arch/afio/files/afio-2.5.1-control-file-warning-fix.patch b/app-arch/afio/files/afio-2.5.1-control-file-warning-fix.patch
new file mode 100644
index 000000000000..f1c93c8e914c
--- /dev/null
+++ b/app-arch/afio/files/afio-2.5.1-control-file-warning-fix.patch
@@ -0,0 +1,29 @@
+Only in b: 1
+diff -ubBr a/afio.c b/afio.c
+--- a/afio.c 2018-03-23 09:16:07.230401966 -0400
++++ b/afio.c 2018-03-23 09:20:05.614421756 -0400
+@@ -3724,7 +3724,8 @@
+
+ /* ASX check if file changed between the begining
+ and end of the backup */
+- if (*fsname)
++ /* if *fsname==0, it was a control file, so do not check then */
++ if (*fsname!=0)
+ {
+ struct stat st;
+ /* I must check fsname !
+@@ -3739,13 +3740,10 @@
+ if (st.st_mtime!=sb.sb_mtime)
+ {
+ warn (fsname, "File was modified during its backup");
++ if(index(ignorewarnings,(int)'d')) warnings--;
+ }
+ }
+ }
+- else
+- {
+- warn (name, "ASX no fsname for this name ??");
+- }
+
+ if(aflag && *fsname && ((sb.sb_mode & S_IFMT)==S_IFREG))
+ {