X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=unix%2Fuxsftp.c;h=a9fb9cb329cd65642aae2e12c2227f5607c54f26;hb=095072fa46b2d7b8beafaddb2f873d2f500a1e10;hp=6e39491010d7a04ef4d59ebd7366ac1e374929d9;hpb=e22a72c66a2d876f2ebe4bd6384b246af92cda4d;p=PuTTY.git diff --git a/unix/uxsftp.c b/unix/uxsftp.c index 6e394910..a9fb9cb3 100644 --- a/unix/uxsftp.c +++ b/unix/uxsftp.c @@ -531,7 +531,9 @@ static int ssh_sftp_do_select(int include_stdin, int no_fds_ok) now = GETTICKCOUNT(); } while (ret < 0 && errno == EINTR); } else { - ret = select(maxfd, &rset, &wset, &xset, NULL); + do { + ret = select(maxfd, &rset, &wset, &xset, NULL); + } while (ret < 0 && errno == EINTR); } } while (ret == 0);