--- sourceforge.net/trunk/rdesktop/xwin.c 2004/11/03 10:05:02 794 +++ sourceforge.net/trunk/rdesktop/xwin.c 2004/11/03 13:56:52 795 @@ -1435,12 +1435,9 @@ error("select: %s\n", strerror(errno)); case 0: - /* TODO: if tv.tv_sec just times out - * we will segfault. - * FIXME: - */ - //s_timeout = True; - //rdpdr_check_fds(&rfds, &wfds, (BOOL) True); + /* Abort serial read calls */ + if (s_timeout) + rdpdr_check_fds(&rfds, &wfds, (BOOL) True); continue; }