This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
embed.fnc: Remove inappropriate pure attributes
authorKarl Williamson <khw@cpan.org>
Tue, 22 Nov 2016 18:30:28 +0000 (11:30 -0700)
committerKarl Williamson <khw@cpan.org>
Tue, 22 Nov 2016 18:38:12 +0000 (11:38 -0700)
commita62e8919a5bc84aae5f5c90173723bf81f449644
tree37ba6bbd00abf040390969b9d104cad0e60e24ce
parentb289a0bd3e66981f9f724fb37f0f1aa6c8931ba0
embed.fnc: Remove inappropriate pure attributes

In looking at the diffs from f6e4c377437f9b2ded79fb55f66983a6d4f761f9,
just committed, I realized that some of the functions marked pure,
really have side effects, if only initialization if not called
previously.  Still, the compiler could optimize things so it is wrong.
I then did a manual audit of embed.fnc, and removed the pure attribute
of the functions that I found that have some potential side effects.
embed.fnc
proto.h