diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-02 04:55:06 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-02 04:55:06 +0000 |
| commit | af3460ef8cb371dad29c8c198ed4c0928278194c (patch) | |
| tree | 634e4952a0e3334a75a84dad036871dfc36bae8b | |
| parent | b8457edd8ab7eb6f16a0e4f0efb509ea07cba3ad (diff) | |
* eval.c (rb_origenviron): remove unused old variable.
[ruby-dev:39412]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | eval.c | 13 |
2 files changed, 5 insertions, 13 deletions
@@ -1,3 +1,8 @@ +Fri Oct 2 13:54:46 2009 NAKAMURA Usaku <usa@ruby-lang.org> + + * eval.c (rb_origenviron): remove unused old variable. + [ruby-dev:39412] + Fri Oct 2 13:53:48 2009 NAKAMURA Usaku <usa@ruby-lang.org> * win32/{setup.mak,Makefile.sub,win32.c} (RT_VER): split compiler @@ -1382,13 +1382,6 @@ error_print() POP_TAG(); } -#if defined(__APPLE__) -#define environ (*_NSGetEnviron()) -#elif !defined(_WIN32) && !defined(__MACOS__) || defined(_WIN32_WCE) -extern char **environ; -#endif -char **rb_origenviron; - void rb_call_inits _((void)); void Init_heap _((void)); void Init_ext _((void)); @@ -1430,12 +1423,6 @@ ruby_init() ruby_frame = top_frame = &frame; ruby_iter = &iter; -#ifdef __MACOS__ - rb_origenviron = 0; -#else - rb_origenviron = environ; -#endif - ruby_init_stack((void*)&state); Init_heap(); PUSH_SCOPE(); |
