Susumu Yata
null+****@clear*****
Tue Jul 18 16:12:28 JST 2017
Susumu Yata 2017-07-18 16:12:28 +0900 (Tue, 18 Jul 2017) New Revision: c9c2233161c9f6c52e2764a376f56f8f8cf9e1d1 https://github.com/groonga/groonga/commit/c9c2233161c9f6c52e2764a376f56f8f8cf9e1d1 Message: mrb: cast the argument of isalpha from char to unsigned char GitHub: #742 Modified files: lib/mrb.c Modified: lib/mrb.c (+1 -1) =================================================================== --- lib/mrb.c 2017-07-18 16:10:53 +0900 (34f65d3) +++ lib/mrb.c 2017-07-18 16:12:28 +0900 (3293c01) @@ -112,7 +112,7 @@ grn_mrb_is_absolute_path(const char *path) return GRN_TRUE; } - if (isalpha(path[0]) && path[1] == ':' && path[2] == '/') { + if (isalpha((unsigned char)path[0]) && path[1] == ':' && path[2] == '/') { return GRN_TRUE; } -------------- next part -------------- HTML����������������������������... Télécharger