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: Carnë Draug
Subject: Re: sscanf locale on MacOS X
Date: Sat, 28 Jul 2012 20:08:57 +0100

On 28 July 2012 15:42, Ben Abbott <address@hidden> 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

Also failing here on Debian Squeeze.

Carnë


reply via email to

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