Commit 0d8e7983 authored by Octavian Voicu's avatar Octavian Voicu Committed by Alexandre Julliard

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

parent 13a7708a
......@@ -87,6 +87,7 @@
#include "ddk/ntddser.h"
WINE_DEFAULT_DEBUG_CHANNEL(ntdll);
WINE_DECLARE_DEBUG_CHANNEL(winediag);
mode_t FILE_umask = 0;
......@@ -203,6 +204,11 @@ static NTSTATUS FILE_CreateFile( PHANDLE handle, ACCESS_MASK access, POBJECT_ATT
break;
}
}
else if (io->u.Status == STATUS_TOO_MANY_OPENED_FILES)
{
static int once;
if (!once++) ERR_(winediag)( "Too many open files, ulimit -n probably needs to be increased\n" );
}
return io->u.Status;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment