mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-24 22:11:42 +02:00
* mapping of I/O error number 206 having different meaning in FPC to RTE 3
git-svn-id: trunk@29797 -
This commit is contained in:
parent
79118e531f
commit
b9f88aa80c
@ -84,7 +84,8 @@ procedure emx_init; external 'EMX' index 1;
|
|||||||
112 : InOutRes := 101;
|
112 : InOutRes := 101;
|
||||||
110 : InOutRes := 5;
|
110 : InOutRes := 5;
|
||||||
114 : InOutRes := 6;
|
114 : InOutRes := 6;
|
||||||
290 : InOutRes := 290;
|
206 : InOutRes := 3;
|
||||||
|
290 : InOutRes := 4;
|
||||||
end;
|
end;
|
||||||
{ all other cases ... we keep the same error code }
|
{ all other cases ... we keep the same error code }
|
||||||
end;
|
end;
|
||||||
|
|||||||
@ -226,7 +226,8 @@ const
|
|||||||
112 : InOutRes := 101;
|
112 : InOutRes := 101;
|
||||||
110 : InOutRes := 5;
|
110 : InOutRes := 5;
|
||||||
114 : InOutRes := 6;
|
114 : InOutRes := 6;
|
||||||
290 : InOutRes := 290;
|
206 : InOutRes := 3; (* TH: Path too long *)
|
||||||
|
290 : InOutRes := 4;
|
||||||
end;
|
end;
|
||||||
{ all other cases ... we keep the same error code }
|
{ all other cases ... we keep the same error code }
|
||||||
end;
|
end;
|
||||||
@ -321,7 +322,7 @@ type
|
|||||||
Nested_RepRec: PExceptionReportRecord;
|
Nested_RepRec: PExceptionReportRecord;
|
||||||
Address: pointer;
|
Address: pointer;
|
||||||
ParamCount: cardinal;
|
ParamCount: cardinal;
|
||||||
Parameters: array [0..MaxExceptionParameters] of cardinal;
|
Parameters: array [0..Pred (MaxExceptionParameters)] of cardinal;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
TContextRecord = packed record
|
TContextRecord = packed record
|
||||||
|
|||||||
@ -380,6 +380,7 @@ type
|
|||||||
begin
|
begin
|
||||||
res :=5;
|
res :=5;
|
||||||
end;
|
end;
|
||||||
|
ERROR_FILENAME_EXCED_RANGE : Res := 3;
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
{ other error codes can directly be mapped }
|
{ other error codes can directly be mapped }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user