1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* include/ruby/encoding.h (rb_enc_asciicompat): dummy encoding is not

ascii compatible. [ruby-dev:33878]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2008-02-21 01:36:50 +00:00
parent e16fddf1a9
commit 4701476b97
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Thu Feb 21 10:35:04 2008 NARUSE, Yui <naruse@ruby-lang.org>
* include/ruby/encoding.h (rb_enc_asciicompat): dummy encoding is not
ascii compatible. [ruby-dev:33878]
Thu Feb 21 00:01:34 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (RPATHFLAG): -R option of HP-UX ld is not for runtime

View file

@ -154,7 +154,7 @@ int rb_enc_codelen(int code, rb_encoding *enc);
#define rb_enc_isspace(c,enc) ONIGENC_IS_CODE_SPACE(enc,c)
#define rb_enc_isdigit(c,enc) ONIGENC_IS_CODE_DIGIT(enc,c)
#define rb_enc_asciicompat(enc) (rb_enc_mbminlen(enc)==1)
#define rb_enc_asciicompat(enc) (!rb_enc_dummy_p(enc) && rb_enc_mbminlen(enc)==1)
int rb_enc_casefold(char *to, const char *p, const char *e, rb_encoding *enc);
int rb_enc_toupper(int c, rb_encoding *enc);