Skip to content
Snippets Groups Projects
Commit 2d90939b authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

"Native" does not mean "32-bit", it means "Not MS-DOS"

parent 59b8829a
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1368 passed
......@@ -194,7 +194,7 @@ typedef struct js_callback {
/* Bit values for prot[x].misc */
#define PROT_DSZLOG (1<<0) /* Supports DSZ Log */
#define PROT_NATIVE (1<<1) /* Native (32-bit) executable */
#define PROT_NATIVE (1<<1) /* Native (not MS-DOS) executable */
#define PROT_SOCKET (1<<2) /* Use socket I/O, not stdio on *nix */
/* Bit values in netmail_misc */
......@@ -843,7 +843,7 @@ enum { /* readmail and delmailidx which types */
#define EX_OFFLINE (1<<8) /* Run this program offline */
#define EX_BG (1<<10) /* Back-ground/detached process */
#define EX_BIN (1<<11) /* Binary mode (no Unix LF to CRLF) */
#define EX_NATIVE XTRN_NATIVE /* Native 32-bit application */
#define EX_NATIVE XTRN_NATIVE /* Native (not MS-DOS) application */
#define EX_CHKTIME XTRN_CHKTIME /* Check time left */
#define EX_NOECHO XTRN_NOECHO /* Don't echo stdin to stdout */
#define EX_STDIO (EX_STDIN|EX_STDOUT)
......
......@@ -401,7 +401,7 @@ typedef struct
uint16_t total_faddrs; /* Total number of fido addresses */
swap_t **swap; /* Swapping externals */
uint16_t total_swaps; /* Total number of non-swap xtrns */
natvpgm_t **natvpgm; /* Native (32-bit) Programs */
natvpgm_t **natvpgm; /* Native (not MS-DOS) Programs */
uint16_t total_natvpgms; /* Total number of native pgms */
guru_t **guru; /* Gurus */
uint16_t total_gurus; /* Total number of guru files */
......
......@@ -602,9 +602,9 @@ BOOL read_xtrn_cfg(scfg_t* cfg, char* error, size_t maxerrlen)
}
cfg->total_events=i;
/********************************/
/* Native (32-bit) Program list */
/********************************/
/************************************/
/* Native (not MS-DOS) Program list */
/************************************/
get_int(cfg->total_natvpgms,instream);
......
......@@ -388,7 +388,7 @@ int sbbs_t::external(const char* cmdline, long mode, const char* startup_dir)
if(native && mode&EX_STDOUT && !(mode&EX_OFFLINE))
use_pipes=true;
if(native) { // Native (32-bit) external
if(native) { // Native (not MS-DOS) external
if((env_list=strListInit())==NULL) {
XTRN_CLEANUP;
......@@ -1104,7 +1104,7 @@ int sbbs_t::external(const char* cmdline, long mode, const char* startup_dir)
else
SAFECOPY(fullcmdline,cmdline);
if(native) { // Native (32-bit) external
if(native) { // Native (not MS-DOS) external
// Current environment passed to child process
sprintf(dszlog,"%sPROTOCOL.LOG",cfg.node_dir);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment