octave-maintainers
[Top][All Lists]
Advanced

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

Re: Octave 3.5.90 snapshot available for ftp


From: CdeMills
Subject: Re: Octave 3.5.90 snapshot available for ftp
Date: Sat, 17 Dec 2011 13:25:19 -0800 (PST)

John W. Eaton wrote
> 
> 
> A new snapshot of Octave is now available from alpha.gnu.org in the
> directory /gnu/ooct-stream.h:ctave:
> 
>   54442245b840483f40b9c0f9026b1256  octave-3.5.90.tar.gz
> 
>   -rw-r--r-- 1 3003 3002 18107269 Dec 12 04:17 octave-3.5.90.tar.gz
> 
> The snapshot is tagged in the usual way (ss-3-5-90) in the Mercurial
> archive.
> 
> Please remember that these snapshots are provided for testing
> purposes.  I do not consider them to be Octave releases.  If people
> think there will be confusion because of the version number, then we
> can add a notice to the Octave startup message.
> 
> 

Hello John,

I found that my patch to implement locale support in sscanf/fscanf was not
complete. Beside a call to "imbue" in src/file-io.cc, the file
src/oct-stream.h is also modifled in order to daisy-chain the imbue function
to the underlying layers, i.e. std::stream.

I enclose the full patch, ported to this 3.5.90 version. Missing for now:
- updating the doc
- handling the case where the locale string is bogus

The purpose is to get 1.2 as the result of  sscanf('1,2', '%f', 'fr_FR')
instead of 1. The latter is obtained by using the default locales, i.e.
sscanf('1,2', '%f', 'C').

This patch add a new behaviour, while staying totally compatible with the
established interface. Its use should be thus transparent and should not
break legacy code.

I'm awaiting such locales support in order to release a new version of my
"dataframe" octave-forge package.

Best regards

Pascal http://octave.1599824.n4.nabble.com/file/n4209396/sscanf-locale.pat
sscanf-locale.pat  

--
View this message in context: 
http://octave.1599824.n4.nabble.com/Octave-3-5-90-snapshot-available-for-ftp-tp4200255p4209396.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.


reply via email to

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