<html>
<head>
<base href="http://bugzilla.scilab.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Reporter</th>
<td>sgougeon@free.fr</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - mdelete("test") works like mdelete("test.*") !!!"
href="http://bugzilla.scilab.org/show_bug.cgi?id=15472">15472</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>mdelete("test") works like mdelete("test.*") !!!
</td>
</tr>
<tr>
<th>Product</th>
<td>Scilab software
</td>
</tr>
<tr>
<th>Version</th>
<td>5.0 through 5.3.x
</td>
</tr>
<tr>
<th>OS</th>
<td>All OS
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Critical
</td>
</tr>
<tr>
<th>Component</th>
<td>Input / output
</td>
</tr>
<tr>
<th>Assignee</th>
<td>bugzilla.admin@scilab.org
</td>
</tr>
</table>
<p>
<div>
<pre>BUG DESCRIPTION:
----------------
mdelete("test") works like mdelete("test.*")!
So, it can unexpectedly delete MANY files (with no trash bin) without using any wildcard.
--> mputl("", TMPDIR+"/test");
--> mputl("", TMPDIR+"/test2");
--> mputl("", TMPDIR+"/test.sci");
--> isfile(TMPDIR+"/"+["test" "test2" "test.sci"])
ans =
T T T
--> mdelete(TMPDIR+"/test")
--> isfile(TMPDIR+"/"+["test" "test2" "test.sci"])
ans =
F T F // test.sci is missing!
ERROR LOG:
----------
none. Wrong behavior
HOW TO REPRODUCE THE BUG:
-------------------------
mputl("", TMPDIR+"/test")
mputl("", TMPDIR+"/test2")
mputl("", TMPDIR+"/test.sci")
isfile(TMPDIR+"/"+["test" "test2" "test.sci"])
mdelete(TMPDIR+"/test")
isfile(TMPDIR+"/"+["test" "test2" "test.sci"])
OTHER INFORMATION:
------------------
This bug appeared in Scilab 5.2
It was likely introduced when fixing the <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - The function mdelete no more works with "*.extension" as input, it works in prev"
href="show_bug.cgi?id=4295">bug 4295</a>.
I have suffered from it in Scilab 6.0.1</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>