summaryrefslogtreecommitdiff
path: root/news/tin/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'news/tin/patches/patch-ai')
-rw-r--r--news/tin/patches/patch-ai15
1 files changed, 15 insertions, 0 deletions
diff --git a/news/tin/patches/patch-ai b/news/tin/patches/patch-ai
new file mode 100644
index 00000000000..40d78006b69
--- /dev/null
+++ b/news/tin/patches/patch-ai
@@ -0,0 +1,15 @@
+$NetBSD: patch-ai,v 1.1 2009/10/22 22:01:26 wiz Exp $
+
+--- src/nntplib.c.orig 2009-02-09 11:03:19.000000000 +0100
++++ src/nntplib.c
+@@ -888,6 +888,10 @@ get_server(
+ * leave the s_gets() in that case)
+ */
+ while (nntp_rd_fp == NULL || s_gets(string, size, nntp_rd_fp) == NULL) {
++ if (errno == EINTR) {
++ errno = 0;
++ continue;
++ }
+ if (quitting) /* Don't bother to reconnect */
+ tin_done(NNTP_ERROR_EXIT); /* And don't try to disconnect again! */
+