1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-21 14:47:59 +00:00

Remove FORKCOMM define. (#238)

This code path was followed everywhere except DOS, so remove
it from the build system, and adjust the code.
This commit is contained in:
Bruce Mitchener
2021-01-19 13:12:41 +07:00
committed by GitHub
parent c4e4c5ec5b
commit db6b351397
44 changed files with 45 additions and 60 deletions

View File

@@ -103,14 +103,12 @@ int main(int argc, char *argv[])
XCloseDisplay(Xdisplay);
strcpy(filetorun, LDEX);
#ifdef FORKCOMM
/* JRB - call fork_Unix here, while we're REALLY small, unless -NF is
specified, of course... */
for (i = 0; i < argc; i++)
if (!strcmp(argv[i], "-NF")) break;
if (i == argc) /* -NF not in arguments */
fork_Unix();
#endif /* FORKCOMM */
argv[0] = filetorun;
execvp(filetorun, argv);
@@ -181,14 +179,12 @@ int main(int argc, char *argv[])
#endif /* USESUNSCREEN */
#ifdef FORKCOMM
/* JRB - call fork_Unix here, while we're REALLY small, unless -NF is
specified, of course... */
for (i = 0; i < argc; i++)
if (!strcmp(argv[i], "-NF")) break;
if (i == argc) /* -NF not in arguments */
fork_Unix();
#endif
/* start ldemono or ldecolor */