diff options
| author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2009-08-25 04:58:53 +0000 |
|---|---|---|
| committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2009-08-25 04:58:53 +0000 |
| commit | bbc5328732ca973ccb4cc0ef9b05d6b209edfe7b (patch) | |
| tree | d7fd9bb4bfebcd4193b5c24f1ad2f2d5005c19f7 /www/apache22/files/patch-apr-fix-strmatch-underflow | |
| parent | On ia64, gdm (indirectly) uses log10 and ceil. Add libm to the (diff) | |
- Upgrade to 2.2.13.
PR: ports/137651
Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Diffstat (limited to 'www/apache22/files/patch-apr-fix-strmatch-underflow')
| -rw-r--r-- | www/apache22/files/patch-apr-fix-strmatch-underflow | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/www/apache22/files/patch-apr-fix-strmatch-underflow b/www/apache22/files/patch-apr-fix-strmatch-underflow deleted file mode 100644 index c1e252355927..000000000000 --- a/www/apache22/files/patch-apr-fix-strmatch-underflow +++ /dev/null @@ -1,21 +0,0 @@ -Fix underflow in apr_strmatch_precompile, - http://svn.apache.org/viewvc/apr/apr/trunk/strmatch/apr_strmatch.c?r1=757729&r2=779878&view=patch - ---- srclib/apr-util/strmatch/apr_strmatch.c 2009/03/24 11:12:27 757729 -+++ srclib/apr-util/strmatch/apr_strmatch.c 2009/05/29 07:47:52 779878 -@@ -103,13 +103,13 @@ - if (case_sensitive) { - pattern->compare = match_boyer_moore_horspool; - for (i = 0; i < pattern->length - 1; i++) { -- shift[(int)s[i]] = pattern->length - i - 1; -+ shift[(unsigned char)s[i]] = pattern->length - i - 1; - } - } - else { - pattern->compare = match_boyer_moore_horspool_nocase; - for (i = 0; i < pattern->length - 1; i++) { -- shift[apr_tolower(s[i])] = pattern->length - i - 1; -+ shift[(unsigned char)apr_tolower(s[i])] = pattern->length - i - 1; - } - } - pattern->context = shift; |
