octave-maintainers
[Top][All Lists]
Advanced

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

Mac OS X sscanf bug/feature?


From: Ben Abbott
Subject: Mac OS X sscanf bug/feature?
Date: Sat, 26 Mar 2016 20:18:32 -0400

Running the default branch on Mac OS 10.10.5, I get …

[val, count, msg, pos] = sscanf ("3I2", "%f")
val = [](0x1)
count = 0
msg = 
pos =  4

Matlab returns …

[val, count, msg, pos] = sscanf ('3I2', '%f')
val =     3
count =     1
msg =     'Matching failure in format.'
pos =     2

I assume that Mac OS X is causing the problem. Can someone confirm that 
Octave’s sscanf relies upon a system library? i.e is this due to Mac OS X’s 
clang compiler/library, or due to something I should be able to fix.

Ben

p.s. I have 22 “make check” failures and am hoping to browse through them as 
time permits. This is first failure I’m looking at.


reply via email to

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