[#39222] [Bug #2036] AIX 5L 5.2にて、ruby-1.8.7-p174のビルド時にmake testをするとエラーになった。not ok float 7 -- ./sample/test.rb:1232 — 和弥 寺元 <redmine@...>

Bug #2036: AIX 5L 5.2にて、ruby-1.8.7-p174のビルド時にmake testをするとエラーになった。not ok float 7 -- ./sample/test.rb:1232

13 messages 2009/09/03

[#39249] [Bug #2060] DLをCからRubyに変換する事を勧めます — Aaron Patterson <redmine@...>

Bug #2060: DLをCからRubyに変換する事を勧めます

10 messages 2009/09/07

[#39282] [Bug #2067] bodyが大きいエラーページをopen-uriで取得するとfdがリークしている — takeru sasaki <redmine@...>

チケット #2067 が更新されました。 (by takeru sasaki)

15 messages 2009/09/10
[#39283] Re: [Bug #2067] bodyが大きいエラーページをopen-uriで取得するとfdがリークしている — Yukihiro Matsumoto <matz@...> 2009/09/10

まつもと ゆきひろです

[#39284] Re: [Bug #2067] bodyが大きいエラーページをopen-uriで取得するとfdがリークしている — Nobuyoshi Nakada <nobu@...> 2009/09/10

なかだです。

[#39297] Re: [Bug #2067] bodyが大きいエラーページをopen-uriで取得するとfdがリークしている — Yukihiro Matsumoto <matz@...> 2009/09/10

まつもと ゆきひろです

[#39298] Re: [Bug #2067] bodyが大きいエラーページをopen-uriで取得するとfdがリークしている — Tanaka Akira <akr@...> 2009/09/10

In article <E1MliJq-0000yc-4o@x61.netlab.jp>,

[#39302] Re: [Bug #2067] bodyが大きいエラーページをopen-uriで取得するとfdがリークしている — takeru sasaki <sasaki.takeru@...> 2009/09/10

言いだしっぺの佐々木です。

[#39307] Re: [Bug #2067] bodyが大きいエラーページをopen-uriで取得するとfdがリークしている — Yukihiro Matsumoto <matz@...> 2009/09/10

まつもと ゆきひろです

[#39345] [Bug #2111] Error:test_rm_f(TestFileUtils) — Kazuhiro NISHIYAMA <redmine@...>

Bug #2111: Error:test_rm_f(TestFileUtils)

11 messages 2009/09/17

[#39352] [ruby19] Thread 切替えが異常に遅い? — Hidetoshi NAGAI <nagai@...>

永井@知能.九工大です.

12 messages 2009/09/20

[#39367] Almost endless loop of BigMath::atan(x) when x.abs >= 1 — "Masahiro Kanai (CanI)" <cani.m.61st@...>

金井 仁弘と申します。

13 messages 2009/09/23
[#39980] Re: Almost endless loop of BigMath::atan(x) when x.abs >= 1 — TOYOFUKU Chikanobu <nobu_toyofuku@...> 2010/01/07

豊福です。遅い反応ですが。

[#39982] Re: Almost endless loop of BigMath::atan(x) when x.abs >= 1 — TOYOFUKU Chikanobu <nobu_toyofuku@...> 2010/01/07

豊福です。

[#39388] Re: [ruby-cvs:32331] Ruby:r25113 (trunk): String#inspect's encoding should be fixed. — "Martin J. Dürst" <duerst@...>

成瀬さん、こんにちは。

9 messages 2009/09/28

[ruby-dev:39223] Re: [ruby-cvs:31917] Ruby:r24699 (trunk): * lib/tmpdir.rb (Dir.mktmpdir): removed thread race condition.

From: Tanaka Akira <akr@...>
Date: 2009-09-03 10:46:43 UTC
List: ruby-dev #39223
In article <4a9f873c.22035a0a.40fb.2740@mx.google.com>,
  Nobuyoshi Nakada <nobu@ruby-lang.org> writes:

> O_EXCL自体がサポートされていないということは、既存のファイルを上
> 書きしてしまうということじゃないでしょうか。

なかださんが [ruby-dev:39210] で引用したマニュアルの記述は、
単に O_EXCL が無視されるっていうニュアンスではないように思い
ます。「競合状態 (race condition) に出会う可能性がある」とい
う話なので、競合が起きなければ動くんじゃないでしょうか。

テンポラリファイルの場合、成功すべきところで失敗するだけなら
ごみファイルができるだけで済みますが、失敗すべきところで成功
すると上書きされる可能性が出てきます。

UDP で response が落ちるというだけなら前者で済むと思うんです
が、それ以外にもなにか問題があると上書きしちゃうかもしれない
ですね。

いちおう、RFC 1094 には

| 2.2.10.  Create File
| 
|            struct createargs {
|                    diropargs where;
|                    sattr attributes;
|            };
| 
|            diropres
|            NFSPROC_CREATE(createargs) = 9;
| 
|    The file "name" is created in the directory given by "dir".  The
|    initial attributes of the new file are given by "attributes".  A
|    reply "status" of NFS_OK indicates that the file was created, and
|    reply "file" and reply "attributes" are its file handle and
|    attributes.  Any other reply "status" means that the operation failed
|    and no file was created.
| 
|    Notes:  This routine should pass an exclusive create flag, meaning
|    "create the file only if it is not already there".

とあって、Notes のところで O_EXCL を渡すと読めるような気がし
ないでもない記述があるんですが。
-- 
[田中 哲][たなか あきら][Tanaka Akira]

In This Thread