Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
b457bcc1
Commit
b457bcc1
authored
23 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Added EX_BIN definition for executing binary i/o programs using stdio on Unix.
parent
b7487707
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/sbbs3/download.cpp
+1
-1
1 addition, 1 deletion
src/sbbs3/download.cpp
src/sbbs3/execmisc.cpp
+2
-2
2 additions, 2 deletions
src/sbbs3/execmisc.cpp
src/sbbs3/sbbsdefs.h
+1
-0
1 addition, 0 deletions
src/sbbs3/sbbsdefs.h
with
4 additions
and
3 deletions
src/sbbs3/download.cpp
+
1
−
1
View file @
b457bcc1
...
@@ -194,7 +194,7 @@ int sbbs_t::protocol(char *cmdline, int cd)
...
@@ -194,7 +194,7 @@ int sbbs_t::protocol(char *cmdline, int cd)
i
=
external
(
cmdline
i
=
external
(
cmdline
,
EX_OUTL
,
EX_OUTL
#ifdef __unix__
/* file xfer progs use stdio on Unix */
#ifdef __unix__
/* file xfer progs use stdio on Unix */
|
EX_INR
|
EX_OUTR
|
EX_INR
|
EX_OUTR
|
EX_BIN
#endif
#endif
,
p
);
,
p
);
sys_status
&=~
SS_FILEXFER
;
sys_status
&=~
SS_FILEXFER
;
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/execmisc.cpp
+
2
−
2
View file @
b457bcc1
...
@@ -967,7 +967,7 @@ int sbbs_t::exec_misc(csi_t* csi, char *path)
...
@@ -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
)
?
cfg
.
prot
[
i
]
->
dlcmd
:
cfg
.
prot
[
i
]
->
ulcmd
,
str
,
str
,
buf
)
,
EX_OUTL
,
EX_OUTL
#ifdef __unix__
/* file xfer progs use stdio on Unix */
#ifdef __unix__
/* file xfer progs use stdio on Unix */
|
EX_INR
|
EX_OUTR
|
EX_INR
|
EX_OUTR
|
EX_BIN
#endif
#endif
)
==
0
)
)
==
0
)
csi
->
logic
=
LOGIC_TRUE
;
csi
->
logic
=
LOGIC_TRUE
;
...
@@ -989,7 +989,7 @@ int sbbs_t::exec_misc(csi_t* csi, char *path)
...
@@ -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
)
?
cfg
.
prot
[
i
]
->
dlcmd
:
cfg
.
prot
[
i
]
->
ulcmd
,
*
pp
,
*
pp
,
buf
)
,
EX_OUTL
,
EX_OUTL
#ifdef __unix__
/* file xfer progs use stdio on Unix */
#ifdef __unix__
/* file xfer progs use stdio on Unix */
|
EX_INR
|
EX_OUTR
|
EX_INR
|
EX_OUTR
|
EX_BIN
#endif
#endif
)
==
0
)
)
==
0
)
csi
->
logic
=
LOGIC_TRUE
;
csi
->
logic
=
LOGIC_TRUE
;
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/sbbsdefs.h
+
1
−
0
View file @
b457bcc1
...
@@ -718,6 +718,7 @@ enum { /* readmail and delmailidx which types */
...
@@ -718,6 +718,7 @@ enum { /* readmail and delmailidx which types */
#define EX_OFFLINE (1<<8)
/* Run this program offline */
#define EX_OFFLINE (1<<8)
/* Run this program offline */
#define EX_NATIVE (1<<9)
/* Native 32-bit application */
#define EX_NATIVE (1<<9)
/* Native 32-bit application */
#define EX_BG (1<<10)
/* Back-ground/detached process */
#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 */
#define OS2_POPEN (1<<0)
/* Leave COM port open */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment