Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7-0]: src/crypto/external/bsd/heimdal/dist/kdc Pull ...



details:   https://anonhg.NetBSD.org/src/rev/02fd52e0b939
branches:  netbsd-7-0
changeset: 318710:02fd52e0b939
user:      martin <martin%NetBSD.org@localhost>
date:      Thu May 03 15:09:43 2018 +0000
description:
Pull up following revision(s) (requested by spz in ticket #1601):

        crypto/external/bsd/heimdal/dist/kdc/connect.c: revision 1.3

avoid busy-waiting on a dead child

diffstat:

 crypto/external/bsd/heimdal/dist/kdc/connect.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 15de2663a47f -r 02fd52e0b939 crypto/external/bsd/heimdal/dist/kdc/connect.c
--- a/crypto/external/bsd/heimdal/dist/kdc/connect.c    Thu May 03 14:49:50 2018 +0000
+++ b/crypto/external/bsd/heimdal/dist/kdc/connect.c    Thu May 03 15:09:43 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: connect.c,v 1.1.1.2.4.1 2017/08/20 05:42:01 snj Exp $  */
+/*     $NetBSD: connect.c,v 1.1.1.2.4.2 2018/05/03 15:09:43 martin Exp $       */
 
 /*
  * Copyright (c) 1997-2005 Kungliga Tekniska Högskolan
@@ -1193,7 +1193,7 @@
                 break;
             default:
                 for (i=0; i < max_kdcs; i++) {
-                    if (pids[i] == 0) {
+                    if (pids[i] < 1) {
                         pids[i] = pid;
                         break;
                     }



Home | Main Index | Thread Index | Old Index