* fix for mantis #25931 return error 5 on EBUSY and ENOTDIR

git-svn-id: trunk@33262 -
This commit is contained in:
marco 2016-03-17 21:14:07 +00:00
parent 62c4ff0e21
commit 9c03d0d6ba
4 changed files with 8 additions and 0 deletions

View File

@ -128,6 +128,8 @@ begin
ESysEROFS,
ESysEEXIST,
ESysENOTEMPTY,
ESysEBusy,
ESysENOTDIR, // busy, enotdir, mantis #25931
ESysEACCES : Inoutres:=5;
ESysEISDIR : InOutRes:=5;
else

View File

@ -108,6 +108,8 @@ begin
ESysEROFS,
ESysEEXIST,
ESysENOTEMPTY,
ESysEBusy,
ESysENOTDIR, // busy, enotdir, mantis #25931
ESysEACCES : Inoutres:=5;
ESysEISDIR : InOutRes:=5;
ESysEPERM : InOutRes:=5;

View File

@ -113,6 +113,8 @@ begin
ESysEEXIST,
ESysENOTEMPTY,
ESysEACCES: r:=5;
ESysEBusy,
ESysENOTDIR, // busy, enotdir, mantis #25931
ESysEISDIR: r:=5;
else
r:=PosixErrno;

View File

@ -71,6 +71,8 @@ begin
ESysEROFS,
ESysEEXIST,
ESysENOTEMPTY,
ESysEBusy,
ESysENOTDIR, // busy, enotdir, mantis #25931
ESysEACCES : Inoutres:=5;
ESysEISDIR : InOutRes:=5;
else