diff options
author | Nuno Lopes <nlopess@php.net> | 2008-09-09 07:55:10 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2008-09-09 07:55:10 +0000 |
commit | c778b3eb19e6c79a20968808f13bce03c2dfdf23 (patch) | |
tree | 0357e922d288ee5d1afee302d62f0ade231f864d /ext/pcre/pcrelib/pcre_valid_utf8.c | |
parent | 6a2729ed4d09ba4c387db2aa67733c8ea448e7e6 (diff) | |
download | php-git-c778b3eb19e6c79a20968808f13bce03c2dfdf23.tar.gz |
upgrade to PCRE 7.8. this includes a security improvement. I'll upgrade HEAD later (not urgent..)
Diffstat (limited to 'ext/pcre/pcrelib/pcre_valid_utf8.c')
-rw-r--r-- | ext/pcre/pcrelib/pcre_valid_utf8.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/pcre/pcrelib/pcre_valid_utf8.c b/ext/pcre/pcrelib/pcre_valid_utf8.c index 6b341c195e..7184560d88 100644 --- a/ext/pcre/pcrelib/pcre_valid_utf8.c +++ b/ext/pcre/pcrelib/pcre_valid_utf8.c @@ -152,6 +152,9 @@ for (p = string; length-- > 0; p++) if ((*(++p) & 0xc0) != 0x80) return p - string; } } +#else +(void)(string); /* Keep picky compilers happy */ +(void)(length); #endif return -1; |