Commit b457bcc1 authored by rswindell's avatar rswindell
Browse files

Added EX_BIN definition for executing binary i/o programs using stdio on Unix.

parent b7487707
......@@ -194,7 +194,7 @@ int sbbs_t::protocol(char *cmdline, int cd)
i=external(cmdline
,EX_OUTL
#ifdef __unix__ /* file xfer progs use stdio on Unix */
|EX_INR|EX_OUTR
|EX_INR|EX_OUTR|EX_BIN
#endif
,p);
sys_status&=~SS_FILEXFER;
......
......@@ -967,7 +967,7 @@ int sbbs_t::exec_misc(csi_t* csi, char *path)
? cfg.prot[i]->dlcmd : cfg.prot[i]->ulcmd,str,str,buf)
,EX_OUTL
#ifdef __unix__ /* file xfer progs use stdio on Unix */
|EX_INR|EX_OUTR
|EX_INR|EX_OUTR|EX_BIN
#endif
)==0)
csi->logic=LOGIC_TRUE;
......@@ -989,7 +989,7 @@ int sbbs_t::exec_misc(csi_t* csi, char *path)
? cfg.prot[i]->dlcmd : cfg.prot[i]->ulcmd,*pp,*pp,buf)
,EX_OUTL
#ifdef __unix__ /* file xfer progs use stdio on Unix */
|EX_INR|EX_OUTR
|EX_INR|EX_OUTR|EX_BIN
#endif
)==0)
csi->logic=LOGIC_TRUE;
......
......@@ -718,6 +718,7 @@ enum { /* readmail and delmailidx which types */
#define EX_OFFLINE (1<<8) /* Run this program offline */
#define EX_NATIVE (1<<9) /* Native 32-bit application */
#define EX_BG (1<<10) /* Back-ground/detached process */
#define EX_BIN (1<<11) /* Binary mode (no Unix LF to CRLF) */
#define OS2_POPEN (1<<0) /* Leave COM port open */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment