[Haskell-cafe] lockFile: fd out of range

Krasimir Angelov kr.angelov at gmail.com
Fri Oct 28 06:11:06 EDT 2005


2005/10/28, Joel Reymont <joelr1 at gmail.com>:
> Understood. I had the same problem with Erlang on Mac OSX and had to
> edit system files to bring it up to the maxium allowed of 10240.
> Worked like a charm after recompiling.
>
> What do you do on Windows where there's no hard-coded FD_SETSIZE?

For quite a long time the file locking was broken on Windows and the
files were not locked at all. After the last major GHC release the
files are locked using the Win32 API and the lockFile hack isn't
required.

Cheers,
  Krasimir


More information about the Haskell-Cafe mailing list