summaryrefslogtreecommitdiff
path: root/README.tru64
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-06-13 22:44:15 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-06-13 22:47:30 -0700
commit9cdac2a22a8bffa5e715bb52fc23ec5f89562d4f (patch)
treeaf4860db4aa73ee44ddc5688a9dc2ff6846f5702 /README.tru64
parent5cfe25fd495495a0961237ddf3346dfeb47e7137 (diff)
downloadperl-9cdac2a22a8bffa5e715bb52fc23ec5f89562d4f.tar.gz
Make $$ writable, but still magical
This commit makes $$ writable again, as it was in 5.6, while preserv- ing the magical pid-fetching added recently (post-5.14.0) by com- mit 0e219455. It does this by following Aristotle Pagaltzis’ brilliant suggestion in <20110609145148.GD8471@klangraum.plasmasturm.org>; namely, to store the PID in magic when $$ is written to, so that get-magic can detect whether a fork() has occurred and reset $$ accordingly. This makes it seem as though the fork() code sets $$ itself (which it used to before 0e219455), while even working when C code outside of perl’s control calls fork(). This restores compatibility with DBIx::Connector and PPerl.
Diffstat (limited to 'README.tru64')
0 files changed, 0 insertions, 0 deletions