From: "H.Yamamoto" Date: 2005-12-14T09:29:02+09:00 Subject: [ruby-dev:28024] Re: 1.8.4 documents? 山本です。 >以下のようにさまざまな修正があるのですが、時間をいただければ >作業します。が、12/24 には間に合いません。分担しませんか? 私の分のコメントです。 +Mon Nov 28 13:08:54 2005 Hirokazu Yamamoto + + * win32/win32.c (rb_w32_strerror): remove all CR and LF. (avoid broken + error message on bccwin32 + winsock) bccwin32 で winsock のエラーを表示するとき、strerror の返すエラーメッセージの 途中に改行が入るために、ruby の出力するエラーメッセージが壊れていたのを修正。 +Mon Nov 28 09:21:49 2005 Hirokazu Yamamoto + + * lib/mkmf.rb (create_makefile): should not change sodir with + dir.gsub!. (bccwin32 failed to install third party exntesions) + [ruby-dev:27834] EXTOUT を使わず、extconf.rb で外部拡張ライブラリをインストールする時に、 make ターゲット名が意図せず改変されていたため、bccwin32 で拡張ライブラリが インストールできなくなっていたのを修正。 +Thu Nov 24 01:22:25 2005 Hirokazu Yamamoto + + * file.c (w32_io_info): CreateFile failed on Win9x if file was already + opened. (FILE_SHARE_READ was needed, but actually I don't understand + the flags of CreateFile well...) 不要(1.8.3 のバグではないため) +Wed Nov 23 18:55:31 2005 Hirokazu Yamamoto + + * file.c (w32_io_info): should not call GetFileInformationByHandle + for pipe. + + * file.c (w32_io_info): checks return value from rb_w32_get_osfhandle. + + * file.c (w32_io_info): now can identify directory on WinNT. 不要(1.8.3 のバグではないため) +Wed Nov 23 11:01:33 2005 Hirokazu Yamamoto + + * intern.h, file.c: failed to compile on windows. 不要(1.8.3 のバグではないため) +Tue Nov 22 18:36:11 2005 Hirokazu Yamamoto + + * win32/win32.c (winnt_stat): set mapped errno instead of ENOENT. 不要(1.8.3 のバグではないため) +Tue Nov 22 13:18:32 2005 Hirokazu Yamamoto + + * win32/win32.c (rb_w32_stat): Dir.chdir('//server/shared'); + p Dir.glob('*') should work on WinNT. (implemented our own + stat(2) on WinNT) [ruby-list:41552] [ruby-dev:27711] 共有フォルダの共有名に対する Dir.glob が失敗していたのを修正。(これは WinNT における、ランタイムライブラリの stat のバグだと思う)自前で stat を実装することで回避した。 +Fri Nov 18 12:18:02 2005 Hirokazu Yamamoto + + * win32/win32.h (S_IFIFO): r,w = IO.pipe; r.stat.pipe? now + returns true on VisualC++6. VisualC++ 6 では S_IFIFO がなく _S_IFIFO しか定義されていないため、 パイプに対する stat.pipe? が false を返していたのを修正。 +Tue Nov 15 16:23:26 2005 Hirokazu Yamamoto + + * array.c (rb_ary_fill): previous commit disabled this usage: + + a = [0,1,2,3,4,5,6,7,8,9] + a.fill {|i| a[i] * 10} #=> [nil, nil, ...., nil] + + previous commit has the advantage of early garbage collection, but + potensially this would break some script. so I reverted behavior. 不要(1.8.3 のバグではないため) +Tue Nov 15 16:04:10 2005 Hirokazu Yamamoto + + * array.c (rb_ary_fill): tail elements were vanished when the middle + part of array was filled. (ie: [0,1,2,3,4].fill(-1,2,1) => [0,1,-1]) + + * test/ruby/test_array.rb (test_fill): added. 不要(1.8.3 のバグではないため) +Fri Nov 11 07:44:18 2005 Hirokazu Yamamoto + + * configure.in: undef HAVE_LINK on BeOS. (link(2) always returns + EINVAL, and this causes error in test/fileutils.) + + * file.c: overwride chown(2) and fchown(2) on BeOS. (these functions + should not change user/group id if -1 is passed as corresponding + argument, and this causes error in test/fileutils too) + [ruby-dev:27672] + + * file.c (rb_file_s_link): checks HAVE_LINK. BeOS でのいくつかのテスト失敗に対処。link(2) が定義されていながら常に失敗 するので test/fileutils が誤動作していたのに対処。BeOS には link(2) は存在 しないと見なすようにした。chown、fchown に id として -1 を渡した場合は、 POSIX 的には id を変更すべきでないが、BeOS では (unsigned) -1 に変更して しまっていた。これに対処。 +Sun Nov 6 21:46:59 2005 Hirokazu Yamamoto + + * ext/tk/stubs.c (ruby_tcl_create_ip_and_stubs_init): should touch + interpreter after initialization is done. [ruby-dev:27638] 1.8.3 に存在したバグかどうか未確認。SEGV バグの修正。 +Mon Oct 31 02:35:59 2005 Hirokazu Yamamoto + + * test/ruby/test_float.rb (test_precision): test by assert_in_delta. + [ruby-dev:27575] 不要(テストの修正なので) +Wed Oct 26 09:27:27 2005 Hirokazu Yamamoto + + * ext/syck/implicit.c (syck_type_id_to_uri): should return + newly allocated memory. otherwise, type_id will be freed + twice. [ruby-dev:27384] [ruby-core:6385] syck のメモリバグをひとつ修正。(他にもたくさんあります!私には修正不能) +Wed Oct 26 09:04:51 2005 Hirokazu Yamamoto + + * ruby.h (Qfalse, Qtrue, Qnil, Qundef): make sure these immediate + values have VALUE type. there is an environment where sizeof(VALUE) + != sizeof(int) like IA64. if 32bit integer (Qtrue) is passed to ANYARGS + and received by 64bit integer (VALUE), upper bits may have garbage value. + [ruby-dev:27513] IA64 で、Qtrue Qfalse Qnil が 64bit 整数でなく 32bit 整数として定義されていた ため、ANYARGS を通して Qtrue を渡し、VALUE で受けると、サイズの違いから値が 壊れることのあった問題を修正。 +Fri Oct 21 19:21:56 2005 Hirokazu Yamamoto + + * rubysig.h (CHECK_INTS): fixed typo. (I believe bit-or is improper) 不要(1.8.3 のバグではないため) +Fri Oct 21 15:27:17 2005 Hirokazu Yamamoto + + * bignum.c (bignew_1): convertion from `int' to `char' discards + upper bits, (ie. (char)0xff00 -> 0) so it's better to test if + nonzero and set 0 or 1 instead of simply casting ... as a flag usage. + (but I believe this won't cause actual bug in current implementation) + [ruby-dev:27055] + + * time.c: should use LONG_LONG instead of `long long'. 不要 +Thu Oct 20 09:37:15 2005 Hirokazu Yamamoto + + * lib/mkmf.rb (create_makefile): Borland make seems not to allow + empty dependency list. If this change is not good, please correct + it. + 不要(1.8.3 のバグではないため)