diff options
author | Perl 5 Porters <perl5-porters@africa.nicoh.com> | 1997-04-27 00:00:00 +1200 |
---|---|---|
committer | Chip Salzenberg <chip@atlantic.net> | 1997-04-27 00:00:00 +1200 |
commit | c635e13b3766789d3a0231f6ee93b7f5c9f4b423 (patch) | |
tree | d153a937f14087f111426d29366ca854062fd633 /perl.h | |
parent | 0dccf24430a5250869822117cfec215176703c7f (diff) | |
download | perl-c635e13b3766789d3a0231f6ee93b7f5c9f4b423.tar.gz |
[inseparable changes from match from perl-5.003_97i to perl-5.003_97j]
CORE PORTABILITY
Subject: Return to favoring memset(,0,) over bzero()
From: Chip Salzenberg <chip@perl.com>
Files: perl.h
OTHER CORE CHANGES
Subject: Update sprintf: '%hn'; '%s',NULL; panic on frexp() failure
From: Chip Salzenberg <chip@perl.com>
Files: perl.h pod/perldiag.pod sv.c
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -340,11 +340,11 @@ #endif /* HAS_MEMCMP && HAS_SANE_MEMCMP */ #ifndef memzero -# ifdef HAS_BZERO -# define memzero(d,l) bzero(d,l) +# ifdef HAS_MEMSET +# define memzero(d,l) memset(d,0,l) # else -# ifdef HAS_MEMSET -# define memzero(d,l) memset(d,0,l) +# ifdef HAS_BZERO +# define memzero(d,l) bzero(d,l) # else # define memzero(d,l) my_bzero(d,l) # endif @@ -1210,7 +1210,10 @@ char *strcpy(), *strcat(); # endif double exp _((double)); double log _((double)); + double log10 _((double)); double sqrt _((double)); + double frexp _((double,int*)); + double ldexp _((double,int)); double modf _((double,double*)); double sin _((double)); double cos _((double)); |