[PATCH] Cygwin: Change mappings of Windows ERROR*QUOTA*
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Mar 11 15:07:55 GMT 2026
Hi Mark,
On Mar 5 02:52, Mark Geisert wrote:
> While testing the new rlimit implementation, it was noticed fork()
> returns an EIO error on hitting the process count limit. Per POSIX,
> the error should be EAGAIN. This patch makes the change.
>
> Along the way it was noticed Windows ERROR_DISK_QUOTA_EXCEEDED was not
> being mapped to any POSIX error. This patch changes the mapping to EFBIG.
>
> Addresses: https://cygwin.com/pipermail/cygwin-patches/2026q1/014707.html
> Signed-off-by: Mark Geisert <mark@maxrnd.com>
> Fixes: c2f6c0415501 (Cygwin: errmap[]: update comments using current winerror.h)
>
> ---
> winsup/cygwin/local_includes/errmap.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Pushed. Thanks for your thorough review of my rlimit patches.
Does this patch of yours automatically fix the problem that
251204 [main] forker 7130 dofork: child -1 - CreateProcessW failed for ...
is printed to the tty? If not, I'm looking forward to your patch
fixing that.
Thanks,
Corinna
More information about the Cygwin-patches
mailing list