* Remove RUBY_HAS_ARCHLIB. * add comment to patches. Main changes from mod_ruby-1.3.0 * supported Ruby 1.8.7. * supported Ruby 1.9 experimentally.
15 lines
405 B
Text
15 lines
405 B
Text
$NetBSD: patch-ac,v 1.2 2010/09/10 10:50:27 taca Exp $
|
|
|
|
cast before pass to tolower().
|
|
|
|
--- apache_request.c.orig 2004-09-24 03:43:18.000000000 +0900
|
|
+++ apache_request.c
|
|
@@ -230,7 +230,7 @@ static unsigned int utf8_convert(char *s
|
|
x = x * 16 + str[i] - '0';
|
|
}
|
|
else {
|
|
- str[i] = tolower( str[i] );
|
|
+ str[i] = tolower((unsigned int)str[i] );
|
|
x = x * 16 + str[i] - 'a' + 10;
|
|
}
|
|
}
|