#include sequence, error message
This commit is contained in:
parent
983cb4896c
commit
84b5e6b671
|
|
@ -3,23 +3,24 @@ Copyright 1990 Regents of the University of California. All rights reserved.
|
||||||
Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
|
Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
|
||||||
**********/
|
**********/
|
||||||
|
|
||||||
|
#include "../misc/ivars.h"
|
||||||
|
#include "circuits.h"
|
||||||
|
#include "com_alias.h"
|
||||||
|
#include "define.h"
|
||||||
|
#include "display.h"
|
||||||
|
#include "ftehelp.h"
|
||||||
|
#include "misccoms.h"
|
||||||
#include "ngspice/ngspice.h"
|
#include "ngspice/ngspice.h"
|
||||||
#include "ngspice/cpdefs.h"
|
#include "ngspice/cpdefs.h"
|
||||||
#include "ngspice/ftedefs.h"
|
#include "ngspice/ftedefs.h"
|
||||||
#include "ngspice/dvec.h"
|
#include "ngspice/dvec.h"
|
||||||
#include "ngspice/iferrmsg.h"
|
#include "ngspice/iferrmsg.h"
|
||||||
#include "ftehelp.h"
|
|
||||||
#include "ngspice/hlpdefs.h"
|
#include "ngspice/hlpdefs.h"
|
||||||
#include "misccoms.h"
|
|
||||||
#include "postcoms.h"
|
|
||||||
#include "circuits.h"
|
|
||||||
#include "variable.h"
|
|
||||||
#include "plotting/graf.h"
|
#include "plotting/graf.h"
|
||||||
#include "display.h"
|
#include "plotting/plotit.h"
|
||||||
#include "../misc/ivars.h"
|
#include "postcoms.h"
|
||||||
#include "com_alias.h"
|
|
||||||
#include "define.h"
|
|
||||||
#include "runcoms2.h"
|
#include "runcoms2.h"
|
||||||
|
#include "variable.h"
|
||||||
|
|
||||||
#ifdef HAVE_GNUREADLINE
|
#ifdef HAVE_GNUREADLINE
|
||||||
#include <readline/readline.h>
|
#include <readline/readline.h>
|
||||||
|
|
@ -39,7 +40,6 @@ extern void destroy_wallace(void);
|
||||||
|
|
||||||
extern IFsimulator SIMinfo;
|
extern IFsimulator SIMinfo;
|
||||||
extern void spice_destroy_devices(void); /* FIXME need a better place */
|
extern void spice_destroy_devices(void); /* FIXME need a better place */
|
||||||
extern void pl_rempar(void); /* plotit.c */
|
|
||||||
static void byemesg(void);
|
static void byemesg(void);
|
||||||
static int confirm_quit(void);
|
static int confirm_quit(void);
|
||||||
|
|
||||||
|
|
@ -139,7 +139,10 @@ com_bug(wordlist *wl)
|
||||||
Bug_Addr);
|
Bug_Addr);
|
||||||
|
|
||||||
(void) sprintf(buf, SYSTEM_MAIL, ft_sim->simulator, ft_sim->version, Bug_Addr);
|
(void) sprintf(buf, SYSTEM_MAIL, ft_sim->simulator, ft_sim->version, Bug_Addr);
|
||||||
(void) system(buf);
|
if (system(buf) == -1) {
|
||||||
|
fprintf(cp_err, "Bug report could not be sent: \"%s\" failed.\n",
|
||||||
|
buf);
|
||||||
|
}
|
||||||
|
|
||||||
fprintf(cp_out, "Bug report sent. Thank you.\n");
|
fprintf(cp_out, "Bug report sent. Thank you.\n");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue