summaryrefslogtreecommitdiff
path: root/opcode.h
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-10-23 09:22:40 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-10-23 09:22:40 +0000
commite55aaa0ea8ae9df2251fb793d58ce52f2d4ed736 (patch)
tree3ebcd6bf8d63887173e00a8588bb2eb51e1c07d3 /opcode.h
parentf81e73367db8ca5c7f6b9b2cd46247cf88cf9e89 (diff)
downloadperl-e55aaa0ea8ae9df2251fb793d58ce52f2d4ed736.tar.gz
Fix refcounts for lock/magic_mutexfree. Make OP_LOCK auto-ref
its argument using ck_rfun as OP_DEFINED. Make pp_lock return a ref to its argument for AV, HV, CV. p4raw-id: //depot/perl@170
Diffstat (limited to 'opcode.h')
-rw-r--r--opcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcode.h b/opcode.h
index 7cf7f66800..1b465ddb30 100644
--- a/opcode.h
+++ b/opcode.h
@@ -2137,7 +2137,7 @@ EXT OP * (*check[]) _((OP *op)) = {
ck_null, /* egrent */
ck_null, /* getlogin */
ck_fun, /* syscall */
- ck_null, /* lock */
+ ck_rfun, /* lock */
};
#endif