mirror of
https://github.com/php/php-src.git
synced 2025-08-17 14:38:49 +02:00
Reverted memrchr() patch, because it is broken on linux 64-bit
This commit is contained in:
parent
0f13364729
commit
fb50ef1aab
2 changed files with 0 additions and 6 deletions
|
@ -25,7 +25,6 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#ifdef HAVE_IEEEFP_H
|
#ifdef HAVE_IEEEFP_H
|
||||||
#include <ieeefp.h>
|
#include <ieeefp.h>
|
||||||
|
@ -240,9 +239,6 @@ zend_memnstr(char *haystack, char *needle, int needle_len, char *end)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_MEMRCHR
|
|
||||||
# define zend_memrchr(s,c,n) memrchr(s,c,n)
|
|
||||||
#else
|
|
||||||
static inline void *zend_memrchr(const void *s, int c, size_t n)
|
static inline void *zend_memrchr(const void *s, int c, size_t n)
|
||||||
{
|
{
|
||||||
register unsigned char *e;
|
register unsigned char *e;
|
||||||
|
@ -259,7 +255,6 @@ static inline void *zend_memrchr(const void *s, int c, size_t n)
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
BEGIN_EXTERN_C()
|
BEGIN_EXTERN_C()
|
||||||
ZEND_API int increment_function(zval *op1);
|
ZEND_API int increment_function(zval *op1);
|
||||||
|
|
|
@ -515,7 +515,6 @@ lchown \
|
||||||
lrand48 \
|
lrand48 \
|
||||||
memcpy \
|
memcpy \
|
||||||
memmove \
|
memmove \
|
||||||
memrchr \
|
|
||||||
mkstemp \
|
mkstemp \
|
||||||
mmap \
|
mmap \
|
||||||
nl_langinfo \
|
nl_langinfo \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue