summaryrefslogtreecommitdiff
path: root/user/sntpd/select.patch
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-09-28 00:39:29 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-09-28 00:39:29 +0000
commitde0d755b388a126132db106b636917357cfb81ec (patch)
treea2c71cfb18766cb6b588012f9bb69b1e78c2909d /user/sntpd/select.patch
parentf4d6f1cb36ca25b976488021ac0458c8f1df6c85 (diff)
parentb2b6da629119ac3ae061a842a42ea5074dc16106 (diff)
downloadpackages-de0d755b388a126132db106b636917357cfb81ec.tar.gz
packages-de0d755b388a126132db106b636917357cfb81ec.tar.bz2
packages-de0d755b388a126132db106b636917357cfb81ec.tar.xz
packages-de0d755b388a126132db106b636917357cfb81ec.zip
Merge branch 'smaeul-bumps' into 'master'
Bumps of my maintained packages See merge request adelie/packages!499
Diffstat (limited to 'user/sntpd/select.patch')
-rw-r--r--user/sntpd/select.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/user/sntpd/select.patch b/user/sntpd/select.patch
index 00121d80b..f0e25055a 100644
--- a/user/sntpd/select.patch
+++ b/user/sntpd/select.patch
@@ -1,10 +1,10 @@
select(3) does not modify its timeout in musl, as permitted by POSIX
---- sntpd-7e372536855687f0af3c7ddde5fcb965b93d5d1e/src/sntpd.c
-+++ sntpd-7e372536855687f0af3c7ddde5fcb965b93d5d1e/src/sntpd.c
-@@ -686,7 +686,7 @@ static void primary_loop(int usd, struct ntp_control *ntpc)
- ERR(errno, "Failed select()");
+--- sntpd-3.0/src/sntpd.c
++++ sntpd-3.0/src/sntpd.c
+@@ -663,7 +663,7 @@ static void loop(struct ntp_control *ntpc)
continue;
}
+
- if (to.tv_sec == 0) {
+ if (1) {
if (probes_sent >= ntpc->probe_count && ntpc->probe_count != 0)