mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
ee: Handle EINTR when waiting for a character
Otherwise one can't easily attach gdb to ee. Reviewed by: bapt MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D57997
This commit is contained in:
1 parent
705a88a717
commit
a8f5e24070
1 file changed
+4
@@ -678,7 +678,11 @@ main(int argc, char *argv[])
|
||||
* issue
|
||||
*/
|
||||
if (wret == ERR)
|
||||
{
|
||||
if (errno == EINTR)
|
||||
continue;
|
||||
exit(0);
|
||||
}
|
||||
in = (int)win;
|
||||
|
||||
resize_check();
|
||||
|
||||
Reference in new issue
Block a user