projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Missed FREAD in bytecode.h
[p5sagit/p5-mst-13.2.git]
/
sv.h
diff --git
a/sv.h
b/sv.h
index
bf34547
..
e9614e6
100644
(file)
--- a/
sv.h
+++ b/
sv.h
@@
-95,7
+95,7
@@
struct io {
# endif /* EMULATE_ATOMIC_REFCOUNTS */
#else
# define ATOMIC_INC(count) (++count)
-# define ATOMIC_DEC_AND_TEST(res, count) (res = --count)
+# define ATOMIC_DEC_AND_TEST(res, count) (res = (--count == 0))
#endif /* USE_THREADS */
#ifdef __GNUC__