diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-28 19:24:18 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-28 19:24:18 +0000 |
commit | e0af046ad04127f419b2b9696694eb2efca130fc (patch) | |
tree | 38fcb29c8741e53f7de7a44856814bb834a17692 /ChangeLog | |
parent | ff504d3cc96bf315b06c988c080ab47121ce3c41 (diff) | |
download | ruby-e0af046ad04127f419b2b9696694eb2efca130fc.tar.gz |
* hash.c (rb_f_getenv): use rb_filesystem_str_new_cstr
instead of rb_str_new2.
ENV['PATH'].encoding should be Filesystem Encoding
because its content is related to filesystem.
see [ruby-dev:39393]
* hash.c (env_fetch): ditto.
* string.c (rb_filesystem_str_new): defined.
* string.c (rb_filesystem_str_new_cstr): ditto.
* include/ruby/intern.h (rb_filesystem_str_new): added.
* include/ruby/intern.h (rb_filesystem_str_new_cstr): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1,3 +1,21 @@ +Tue Sep 29 04:07:58 2009 NARUSE, Yui <naruse@ruby-lang.org> + + * hash.c (rb_f_getenv): use rb_filesystem_str_new_cstr + instead of rb_str_new2. + ENV['PATH'].encoding should be Filesystem Encoding + because its content is related to filesystem. + see [ruby-dev:39393] + + * hash.c (env_fetch): ditto. + + * string.c (rb_filesystem_str_new): defined. + + * string.c (rb_filesystem_str_new_cstr): ditto. + + * include/ruby/intern.h (rb_filesystem_str_new): added. + + * include/ruby/intern.h (rb_filesystem_str_new_cstr): ditto. + Tue Sep 29 04:06:18 2009 NARUSE, Yui <naruse@ruby-lang.org> * include/ruby/st.h: include inttypes.h and stdint.h. |