listvarinfile() crashes Scilab when listing a cell array (regression)
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
--> c = {%z^2, "abc", [%i 3]};
--> path = TMPDIR+"/test.sod";
--> save(path, "c")
--> clear c
--> load(path)
ans =
T
--> c
c =
[1x1 polynomial] [1x1 string] [1x2 constant]
--> listvarinfile(path)
Name Type Size Bytes
-------------------------------------------------------------
==> CRASH (100% reproducible)
HOW TO REPRODUCE THE BUG:
-------------------------
c = {%z^2, "abc", [%i 3]};
path = TMPDIR+"/test.sod";
save(path, "c")
clear c
load(path)
c
listvarinfile(path)