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
2d90939b
Commit
2d90939b
authored
4 years ago
by
Deucе
Browse files
Options
Downloads
Patches
Plain Diff
"Native" does not mean "32-bit", it means "Not MS-DOS"
parent
59b8829a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!463
MRC mods by Codefenix (2024-10-20)
Pipeline
#1368
passed
4 years ago
Stage: build
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/sbbs3/sbbsdefs.h
+2
-2
2 additions, 2 deletions
src/sbbs3/sbbsdefs.h
src/sbbs3/scfgdefs.h
+1
-1
1 addition, 1 deletion
src/sbbs3/scfgdefs.h
src/sbbs3/scfglib2.c
+3
-3
3 additions, 3 deletions
src/sbbs3/scfglib2.c
src/sbbs3/xtrn.cpp
+2
-2
2 additions, 2 deletions
src/sbbs3/xtrn.cpp
with
8 additions
and
8 deletions
src/sbbs3/sbbsdefs.h
+
2
−
2
View file @
2d90939b
...
...
@@ -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)
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/scfgdefs.h
+
1
−
1
View file @
2d90939b
...
...
@@ -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 */
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/scfglib2.c
+
3
−
3
View file @
2d90939b
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/xtrn.cpp
+
2
−
2
View file @
2d90939b
...
...
@@ -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
);
...
...
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