commit | 8f3c0a375e8365dab0ee66435805dda1f2f43ed9 | [log] [tgz] |
---|---|---|
author | Gerard Patel <g.patel@wanadoo.fr> | Sun Jun 27 15:26:37 1999 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Sun Jun 27 15:26:37 1999 +0000 |
tree | b8f185837cbcfa4cf954a00dbf7842be36a2e156 | |
parent | e8c552e07b8ae767267924572c512c2352248109 [diff] [blame] |
Return ERROR_DISK_FULL for WriteFile.
diff --git a/files/file.c b/files/file.c index edce507..5734cbb 100644 --- a/files/file.c +++ b/files/file.c
@@ -1144,6 +1144,9 @@ { if ((errno == EAGAIN) || (errno == EINTR)) continue; if ((errno == EFAULT) && VIRTUAL_HandleFault( buffer )) continue; + if (errno == ENOSPC) + SetLastError( ERROR_DISK_FULL ); + else FILE_SetDosError(); break; }