[PATCH] ntdll: Show one-time ERR if NOFILE limit is reached.

Octavian Voicu octavian.voicu at gmail.com
Thu Jun 10 17:02:51 CDT 2010


On Sat, May 15, 2010 at 1:55 AM, Octavian Voicu
<octavian.voicu at 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



More information about the wine-devel mailing list