getlongpathname(SCI) returns a path with "/" as file separator, while it is specific to MSWindows that uses only "\"
@sgougeon)
Reported by Samuel GOUGEON (BUG DESCRIPTION:
----------------
-->SCI
SCI =
C:/SOFTWA~1/scilab/SCILAB~1.2-2
-->WSCI
WSCI =
C:\Softwares\scilab\scilab-6.0.0-beta-2
-->getlongpathname(SCI)
ans =
C:/Softwares/scilab/scilab-6.0.0-beta-2
-->getlongpathname(strsubst(SCI,"/","\"))
ans =
C:\Softwares\scilab\scilab-6.0.0-beta-2
--> getlongpathname(SCI)==WSCI
ans =
F
The present behavior is inconsistent.
The conversion to "\" should be automatic and systematical whether the OS is actually MSWindows.
Same behavior with Scilab 5.5.2 and Scilab 6.0.0-b2+
Scilab 6.0 aims to improve Scilab's consistency.
Here is an excellent opportunity.
This is why i set the report for Scilab 6
ERROR LOG:
----------
none. Wrong answer
HOW TO REPRODUCE THE BUG:
-------------------------
p = getlongpathname(SCI)
grep(p, "/")~=[]
p==WSCI