* Bug #11411 fixed - save function used unsigned char to store length of string.
Now it is an integer.
+* Bug #11426 fixed - Save function shew a warning message saving user environment.
+
* Bug #11509 fixed - A progression bar was missing during Atoms operations.
* Bug #11592 fixed - In the documentation, example of bessel failed.
}
- //new -> %_export_to_hdf5
- //old
- if (iOldSave)
- {
+ //old save
+
+ if (iOldSave && Rhs > 1)
+ {//show warning only for variable save, not for environment.
if (getWarningMode())
{
sciprint(_("%s: Scilab 6 will not support the file format used.\n"), _("Warning"));
--- /dev/null
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2012 - Scilab Enterprises - Antoine ELIAS
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+//
+// <-- CLI SHELL MODE -->
+//
+// <-- ENGLISH IMPOSED -->
+//
+// <-- Non-regression test for bug 11426 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=11426
+//
+// <-- Short Description -->
+// Save function showed warning message in case of "save environment".
+oldMode = warning("query');
+warning("on");
+save(SCI + "/saveenv.dat");
+warning(oldMode);
--- /dev/null
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2012 - Scilab Enterprises - Antoine ELIAS
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+//
+// <-- CLI SHELL MODE -->
+//
+// <-- ENGLISH IMPOSED -->
+//
+// <-- Non-regression test for bug 11426 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=11426
+//
+// <-- Short Description -->
+// Save function showed warning message in case of "save environment".
+
+oldMode = warning("query');
+warning("on");
+save(SCI + "/saveenv.dat");
+warning(oldMode);
\ No newline at end of file