#151 √ resolved
Jeffrey 'jf' Lim

[patch] merb-cache read throws 'Bad file number' (Errno::EBADF) on Solaris

Reported by Jeffrey 'jf' Lim | May 30th, 2008 @ 09:46 PM | in 1.0

if a cached page exists, merb-cache throws an EBADF when you try to read it on Solaris.

Non-intrusive fix for Solaris's flock implementation (Linux still works!!! yeah). Pls test to verify on "your favourite OS", and on BSD as well, but seriously don't think that this should be a problem.

Havent tested for speed as well, but I suspect this shouldn't incur any penalty as well, since we are after all still looking at a LOCK_EX - that hasn't changed.

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket