[Bugzilla] [Bug 15486] New: fileinfo("c:") now returns [] instead of the info about c:\. (Scilab 6.0.0 regression)

bugzilla.admin at scilab.org bugzilla.admin at scilab.org
Tue Mar 13 22:05:50 CET 2018


http://bugzilla.scilab.org/show_bug.cgi?id=15486
--------- Bug Summary -----------
fileinfo("c:") now returns [] instead of the info about c:\.  (Scilab 6.0.0 regression)

---------- Changed by ------------
sgougeon at free.fr

---------- What changed ----------
bug_id, short_desc, product, version, rep_platform, op_sys, bug_status, bug_severity, priority, component, assigned_to, reporter


            Bug ID: 15486
           Summary: fileinfo("c:") now returns [] instead of the info
                    about c:\.  (Scilab 6.0.0 regression)
           Product: Scilab software
           Version: 6.0.0
          Hardware: (not used)
                OS: All Windows
            Status: NEW
          Severity: Minor
          Priority: (field not used)
         Component: Input / output
          Assignee: bugzilla.admin at scilab.org
          Reporter: sgougeon at free.fr

BUG DESCRIPTION:
----------------
Scilab 4.1.2 - Scilab 5.5.2:
---------------------------
-->fileinfo c:
 ans  =
    0.    16895.    0.    0.    0.    0.    0.    0.    0.    0.    0.    0.    0.  

-->fileinfo c:\
 ans  = 
    0.    16895.    0.    0.    0.    0.    0.    0.    0.    0.    0.    0.    0.  

-->fileinfo c:/
 ans  = 
    0.    16895.    0.    0.    0.    0.    0.    0.    0.    0.    0.    0.    0.  

-->fileinfo c:\.
 ans  =
    0.    16895.    0.    0.    2.    3.155D+08    3.155D+08    3.155D+08    2.    0.    0.    0.    1.  

-->fileinfo c:/.
 ans  =
    0.    16895.    0.    0.    2.    3.155D+08    3.155D+08    3.155D+08    2.    0.    0.    0.    1.  


Scilab 6.0.0:
------------
--> fileinfo c:
 ans  =
    []                // The bug

--> fileinfo c:\
 ans  =
    []                // The bug

--> fileinfo c:/
 ans  =
    []                // The bug

--> fileinfo c:\.
 ans  =
   0.   16895.   0.   0.   2.   3.155D+08   3.155D+08   3.155D+08   2.   0.   0.   0.   1.


--> fileinfo c:/.
 ans  =
   0.   16895.   0.   0.   2.   3.155D+08   3.155D+08   3.155D+08   2.   0.   0.   0.   1.


ERROR LOG:
----------
None. Wrong answer

HOW TO REPRODUCE THE BUG:
-------------------------
fileinfo("c:")~=[]
fileinfo("c:/")~=[]
fileinfo("c:\")~=[]


OTHER INFORMATION:
------------------
May impact isdir(): See also the bug 15484 and its proposed fix.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/bugzilla/attachments/20180313/d049d5c2/attachment.htm>


More information about the Bugzilla mailing list