зеркало из https://github.com/github/ruby.git
* string.c (NONASCII_MASK): NONASCII_MASK must be unsigned.
[ruby-dev:41782] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
78a78b45d6
Коммит
4f7b82475a
|
@ -1,3 +1,8 @@
|
|||
Tue Jul 6 00:29:27 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* string.c (NONASCII_MASK): NONASCII_MASK must be unsigned.
|
||||
[ruby-dev:41782]
|
||||
|
||||
Mon Jul 5 16:05:39 2010 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* vm_method.c (rb_method_boundp): Return false for protected
|
||||
|
|
2
string.c
2
string.c
|
@ -141,7 +141,7 @@ static inline const char *
|
|||
search_nonascii(const char *p, const char *e)
|
||||
{
|
||||
#if SIZEOF_VALUE == 8
|
||||
# define NONASCII_MASK 0x8080808080808080LL
|
||||
# define NONASCII_MASK 0x8080808080808080ULL
|
||||
#elif SIZEOF_VALUE == 4
|
||||
# define NONASCII_MASK 0x80808080UL
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче