[Vm-dev] [commit][2790] add ioExitWithErrorCode implementation to
RISC OS; other platforms also need implementation
commits at squeakvm.org
commits at squeakvm.org
Tue Oct 15 17:55:16 UTC 2013
Revision: 2790
Author: rowledge
Date: 2013-10-15 10:55:16 -0700 (Tue, 15 Oct 2013)
Log Message:
-----------
add ioExitWithErrorCode implementation to RISC OS; other platforms also need implementation
Modified Paths:
--------------
trunk/platforms/RiscOS/vm/sqRPCMain.c
Modified: trunk/platforms/RiscOS/vm/sqRPCMain.c
===================================================================
--- trunk/platforms/RiscOS/vm/sqRPCMain.c 2013-10-15 17:54:41 UTC (rev 2789)
+++ trunk/platforms/RiscOS/vm/sqRPCMain.c 2013-10-15 17:55:16 UTC (rev 2790)
@@ -321,10 +321,14 @@
}
sqInt ioExit(void) {
- exit(1);
- return 1;
+ ioExitWithErrorCode(1);
}
+sqInt ioExitWithErrorCode(int ec) {
+ exit(ec);
+ return ec;
+}
+
int ioAssertion(void) {
return 1;
}
More information about the Vm-dev
mailing list