* [#16654](https://bugzilla.scilab.org/16654): `interp` was leaking memory.
* [#16661](https://bugzilla.scilab.org/16661): `x=spzeros(1e10,1e10)` yielded an incorrect error message.
* [#16665](https://bugzilla.scilab.org/16665): `help echo` could not redirect to `help mode` when preferred, for new users coming from Octave.
+* [#16679](https://bugzilla.scilab.org/16679): `get_function_path("acosh")` yielded an error (regression from Scilab 6.0.0).
### Bugs fixed in 6.1.0:
libname = whereis(name);
- if libname <> [] then
+ if libname <> [] & libname <> "script" & type(evstr(name))==13 then
for i = 1:size(libname,"*")
[funcnames, pathlib] = libraryinfo(libname(i));
path = [path ; fullfile(pathlib, name + ".sci")];
--- /dev/null
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2021 - Samuel GOUGEON
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+//
+// <-- CLI SHELL MODE -->
+// <-- NO CHECK REF -->
+// <-- Non-regression test for bug 16679 -->
+//
+// <-- Bugzilla URL -->
+// https://bugzilla.scilab.org/16679
+//
+// <-- Short Description -->
+// get_function_path("acosh") yielded an error (Scilab 6.0.0 regression)
+
+// builtin
+assert_checkequal(get_function_path("sin"), []);
+// user macro
+function test(), endfunction
+assert_checkequal(get_function_path("test"), []);
+// macro in library
+ref = pathconvert("WSCI\modules\elementary_functions\macros\sind.sci",%f,%t);
+assert_checkequal(get_function_path("sind"), ref);
+