mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
import explicit_bzero + strlc* functions update
since 1999 algorithms have changed and register k/w not necessary anymore.
This commit is contained in:
parent
2bd34885da
commit
2464dbd5f3
8 changed files with 92 additions and 32 deletions
|
@ -136,6 +136,14 @@ END_EXTERN_C()
|
|||
#define strlcat php_strlcat
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRLCAT
|
||||
BEGIN_EXTERN_C()
|
||||
PHPAPI void php_explicit_bzero(void *dst, size_t siz);
|
||||
END_EXTERN_C()
|
||||
#undef explicit_bzero
|
||||
#define explicit_bzero php_explicit_bzero
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRTOK_R
|
||||
BEGIN_EXTERN_C()
|
||||
char *strtok_r(char *s, const char *delim, char **last);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue