Greetings.
On Mon, 06 May 2013 19:48:37 +0200 Strake wrote:
> On 06/05/2013, Johannes Hofmann wrote:
> > - switch(select(MAX(xfd, cmdfd)+1, &rfd, NULL, NULL, tv) < 0) {
> > + switch(select(MAX(xfd, cmdfd)+1, &rfd, NULL, NULL, tv)) {
> > case -1:
> >
On 06/05/2013, Johannes Hofmann wrote:
> Hi,
>
> there is a small glitch in the error handling of the select() call
> in st.c. See patch below.
>
> Regards,
> Johannes
>
> diff --git a/st.c b/st.c
> index 5251e70..689de26 100644
> --- a/st.c
> +++ b/st.c
> @@ -3481,7 +3481,7 @@ run(void) {
>
Hi,
there is a small glitch in the error handling of the select() call
in st.c. See patch below.
Regards,
Johannes
diff --git a/st.c b/st.c
index 5251e70..689de26 100644
--- a/st.c
+++ b/st.c
@@ -3481,7 +3481,7 @@ run(void) {
FD_SET(cmdfd, &rfd);
FD_SET(xfd, &rfd)