On Sat, May 15, 2010 at 1:55 AM, Octavian Voicu octavian.voicu@gmail.com wrote:
Forgot to mention, this fixes http://bugs.winehq.org/show_bug.cgi?id=19861.
That bug was nominated for 1.2, but I see the patch is still pending. Why not commit it?
I tested the fix briefly by lowering ulimit -n and the message is triggered. On the other hand, a ridiculously low value for ulimit -n gives weird errors -- there's nothing we can do about those.
There might be some other places where the EMFILE error could be triggered, but having it just in CreateFile is a pretty good heuristic imho.
Do we want to give more info on how to fix this, maybe point to a wiki page?
Octavian