diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-04 07:40:46 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-04 07:40:46 +0000 |
| commit | b74e80deb9421133149fad817173144709ba5524 (patch) | |
| tree | 62892ab98f8b492e241afde8b8371b8d81c09583 /process.c | |
| parent | f859d0aa653e2c00dc99804fe2f4dcff7c387a2d (diff) | |
| download | ruby-b74e80deb9421133149fad817173144709ba5524.tar.gz ruby-b74e80deb9421133149fad817173144709ba5524.tar.xz ruby-b74e80deb9421133149fad817173144709ba5524.zip | |
* lib/cgi.rb (CGI::out): specify -x option for nkf.
* lib/cgi.rb (CGI::out): should not convert utf-8 implicitly using
NKF. it is too Japanese centric.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
| -rw-r--r-- | process.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1173,9 +1173,11 @@ rb_check_argv(int argc, VALUE *argv) prog = RARRAY_PTR(tmp)[0]; argv[0] = RARRAY_PTR(tmp)[1]; SafeStringValue(prog); + StringValueCStr(prog); } for (i = 0; i < argc; i++) { SafeStringValue(argv[i]); + StringValueCStr(argv[i]); } security(RSTRING_PTR(prog ? prog : argv[0])); return prog; |
