mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-28 16:54:20 +02:00
Prevent from endless loop
This commit is contained in:
+1
-1
@@ -111,7 +111,7 @@ ivars(char *argv0)
|
||||
if (path_end) {
|
||||
char* exec_only = strstr(path_end + 7, "ngspice");
|
||||
while (exec_only) {
|
||||
path_end = strstr(Spice_Exec_Path, "ngspice");
|
||||
path_end = strstr(exec_only, "ngspice");
|
||||
if (path_end)
|
||||
exec_only = strstr(path_end + 7, "ngspice");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user