summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-05-18 02:08:00 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-05-18 02:08:00 +0000
commit1957096e43f3ea9a3f779b187282493622321a3d (patch)
tree7b41cb19a3365263e90934da28aa9572011b1270 /eval.c
parent251241bf7c078ba73ad682719a2ab00f40eb1e66 (diff)
downloadruby-1957096e43f3ea9a3f779b187282493622321a3d.tar.gz
ruby-1957096e43f3ea9a3f779b187282493622321a3d.tar.xz
ruby-1957096e43f3ea9a3f779b187282493622321a3d.zip
* dir.c (glob_helper): get rid of using String. [ruby-dev:26180]
* eval.c (ruby_options), win32/win32.c (NtInitialize): move argument intialization back. [ruby-dev:26180] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/eval.c b/eval.c
index b5e8a767d..c3b9d3924 100644
--- a/eval.c
+++ b/eval.c
@@ -1423,10 +1423,6 @@ ruby_options(argc, argv)
{
int state;
-#ifdef _WIN32
- argc = rb_w32_cmdvector(GetCommandLine(), &argv);
-#endif
-
Init_stack((void*)&state);
PUSH_THREAD_TAG();
if ((state = EXEC_TAG()) == 0) {
@@ -1441,10 +1437,6 @@ ruby_options(argc, argv)
exit(error_handle(state));
}
POP_THREAD_TAG();
-
-#ifdef _WIN32_WCE
- wce_FreeCommandLine();
-#endif
}
void rb_exec_end_proc _((void));