[Bug #2369] ENV's strange behavior on WinXP

Bug #2369: ENV’s strange behavior on WinXP
http://redmine.ruby-lang.org/issues/show/2369

e$B5/I<<Te(B: _ wanabe
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$B%+%F%4%je(B: core, Target version: 1.9.x
ruby -v: ruby 1.9.2dev (2009-11-14 trunk 25768) [i386-mingw32]

Windows XP SP2 e$B4D6-$Ne(B Mingw
e$B$G!"4D6-JQ?t$K:GBgJ8;z?t$K6a$$D9$5$NCM$+e(B
e$B$^$?$O:GBgJ8;z?t$rD6$([email protected]_Dj$7$h$&$H$7$?>l9g$N5sF0$,$*$+$7$$$h$&$G$9!#e(B
e$B3NG’MQ$N%9%/%j%W%H$rE:IU$7$^$9!#e(B

e$B%9%/%j%W%H$N%3%a%s%H$K=q$-$^$7$?$H$*$j!"e(B
32767 e$BJ8;z$h$j$d$dC;$$CM$r%;%C%H$9$k$HCM$,@5$7$/<h$j=P$;$^$;$s!#e(B
GetEnvironmentVariableAe$B$G3NG’[email protected]$7$/<h$j=P$;$F$$$k$h$&$G$9!#e(B

e$B$^$?!"e(B32767 e$BJ8;z$rD6$($?CM$r2?EY$b%;%C%H$9$k$He(B SEGV
e$B$7$^$9!#e(B
e$B62$i$/$3$N$?$a$K!“e(Bmake test-all e$B$,e(B
TestRequire#test_require_too_long_filename e$B$+e(B
e$B$”[email protected]$Ne(B TestRipper_Generic#test_parse_files
e$BEy$GMn$A$^$9!#e(B

e$B:,K\E*$K$OA0<T$Oe(B kernel32.dlle$B!"8e<T$Oe(B msvcrt.dll
e$B$N%P%[email protected]$H$O;W$&$N$G$9$,!"e(B
e$B$h$m$7$1$l$PBP:v$r$*4j$$$$$?$7$^$9!#e(B