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

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

[Octave-bug-tracker] [bug #55029] pause causes hang


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #55029] pause causes hang
Date: Wed, 9 Jan 2019 22:24:52 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Follow-up Comment #47, bug #55029 (project octave):

Another observation, the kbtest.m script works repeatedly as long as the
character is entered during the pause. But if kbhit(0) is called ever without
anything in the stdin input buffer, all subsequent calls to kbhit return
nothing. So this agrees with what I observed with the debugger, that pause is
stuck in the loop where it calls octave::kbhit, and the return value continues
to be -1, it never sees any more input on stdin. So this may have something to
do with the glibc change mentioned in the release notes, that an error state
at some layer needs to be reset by the application.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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