#1137 Call parameters dropped after load/call in version 4.6.0

closed-duplicate
nobody
Other (155)
5
2015-03-23
2012-06-06
Andreas Sandberg
No

When loading a file (using the load command) from a gnuplot file that has been called, the callee looses access to all its parameters after the load statement.

Steps to reproduce:
Unpack the attached code to reproduce the bug.
Execute 'gnuplot -persist test.gnuplot'

Expected results (tested in 4.3):
The first parameter $0 is accessible in the plot statement in plot.gnuplot. Gnuplot produces a line plot of the data file test.dat

Results when using gnuplot 4.6:
Gnuplot fails to pass the correct parameter to the plot command in plot.gnuplot.

Discussion

  • Code to reproduce bug

     
    • status: open --> pending-duplicate
     
  • This is most likely a duplicate of #3525155, which see.

    Pending this as a duplicate.

     
  • Ethan Merritt
    Ethan Merritt
    2013-04-08

    • status: pending-duplicate --> closed-duplicate
    • milestone: --> 5.0