diff options
author | Larry Wall <lwall@netlabs.com> | 1992-06-08 04:53:03 +0000 |
---|---|---|
committer | Larry Wall <lwall@netlabs.com> | 1992-06-08 04:53:03 +0000 |
commit | 7c0587c85ff56c1fa1d95bc5228a7aff2da43d6c (patch) | |
tree | 89ac53b3686082f0fd8568003b57256f097f9165 /util.h | |
parent | 2b69d0c297460bce3a8d8eefe2bd0de0a6451872 (diff) | |
download | perl-7c0587c85ff56c1fa1d95bc5228a7aff2da43d6c.tar.gz |
perl 4.0 patch 32: patch #20, continued
See patch #20.
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -1,4 +1,4 @@ -/* $RCSfile: util.h,v $$Revision: 4.0.1.2 $$Date: 91/11/05 19:18:40 $ +/* $RCSfile: util.h,v $$Revision: 4.0.1.3 $$Date: 92/06/08 16:09:20 $ * * Copyright (c) 1991, Larry Wall * @@ -6,6 +6,9 @@ * License or the Artistic License, as specified in the README file. * * $Log: util.h,v $ + * Revision 4.0.1.3 92/06/08 16:09:20 lwall + * patch20: bcopy() and memcpy() now tested for overlap safety + * * Revision 4.0.1.2 91/11/05 19:18:40 lwall * patch11: safe malloc code now integrated into Perl's malloc when possible * @@ -30,7 +33,7 @@ char *fbminstr(); char *screaminstr(); void fbmcompile(); char *savestr(); -void setenv(); +void my_setenv(); int envix(); void growstr(); char *ninstr(); @@ -38,13 +41,14 @@ char *rninstr(); char *nsavestr(); FILE *mypopen(); int mypclose(); -#ifndef HAS_MEMCPY -#ifndef HAS_BCOPY -char *bcopy(); +#if !defined(HAS_BCOPY) || !defined(SAFE_BCOPY) +char *my_bcopy(); #endif -#ifndef HAS_BZERO -char *bzero(); +#if !defined(HAS_BZERO) && !defined(HAS_MEMSET) +char *my_bzero(); #endif +#ifndef HAS_MEMCMP +int my_memcmp(); #endif unsigned long scanoct(); unsigned long scanhex(); |