summaryrefslogtreecommitdiff
path: root/command_line/CmdLine/Src/MacEmul/ErrMgr.c
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2022-10-13 15:30:47 +0100
committerAsh Wolf <ninji@wuffs.org>2022-10-13 15:30:47 +0100
commit59a724bd4cc7a543686c633572510e6763b34d39 (patch)
tree8a29e94d9ca50a7f175f10b7f22290d6948b59cf /command_line/CmdLine/Src/MacEmul/ErrMgr.c
parentc198d1135a80d607161c62ec43c1d1182f62bbf7 (diff)
downloadMWCC-59a724bd4cc7a543686c633572510e6763b34d39.tar.gz
MWCC-59a724bd4cc7a543686c633572510e6763b34d39.zip
fix issues in OSLib Memory and ErrMgr, fully match OSLib Files
Diffstat (limited to 'command_line/CmdLine/Src/MacEmul/ErrMgr.c')
-rw-r--r--command_line/CmdLine/Src/MacEmul/ErrMgr.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/command_line/CmdLine/Src/MacEmul/ErrMgr.c b/command_line/CmdLine/Src/MacEmul/ErrMgr.c
index 65bb89c..5fc621d 100644
--- a/command_line/CmdLine/Src/MacEmul/ErrMgr.c
+++ b/command_line/CmdLine/Src/MacEmul/ErrMgr.c
@@ -18,10 +18,11 @@ static const char *getsyserr(SInt16 msgNbr) {
case -52: return "Get file position error";
case -54: return "Invalid file access or invalid permissions";
case -61: return "Write permissions error";
- case -108: return "Null or invalid address detected";
- case -109: return "invalid handle detected";
- case -113: return "Directory not found";
- case -120: return "User cancelled";
+ case -108: return "Out of available memory or buffer size exceeded";
+ case -109: return "NULL or invalid address detected";
+ case -113: return "invalid handle detected";
+ case -120: return "Directory not found";
+ case -128: return "User cancelled";
case -192: return "Resource not found";
case -1302: return "Not a file";
case -1309: return "Seek position exceeds boundaries for filesystem";