diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-09-14 09:31:57 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-09-14 09:31:57 +0000 |
commit | b2a6d19e98284617a5c52d0100279680e6cc4fc8 (patch) | |
tree | 3147a28eb69d04725dc460140694fabf8bd7480b /INSTALL | |
parent | 084610c0b1f0b6b5d7de3bf4b374b2baebed36df (diff) | |
download | perl-b2a6d19e98284617a5c52d0100279680e6cc4fc8.tar.gz |
INSTALL tweak
p4raw-id: //depot/perl@4150
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -766,12 +766,22 @@ or you can answer 'n' at the appropriate interactive Configure prompt. =item -DPERL_POLLUTE_MALLOC +NOTE: This flag is enabled automatically on some platforms if you +asked for binary compatibility with version 5.005, or if you just +run Configure to accept all the defaults on those platforms. You +can refuse the automatic binary compatibility flags wholesale by +running: + + sh Configure -Ubincompat5005 + +or by answering 'n' at the appropriate prompt. + Perl's malloc family of functions are called Perl_malloc(), -Perl_realloc(), Perl_calloc() and Perl_mfree(). The names do not clash -with the system versions of these functions. +Perl_realloc(), Perl_calloc() and Perl_mfree(). When this flag is +not enabled, the names do not clash with the system versions of +these functions. -If you add -DPERL_POLLUTE_MALLOC to your ccflags variable in -config.sh, then Perl's malloc family of functions will have the same +If enabled, Perl's malloc family of functions will have the same names as the system versions. This may be sometimes required when you have libraries that like to free() data that may have been allocated by Perl_malloc() and vice versa. |