From 6b978469852b6217b5197a9272a39074d41a3385 Mon Sep 17 00:00:00 2001 From: Stefan Frederik Date: Mon, 17 Jan 2022 17:14:39 +0100 Subject: [PATCH] fix crashing bug in split netlist mode for spice (fprintf-ing global nodes on closed netlist file) --- src/spice_netlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spice_netlist.c b/src/spice_netlist.c index 3257bb8d..737a660c 100644 --- a/src/spice_netlist.c +++ b/src/spice_netlist.c @@ -311,7 +311,7 @@ void global_spice_netlist(int global) /* netlister driver */ my_free(945, &stored_flags); /* print globals nodes found in netlist 28032003 */ - record_global_node(0,fd,NULL); + if(!split_f) record_global_node(0,fd,NULL); /* =================================== 20121223 */ first = 0;