Fix to allow 'compare_versions.m' handle version numbers ending with period
Ben Abbott
bpabbott at mac.com
Mon Jan 26 13:47:59 CST 2009
On Monday, January 26, 2009, at 01:42PM, "Muthiah Annamalai" <muthuspost at gmail.com> wrote:
>Hello there,
>
>I built Octave from sources (3.1.51+) and my gnuplot interface failed,
>for the following
>reason: __gnuplot_version__() returns 4.2. in my computer, and
>compare_versions.m
>script doesnt recognize version numbers ending with a "." as you can see
>from the
>runs below.
>
>__gnuplot_version__()
>ans = 4.2.
We should look more closely at __gnuplot_version__ as well. There may be a bug here.
What do you get when you type the following?
[status, output] = system (sprintf ("%s --version", gnuplot_binary ()))
I get
status = 0
output = gnuplot 4.2 patchlevel 4
__gnuplot_version__ replies "4.2"
I would have expected to get 4.2.4.
Ben
More information about the Bug-octave
mailing list