summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/ups-nut/patches/patch-aa')
-rw-r--r--sysutils/ups-nut/patches/patch-aa12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/ups-nut/patches/patch-aa b/sysutils/ups-nut/patches/patch-aa
new file mode 100644
index 00000000000..66fff133194
--- /dev/null
+++ b/sysutils/ups-nut/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.4 2002/05/22 18:02:34 fredb Exp $
+
+--- models/upscommon.c.orig Fri May 17 00:27:55 2002
++++ models/upscommon.c
+@@ -588,6 +588,7 @@
+ }
+
+ memcpy(shared_info, info, info_size);
++ msync(shared_info, info_size, MS_INVALIDATE);
+
+ if (shmid >= 0) {
+ struct shmid_ds shmbuf;