diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-19 12:11:53 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-19 12:11:53 +0000 |
| commit | ea85c2968fbf51836b4176d3f047cd8a76aeab90 (patch) | |
| tree | b852a6adbe40b8442cb02252147c1be3c864c038 /ruby.c | |
| parent | 7f519746d13e24f81d1ce5052bea2f4ed3bf0c78 (diff) | |
merges r20869 from trunk into ruby_1_9_1.
* ruby.c (process_options): get rid of warning on DOSISH.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
| -rw-r--r-- | ruby.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1259,7 +1259,7 @@ process_options(VALUE arg) opt->script_name = rb_str_new_cstr(opt->script); opt->script = RSTRING_PTR(opt->script_name); #if defined DOSISH || defined __CYGWIN__ - translate_char(opt->script, '\\', '/'); + translate_char(RSTRING_PTR(opt->script_name), '\\', '/'); #endif rb_obj_freeze(opt->script_name); |
