octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63462] sscanf reports incorrect number of out


From: Rik
Subject: [Octave-bug-tracker] [bug #63462] sscanf reports incorrect number of output values.
Date: Sat, 3 Dec 2022 13:18:51 -0500 (EST)

Update of bug #63462 (project octave):

                  Status:                    None => Works For Me           

    _______________________________________________________

Follow-up Comment #1:

There has been massive re-factoring of scanf code so I'm not surprised new
issues have arisen.  However, the code works for me.  This is with hg id
4c040e1edb4b.

Test code:


[a,b,c,d,cnt, err]=sscanf("1 abcdefg 3\n","%d %s %g %g","C")

a = 1
b = abcdefg
c = 3
d = [](0x0)
cnt = 3
err = %s: read error: sscanf





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63462>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]