octave-maintainers
[Top][All Lists]
Advanced

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

sscanf locale on MacOS X


From: Ben Abbott
Subject: sscanf locale on MacOS X
Date: Sat, 28 Jul 2012 10:42:41 -0400

Pascal,

I'm encountering the test failure below using gcc-4.5 from MacPorts.

>>>>> processing /Users/bpabbott/Development/mercurial/default/src/file-io.cc
  ***** test
 assert (sscanf ("1,2", "%f", "C"), 1)
 assert (sscanf ("1,2", "%f", "fr_FR"), 1.2)
!!!!! test failed
assert (sscanf ("1,2", "%f", "fr_FR"),1.2) expected
 1.2000
but got
 1
values do not match

I assume the changeset below should have fixed this?

changeset:   14210:238e499c5fea
parent:      14208:67a0ab9f8283
user:        Pascal Dupuis <address@hidden>
date:        Wed Jan 18 16:40:29 2012 -0500
summary:     locale support implementation in [fs]scanf functions

If so, I can file a bug report.

Ben



reply via email to

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