Restored compiling of the non-Tcl/Tk version of magic. This has

traditionally been kept for backwards compatibility.  However, the
operation of "ext2spice" and "ext2sim" as separate programs has
become extremely difficult to maintain, and so it has been dropped
in favor of folding both into the program as commands, as was done
a long time ago in the Tcl/Tk version.
This commit is contained in:
Tim Edwards
2022-02-08 16:12:07 -05:00
parent 113f0dfb3f
commit 6ecd077ab4
13 changed files with 225 additions and 148 deletions
+3 -2
View File
@@ -809,11 +809,10 @@ mainInitFinal()
char *rname;
int result;
#ifdef MAGIC_WRAPPER
/* Reset terminal if exit is called inside a TCL script */
Tcl_SetExitProc(tcl_exit_hook);
#ifdef MAGIC_WRAPPER
/* Read in system pre-startup file, if it exists. */
/* Use PaOpen first to perform variable substitutions, and */
@@ -1205,7 +1204,9 @@ mainInitFinal()
UndoFlush();
TxClearPoint();
#ifdef MAGIC_WRAPPER
Tcl_SetExitProc(NULL);
#endif
return 0;
}