octave-maintainers
[Top][All Lists]
Advanced

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

Re: sscanf locale on MacOS X


From: marco atzeri
Subject: Re: sscanf locale on MacOS X
Date: Sat, 28 Jul 2012 20:41:31 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0

On 7/28/2012 4:42 PM, Ben Abbott wrote:
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


failing also on cygwin.

Marco



reply via email to

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