Re: [U-Boot] [PATCH 15/15] sandbox: Restore blocking I/O on exit

2018-10-09 Thread sjg
At present sandbox sets non-blocking I/O as soon as any input is read from the terminal. However it does not restore the previous state on exit. Fix this and drop the old os_read_no_block() function. This means that we always enable blocking I/O in sandbox (if input is a terminal) whereas previous

[U-Boot] [PATCH 15/15] sandbox: Restore blocking I/O on exit

2018-10-01 Thread Simon Glass
At present sandbox sets non-blocking I/O as soon as any input is read from the terminal. However it does not restore the previous state on exit. Fix this and drop the old os_read_no_block() function. This means that we always enable blocking I/O in sandbox (if input is a terminal) whereas previous