Commit Diff
Diff:
0d65b6e7ba38b640b5daba194b04c33f57ddaaa0
a916b48fbd21004da31aa32d1e3ea0e69ae50393
Commit:
a916b48fbd21004da31aa32d1e3ea0e69ae50393
Tree:
5712f702120b73ad9424c84ed82bedd0b4b81f95
Author:
pjp <pjp@delphinusdns.org>
Committer:
pjp <pjp@delphinusdns.org>
Date:
Sat Dec 19 15:29:02 2015 UTC
Message:
We know that select will be interrupted when leaving select for the SIGCHLD signal handler, which will cause a select: Interrupted system call message. This change will try to squelch that.
blob - 8a9b99545b2ffe29f2a07fab69cd0c16b8ed7b21
blob + 65ca4996226f8d78316456012281db3f517700e9
--- axfr.c
+++ axfr.c
@@ -100,7 +100,7 @@ static struct notifyentry {
} *notn2, *notnp;
-static const char rcsid[] = "$Id: axfr.c,v 1.6 2015/06/20 15:58:41 pjp Exp $";
+static const char rcsid[] = "$Id: axfr.c,v 1.7 2015/12/19 15:29:02 pjp Exp $";
/*
* INIT_AXFR - initialize the axfr singly linked list
@@ -404,7 +404,8 @@ axfrloop(int *afd, int sockcount, char **ident, DB *db
continue;
}
if (sel < 0) {
- dolog(LOG_INFO, "select: %s\n", strerror(errno));
+ if (errno != EINTR)
+ dolog(LOG_INFO, "select: %s\n", strerror(errno));
continue;
}
repomaster@centroid.eu