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:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user