Wine should warn when ulimit -n needs raising

2010-05-09 Thread Octavian Voicu
I was looking at http://bugs.winehq.org/show_bug.cgi?id=19861 and it seemed pretty easy to fix. In my opinion, the warning should either go in server/file.c - file_set_error() or in server/fd.c - open_fd(). open_fd() is pretty much the only place where open() is called, so it's a good candidate.

Re: Wine should warn when ulimit -n needs raising

2010-05-09 Thread Alexandre Julliard
Octavian Voicu octavian.vo...@gmail.com writes: I was looking at http://bugs.winehq.org/show_bug.cgi?id=19861 and it seemed pretty easy to fix. In my opinion, the warning should either go in server/file.c - file_set_error() or in server/fd.c - open_fd(). You can't print warnings from the

Re: Wine should warn when ulimit -n needs raising

2010-05-09 Thread Octavian Voicu
On Sun, May 9, 2010 at 8:23 PM, Alexandre Julliard julli...@winehq.org wrote: You can't print warnings from the server, they usually won't go where you want them to. That's unfortunate. The only remaining place to do that is in ntdll/FILE_CreateFile and check for status code