octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #55648] [MXE-Octave] cannot print with gnuplot


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #55648] [MXE-Octave] cannot print with gnuplot graphics toolkit
Date: Mon, 11 Feb 2019 15:01:08 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

Follow-up Comment #10, bug #55648 (project octave):

The problem is probably the use of "pause" at around line 120 in
__gnuplot_get_var__:

      while (isempty (str))
        str = fread (istream, "*char")';
        if (isempty (str))
          pause (0.05);
        else
          str = regexp (str, 'OCTAVE:.*', "match");
          str = str{end}(8:end);
        endif
        fclear (istream);
      endwhile


That allows the event queue being flushed that at that point seems to contain
another call to this function. If I delete the pause command, printing works.
But that might block other things.

CC'ing Dan Sebald as the expert for the gnuplot graphics toolkit.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55648>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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