From 932fae300ed76b62590014a88f5fc83cdd687ef9 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Wed, 16 Nov 2016 07:58:21 +0000
Subject: [PATCH] Leave the console-abort status intact when returning from
 executing a Baja module. This is a reversal of the revision 1.102 commit
 (Jan-2-2016), but only for Baja (JS is left with the new behavior). As the
 commit message said "We'll see", and what we saw was that the yesnobar.bin
 and noyesbar.bin long-standing Baja modules no longer returned "No" when the
 user hit Ctrl-C. So at least for now, we have different behavior with regards
 to the console abort (ctrl-C) flag between JS and Baja. :-/

---
 src/sbbs3/exec.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbbs3/exec.cpp b/src/sbbs3/exec.cpp
index 7bf4938a69..a41658f883 100644
--- a/src/sbbs3/exec.cpp
+++ b/src/sbbs3/exec.cpp
@@ -819,7 +819,7 @@ long sbbs_t::exec_bin(const char *cmdline, csi_t *csi, const char* startup_dir)
 	freevars(&bin);
 	free(bin.cs);
 	csi->logic=bin.logic;
-	sys_status &=~ SS_ABORT;
+//	sys_status &=~ SS_ABORT;
 	return(bin.retval);
 }
 
-- 
GitLab