mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-07 18:00:43 +01:00
* convert disk full to run time error 101
git-svn-id: trunk@18131 -
This commit is contained in:
parent
9b9cc6d94f
commit
28126cf0d5
@ -102,6 +102,7 @@ const
|
||||
{ A pipe has been closed on the other end }
|
||||
{ Removing that error allows eof to works as on other OSes }
|
||||
ERROR_BROKEN_PIPE = 109;
|
||||
ERROR_DISK_FULL = 112;
|
||||
ERROR_DIR_NOT_EMPTY = 145;
|
||||
ERROR_ALREADY_EXISTS = 183;
|
||||
|
||||
@ -282,6 +283,8 @@ threadvar
|
||||
{ to the DOS/TP compatible error codes when in this range }
|
||||
res := word(pErrno^)+131;
|
||||
end;
|
||||
ERROR_DISK_FULL :
|
||||
res := 101;
|
||||
ERROR_DIR_NOT_EMPTY,
|
||||
ERROR_ALREADY_EXISTS,
|
||||
ERROR_SHARING_VIOLATION :
|
||||
|
||||
Loading…
Reference in New Issue
Block a user