X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=cbits%2FWin32Utils.c;h=fd4d1eb0ef46b613727cc2547a0fe8541147653f;hb=7dbb606d7b57cdad87a0ffbdb6ea4a274ebca7c0;hp=0f4eb520efcc8353186f998e650d3edb771766ab;hpb=c5a5a3183ce8e4b36dab2b6cdef6260ce7f41a7e;p=ghc-base.git diff --git a/cbits/Win32Utils.c b/cbits/Win32Utils.c index 0f4eb52..fd4d1eb 100644 --- a/cbits/Win32Utils.c +++ b/cbits/Win32Utils.c @@ -61,7 +61,10 @@ static struct errentry errtable[] = { { ERROR_ALREADY_EXISTS, EEXIST }, /* 183 */ { ERROR_FILENAME_EXCED_RANGE, ENOENT }, /* 206 */ { ERROR_NESTING_NOT_ALLOWED, EAGAIN }, /* 215 */ - { ERROR_NOT_ENOUGH_QUOTA, ENOMEM } /* 1816 */ + /* Windows returns this when the read end of a pipe is + * closed (or closing) and we write to it. */ + { ERROR_NO_DATA, EPIPE }, /* 232 */ + { ERROR_NOT_ENOUGH_QUOTA, ENOMEM } /* 1816 */ }; /* size of the table */