[Bugzilla] [Bug 15487] New: msscanf error reading numbers

bugzilla.admin at scilab.org bugzilla.admin at scilab.org
Wed Mar 14 19:56:10 CET 2018


https://bugzilla.scilab.org/show_bug.cgi?id=15487
--------- Bug Summary -----------
msscanf error reading numbers

---------- Changed by ------------
hourglass 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: 15487
           Summary: msscanf error reading numbers
           Product: Scilab software
           Version: 6.0.1
          Hardware: (not used)
                OS: All OS
            Status: NEW
          Severity: Minor
          Priority: (field not used)
         Component: Scilab
          Assignee: bugzilla.admin at scilab.org
          Reporter: hourglass at free.fr

BUG DESCRIPTION: msscanf does not seem to respect the formatting (or I don't understand it)
----------------
Prevents reading datafiles.!!
Major issue.


ERROR LOG: output is incorrect, no error
----------


HOW TO REPRODUCE THE BUG:
-------------------------

Y="123456781234567812345678"
msscanf(1,Y,"%8s%8s%8s")
answer: !12345678  12345678  12345678  ! (expected)

Y="  345678 234567812345678" //replace characters with some spaces
msscanf(1,Y,"%8s%8s%8s")
answer: !345678  23456781  2345678  ! (error? should be !345678  2345678 12345678  !


OTHER INFORMATION:
------------------
Present in 6.0.0, 6.0.1, 5.5.2?

-- 
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/20180314/40196c46/attachment.htm>


More information about the Bugzilla mailing list