* [#15715](http://bugzilla.scilab.org/show_bug.cgi?id=15715): `%nan` indices crashed Scilab.
* [#15581](http://bugzilla.scilab.org/show_bug.cgi?id=15581): display of complex matrix was ugly.
* [#15680](http://bugzilla.scilab.org/show_bug.cgi?id=15680): `loadmatfile()` could not return variables in a structure instead of into the calling environment.
+* [#15734](http://bugzilla.scilab.org/show_bug.cgi?id=15734): Trivial infinite loop could not be interrupted.
* [#15744](http://bugzilla.scilab.org/show_bug.cgi?id=15744): `sylm(a,b)` yielded an error when degree(a)==0 or degree(b)==0.
* [#15745](http://bugzilla.scilab.org/show_bug.cgi?id=15745): `diophant(0,0,m)`, `diophant([p 0],q)`, `diophant([0 p],q)` with m<>0 and p>q were wrong. There was no flag for cases with an infinite number of solutions. When there is no solution, some values were returned anyway, instead of []. In this case, the documented definition of the err value was dubious. Decimal numbers and integers were accepted, but not encoded integers. Inf and NaN input coefficients were not rejected.
* [#15812](http://bugzilla.scilab.org/show_bug.cgi?id=15812): On assigning variables the source variable may become become corrupted
}
}
+ if (exps.size() == 0)
+ {
+ if (ConfigVariable::isExecutionBreak())
+ {
+ ConfigVariable::resetExecutionBreak();
+ if (ConfigVariable::isPrintInteractive())
+ {
+ ClearTemporaryPrompt();
+ }
+
+ StorePrioritaryCommand("pause");
+ ThreadManagement::WaitForRunMeSignal();
+ }
+
+ // interrupt me to execute a prioritary command
+ while (StaticRunner_isInterruptibleCommand() == 1 && StaticRunner_isRunnerAvailable() == 1)
+ {
+ StaticRunner_launch();
+ StaticRunner_setInterruptibleCommand(1);
+ }
+
+ if (file)
+ {
+ file->close();
+ delete file;
+ }
+
+ CoverageInstance::stopChrono((void*)&e);
+ return;
+ }
+
for (; it != itEnd; ++it)
{
if (ConfigVariable::isExecutionBreak())
--- /dev/null
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2019 - Stéphane MOTTELET
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+//
+// <-- CLI SHELL MODE -->
+// <-- NO CHECK REF -->
+// <-- INTERACTIVE TEST -->
+//
+// <-- Non-regression test for bug 15374 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/15374
+//
+// <-- Short Description -->
+// Trivial infinite loop cannot be interrupted
+
+// following loop should be interruptible by CTRL-C on the command line,
+// Control/Interrupt and Control/Abort menu items
+
+while 1;end
\ No newline at end of file