This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
clean up the users of PL_no_mem
authorDaniel Dragan <bulk88@hotmail.com>
Mon, 12 Nov 2012 14:19:10 +0000 (06:19 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 12 Nov 2012 16:32:50 +0000 (08:32 -0800)
commit4cbe3a7d4e9196aab2ca064651827e69cfa50f74
tree11adea255a75691aac2e61ba2162d24ca40f9a59
parent0e578cb525681b03d8893587039eba95f1e2e0ab
clean up the users of PL_no_mem

This commit eliminates a couple strlen()s of a literal. "Out of memory!\n"
and PL_no_mem did not string pool on Visual C, so PL_no_mem was given a
length. This commit removes S_write_no_mem and replaces it with nonstatic.
Perl_croak_no_mem was made nocontext to save instructions in it's callers.
NORETURN_FUNCTION_END caused a syntax error on Visual C C++ mode and
therefore was removed.
embed.fnc
embed.h
perl.h
perlio.c
proto.h
util.c
win32/win32.c