diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-11 10:36:19 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-11 10:36:19 +0000 |
commit | a6567f2b999b0e14c1d18668ecbfab874e407545 (patch) | |
tree | 189496c2584bad3316e3ffc6fbaede6c553fc841 /ext/date/date_core.c | |
parent | 4dbc9af8afb78687a0f8854d816e4753a032a32e (diff) | |
download | ruby-a6567f2b999b0e14c1d18668ecbfab874e407545.tar.gz |
* ext/date/date_core.c (Date::(ABBR_)?(MONTH|DAY)NAMES): should be usascii.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/date/date_core.c')
-rw-r--r-- | ext/date/date_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/date_core.c b/ext/date/date_core.c index 52402c7a20..9f6793e206 100644 --- a/ext/date/date_core.c +++ b/ext/date/date_core.c @@ -8114,7 +8114,7 @@ mk_ary_of_str(long len, const char *a[]) if (!a[i]) e = Qnil; else { - e = rb_str_new2(a[i]); + e = rb_usascii_str_new2(a[i]); rb_obj_freeze(e); } rb_ary_push(o, e); |