From: ts Date: 2003-01-27T21:13:17+09:00 Subject: Re: solaris porting problem -- flock failure? >>>>> "a" == ahoward writes: a> also, earlier you said that flock was 'broken' on solaris. what exactly did a> you mean by that? supposedly solaris uses fcntl to implement flock so why a> does ruby need it's own? i'm sure there is an answer i'm just curious... Which version of Solaris ? If I'm remember correctly, on some version flock() work if the file is open for writing. You need a #rewind after you have got a lock. Guy Decoux