undo change from 1.1.12: no reset enforcement
This commit is contained in:
parent
29442c91c8
commit
393da34c66
|
|
@ -1,3 +1,6 @@
|
||||||
|
2012-01-03 Holger Vogt
|
||||||
|
* runcoms.c: undo change from 2012-01-01, conflict with 'alter', altermod'
|
||||||
|
|
||||||
2012-01-02 Robert Larice
|
2012-01-02 Robert Larice
|
||||||
* src/frontend/inpcom.c :
|
* src/frontend/inpcom.c :
|
||||||
cleanup, muffle compiler warning
|
cleanup, muffle compiler warning
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,6 @@ char rawfileBuf[RAWBUF_SIZE];
|
||||||
/*To tell resume the rawfile name saj*/
|
/*To tell resume the rawfile name saj*/
|
||||||
char *last_used_rawfile = NULL;
|
char *last_used_rawfile = NULL;
|
||||||
/*end saj */
|
/*end saj */
|
||||||
static bool firstrundone = FALSE;
|
|
||||||
|
|
||||||
/* command "setcirc" */
|
/* command "setcirc" */
|
||||||
void
|
void
|
||||||
|
|
@ -110,7 +109,6 @@ void
|
||||||
com_pz(wordlist *wl)
|
com_pz(wordlist *wl)
|
||||||
{
|
{
|
||||||
dosim("pz", wl);
|
dosim("pz", wl);
|
||||||
firstrundone = TRUE;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -118,7 +116,6 @@ void
|
||||||
com_op(wordlist *wl)
|
com_op(wordlist *wl)
|
||||||
{
|
{
|
||||||
dosim("op", wl);
|
dosim("op", wl);
|
||||||
firstrundone = TRUE;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -126,7 +123,6 @@ void
|
||||||
com_dc(wordlist *wl)
|
com_dc(wordlist *wl)
|
||||||
{
|
{
|
||||||
dosim("dc", wl);
|
dosim("dc", wl);
|
||||||
firstrundone = TRUE;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -134,7 +130,6 @@ void
|
||||||
com_ac(wordlist *wl)
|
com_ac(wordlist *wl)
|
||||||
{
|
{
|
||||||
dosim("ac", wl);
|
dosim("ac", wl);
|
||||||
firstrundone = TRUE;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -142,7 +137,6 @@ void
|
||||||
com_tf(wordlist *wl)
|
com_tf(wordlist *wl)
|
||||||
{
|
{
|
||||||
dosim("tf", wl);
|
dosim("tf", wl);
|
||||||
firstrundone = TRUE;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -150,7 +144,6 @@ void
|
||||||
com_tran(wordlist *wl)
|
com_tran(wordlist *wl)
|
||||||
{
|
{
|
||||||
dosim("tran", wl);
|
dosim("tran", wl);
|
||||||
firstrundone = TRUE;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -158,7 +151,6 @@ void
|
||||||
com_sens(wordlist *wl)
|
com_sens(wordlist *wl)
|
||||||
{
|
{
|
||||||
dosim("sens", wl);
|
dosim("sens", wl);
|
||||||
firstrundone = TRUE;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -166,7 +158,6 @@ void
|
||||||
com_disto(wordlist *wl)
|
com_disto(wordlist *wl)
|
||||||
{
|
{
|
||||||
dosim("disto", wl);
|
dosim("disto", wl);
|
||||||
firstrundone = TRUE;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -174,7 +165,6 @@ void
|
||||||
com_noise(wordlist *wl)
|
com_noise(wordlist *wl)
|
||||||
{
|
{
|
||||||
dosim("noise", wl);
|
dosim("noise", wl);
|
||||||
firstrundone = TRUE;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -184,7 +174,6 @@ void
|
||||||
com_pss(wordlist *wl)
|
com_pss(wordlist *wl)
|
||||||
{
|
{
|
||||||
dosim("pss", wl);
|
dosim("pss", wl);
|
||||||
firstrundone = TRUE;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
/* SP */
|
/* SP */
|
||||||
|
|
@ -208,8 +197,6 @@ dosim(
|
||||||
/* set file type to binary or to what is given by environmental
|
/* set file type to binary or to what is given by environmental
|
||||||
variable SPICE_ASCIIRAWFILE in ivars.c */
|
variable SPICE_ASCIIRAWFILE in ivars.c */
|
||||||
bool ascii = AsciiRawFile;
|
bool ascii = AsciiRawFile;
|
||||||
if (firstrundone)
|
|
||||||
com_rset(NULL);
|
|
||||||
if (eq(what, "run") && wl)
|
if (eq(what, "run") && wl)
|
||||||
dofile = TRUE;
|
dofile = TRUE;
|
||||||
/* add "what" to beginning of wordlist wl, except "what" equals "run"
|
/* add "what" to beginning of wordlist wl, except "what" equals "run"
|
||||||
|
|
@ -387,7 +374,6 @@ com_run(wordlist *wl)
|
||||||
{
|
{
|
||||||
/* ft_getsaves(); */
|
/* ft_getsaves(); */
|
||||||
dosim("run", wl);
|
dosim("run", wl);
|
||||||
firstrundone = TRUE;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue