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: Sun, 20 Jan 2019 18:20:15 -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 #52, bug #55029 (project octave):

Michael - like I said earlier (comment #44), I now have glibc 2.28. I was
unable to reproduce back in November when Debian still used glibc 2.27.

Pantxo - I don't know for sure, but I think calling std::cin.clear may only
affect the error flags at the C++ streams level, not at the C FILE streams
level?

Maybe something like 'std::cin.seekg (0, std::ios::cur)' would work, since
that is documented to call 'fseek' on the underlying C stream, which should
also clear the C-level state of the stdin stream.

    _______________________________________________________

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]