<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>It seems specific to Windows (the following test is done on
macOS) :<br>
</p>
<p>--> fullpath("SCI\modules\core\macros\*.sci")<br>
ans =<br>
<br>
"/Applications/scilab-6.1.1.app/Contents/share/scilab/modules/core/macros/*.sci"</p>
<p>Really weird, since now we have exactly the same code for Windows
and others. <br>
</p>
<p>S.<br>
</p>
<div class="moz-cite-prefix">Le 23/07/2021 à 18:54, Samuel Gougeon a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:920ccb72-e994-f5a8-0c7d-8acf46129bce@free.fr">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="moz-cite-prefix">Hello,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Le 10/07/2021 à 23:37, Samuel Gougeon
a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:2b96e34b-4f8e-d3f5-ac3d-bbf54b10409c@free.fr">Le
10/07/2021 à 16:11, Samuel Gougeon a écrit : <br>
<blockquote type="cite">Hello Federico, <br>
<br>
I confirm this issue. It appeared in Scilab 6.1.0 and occurs
only when pwd() and the filename are on the same disk. <br>
It comes from a change of behavior of mopen(), and so may
occurs for many other functions using mopen(). <br>
<br>
Regards <br>
Samuel <br>
</blockquote>
<br>
<br>
fullpath() -- that was changed in january 2020 -- is the final
guilty: <br>
<br>
--> pwd <br>
ans = <br>
"D:\Softs" <br>
<br>
--> fullpath("D:\test.wav") <br>
ans = <br>
"D:\Softs\test.wav" <br>
</blockquote>
<p><br>
</p>
<p>unlike Scilab 6.1.0, Scilab 6.1.1 on Windows crashes with <br>
</p>
<p><b>fullpath("SCI\modules\core\macros\*.sci")</b><br>
<br>
The crash occurs only a) when the path exists, AND b) * is used
in the filename.</p>
It was still not the case with the dev branch of 2021-07-07, that
is the last build available for windows, 7 days before fullpath
was fixed for the hereabove issue.<br>
<br>
This noticeably kills uman(), at least its refresh "r" option that
is also run automatically at initialization and every change of
the local ATOMS list.<br>
<p>And i guess many other codes.</p>
<p>Samuel<br>
<br>
</p>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
<a class="moz-txt-link-freetext" href="http://www.utc.fr/~mottelet">http://www.utc.fr/~mottelet</a>
</pre>
</body>
</html>