<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        font-size:10.0pt;
        font-family:"Courier New",serif;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hello all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks for the early report, could you please report the issue on bugzilla.scilab.org to allow a quick fix with a non-regression test ?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Clément<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> users <users-bounces@lists.scilab.org> <b>On Behalf Of
</b>Stéphane Mottelet<br>
<b>Sent:</b> Friday, July 23, 2021 9:46 PM<br>
<b>To:</b> users@lists.scilab.org<br>
<b>Subject:</b> Re: [Scilab-users] fullpath * crashes 6.1.1<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Hi,<o:p></o:p></p>
<p>It seems specific to Windows (the following test is done on macOS) :<o:p></o:p></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"<o:p></o:p></p>
<p>Really weird, since now we have exactly the same code for Windows and others. <o:p>
</o:p></p>
<p>S.<o:p></o:p></p>
<div>
<p class="MsoNormal">Le 23/07/2021 à 18:54, Samuel Gougeon a écrit :<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Hello,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Le 10/07/2021 à 23:37, Samuel Gougeon a écrit :<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Le 10/07/2021 à 16:11, Samuel Gougeon a écrit : <br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">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 <o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><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" <o:p></o:p></p>
</blockquote>
<p><o:p> </o:p></p>
<p>unlike Scilab 6.1.0, Scilab 6.1.1 on Windows crashes with <o:p></o:p></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.<o:p></o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p>And i guess many other codes.<o:p></o:p></p>
<p style="margin-bottom:12.0pt">Samuel<o:p></o:p></p>
<p class="MsoNormal"><br>
<br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>users mailing list<o:p></o:p></pre>
<pre><a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><o:p></o:p></pre>
<pre><a href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a><o:p></o:p></pre>
</blockquote>
<pre>-- <o:p></o:p></pre>
<pre>Stéphane Mottelet<o:p></o:p></pre>
<pre>Ingénieur de recherche<o:p></o:p></pre>
<pre>EA 4297 Transformations Intégrées de la Matière Renouvelable<o:p></o:p></pre>
<pre>Département Génie des Procédés Industriels<o:p></o:p></pre>
<pre>Sorbonne Universités - Université de Technologie de Compiègne<o:p></o:p></pre>
<pre>CS 60319, 60203 Compiègne cedex<o:p></o:p></pre>
<pre>Tel : +33(0)344234688<o:p></o:p></pre>
<pre><a href="http://www.utc.fr/~mottelet">http://www.utc.fr/~mottelet</a><o:p></o:p></pre>
</div>
</div>
</body>
</html>