summaryrefslogtreecommitdiff
path: root/parallel
diff options
context:
space:
mode:
authorjoerg <joerg>2012-11-19 03:01:07 +0000
committerjoerg <joerg>2012-11-19 03:01:07 +0000
commit48e7b8c3605898238b0b01fbf5d74a65855f2c30 (patch)
tree1ac1576c03f1e758be62e4d2e54f3a9fe77f93a4 /parallel
parentc289b3ebccd90dc441ac7a03def7ea40bc9465d9 (diff)
downloadpkgsrc-48e7b8c3605898238b0b01fbf5d74a65855f2c30.tar.gz
Always return a value in a non-void function.
Diffstat (limited to 'parallel')
-rw-r--r--parallel/linda/distinfo3
-rw-r--r--parallel/linda/patches/patch-src_tuplespace.c13
2 files changed, 15 insertions, 1 deletions
diff --git a/parallel/linda/distinfo b/parallel/linda/distinfo
index 918c704fbac..57547d9d691 100644
--- a/parallel/linda/distinfo
+++ b/parallel/linda/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 12:23:31 agc Exp $
+$NetBSD: distinfo,v 1.3 2012/11/19 03:01:07 joerg Exp $
SHA1 (linda-0.1.1.tar.gz) = 84cd0a614ce049908a0dbe2dabcc317493534fec
RMD160 (linda-0.1.1.tar.gz) = 0148408654945cebde41639ccbff4b792d35eada
Size (linda-0.1.1.tar.gz) = 187939 bytes
+SHA1 (patch-src_tuplespace.c) = f8f7f6de36224ed8435776cb952d8fc862316ffa
diff --git a/parallel/linda/patches/patch-src_tuplespace.c b/parallel/linda/patches/patch-src_tuplespace.c
new file mode 100644
index 00000000000..805c8be0b2b
--- /dev/null
+++ b/parallel/linda/patches/patch-src_tuplespace.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_tuplespace.c,v 1.1 2012/11/19 03:01:07 joerg Exp $
+
+--- src/tuplespace.c.orig 2012-11-19 01:13:47.000000000 +0000
++++ src/tuplespace.c
+@@ -285,7 +285,7 @@ TupleResult
+ tuplespace_enter(Tuple * tuple, GTimeVal * end_time)
+ {
+ TupleSlot * slot;
+- g_return_if_fail (tuple);
++ g_return_val_if_fail (tuple, TUPLE_HOLD);
+
+ slot = &(tuplespace[tuple->hash]);
+ return (TupleResult)tuple_slot_slot(slot, tuple, end_time);