Bug#743247: gnuplot: Running load destroys arguments from call
Matthew Wakeling
matthew at wakeling.homeip.net
Mon Mar 31 21:16:22 UTC 2014
Package: gnuplot
Version: 4.6.4-1~bpo70+1
Severity: normal
Dear Maintainer,
When running a "call" command with arguments, if the called file runs a "load" command, then the arguments are destroyed.
For example, if there are three files in the current directory:
experiment.plot:
set samples 1000
set pointsize 2.5
call "experiment.plotcall" "1"
experiment.plotcall:
load "experiment.plotload"
set terminal postscript eps monochrome enhanced dashed dashlength 2 22 size 6.6in, 4.45in
set output "experiment.eps"
plot 'flibble$0.out'
experiment.plotload:
<empty file>
then the command "gnuplot experiment.plot" is run with version 4.6.4-1~bpo70+1, then the following error message will be given:
"experiment.plotcall", line 6: warning: Skipping unreadable file "flibble.out"
"experiment.plotcall", line 6: No data in plot
whereas with version 4.4.0, the following error message is given:
"experiment.plotcall", line 6: warning: Skipping unreadable file "flibble1.out"
"experiment.plotcall", line 6: No data in plot
Note that the argument "1" has been destroyed. If the "load" command is removed from experiment.plotcall, then the argument is preserved.
-- System Information:
Debian Release: 7.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gnuplot depends on:
ii gnuplot-x11 [gnuplot-nox] 4.6.0-8
gnuplot recommends no packages.
Versions of packages gnuplot suggests:
pn feedgnuplot <none>
pn gnuplot-doc <none>
pn libgnuplot-iostream-dev <none>
pn python-gnuplot <none>
-- no debconf information
More information about the debian-science-maintainers
mailing list