diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | eval.c | 9 |
2 files changed, 5 insertions, 9 deletions
@@ -1,3 +1,8 @@ +Fri Oct 2 09:20:35 2009 NAKAMURA Usaku <usa@ruby-lang.org> + + * eval.c (rb_origenviron): remove unused old variable. + [ruby-dev:39412] + Thu Oct 1 14:16:39 2009 NAKAMURA Usaku <usa@ruby-lang.org> * win32/{setup.mak,Makefile.sub,win32.c},include/ruby/win32.h (RT_VER): @@ -33,13 +33,6 @@ VALUE rb_eSysStackError; /* initialize ruby */ -#if defined(__APPLE__) -#define environ (*_NSGetEnviron()) -#elif !defined(_WIN32) -extern char **environ; -#endif -char **rb_origenviron; - void rb_clear_trace_func(void); void rb_thread_stop_timer_thread(void); @@ -57,8 +50,6 @@ ruby_init(void) return; initialized = 1; - rb_origenviron = environ; - ruby_init_stack((void *)&state); Init_BareVM(); Init_heap(); |