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

* ruby.c (proc_options): supress warning on DOSISH.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2006-07-04 12:50:30 +00:00
parent 6243e40920
commit 50a1f9ffbb
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Jul 4 21:48:56 2006 NAKAMURA Usaku <usa@ruby-lang.org>
* ruby.c (proc_options): supress warning on DOSISH.
Tue Jul 4 15:12:49 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_call): should not set prot_tag->blkid since it would

3
ruby.c
View file

@ -811,7 +811,8 @@ proc_options(int argc, char **argv)
script_node = NEW_BEGIN(0);
}
#if defined DOSISH || defined __CYGWIN__
translate_char(script, '\\', '/');
/* assume that we can change argv[n] if never change its length. */
translate_char((char *)script, '\\', '/');
#endif
argc--; argv++;
}