ruby-trunk-changes r53696 - r53702

今日は主にテストの追加やリファクタリングのみでした。

nobu: r53696 2016-01-31 11:58:33 +0900

io.c の rb_file_open_generic(), pipe_open(), pipe_open_s() などの関数の convconfig 引数の型に const 修飾子を追加しています。

svn: r53697 2016-01-31 11:58:34 +0900

version.h の日付更新。

nobu: r53698 2016-01-31 12:11:14 +0900

rb_io_open() から check_pipe_command() と rb_file_open_generic() の呼び出し部分を rb_io_open_generic() として切り出し、rb_io_s_binread() でもこの関数を利用して mode を文字列として渡して rb_io_open() を呼び出していたのを回避しています。余分なオブジェクト生成を抑えるためだそうです。

nobu: r53699 2016-01-31 12:16:40 +0900

doc/standard_library.rdoc の typo 修正。 https://github.com/ruby/ruby/pull/1230

nobu: r53700 2016-01-31 12:20:22 +0900

symbolic link に対する File.lstat と File#lstat のテストを追加しています。 https://github.com/ruby/ruby/pull/1231

nobu: r53701 2016-01-31 12:34:21 +0900

drb のテスト用のサーバ DRbLarge に数の配列についてのメソッドをいくつか追加してこれを利用したテストを追加しています。 うーむ、これはなにを狙ったテストなんだろう。 https://github.com/ruby/ruby/pull/1086

nobu: r53702 2016-01-31 18:43:22 +0900

r53688 の Windows 版 symlink の判定の修正についてのテストを追加しています。 mountvol コマンドを利用して volume mount point を作成してそれを判定させています。