Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/48906c5c5019
branches:  netbsd-7
changeset: 800473:48906c5c5019
user:      martin <martin%NetBSD.org@localhost>
date:      Thu May 03 15:08:09 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 0fa9e6cccb3d -r 48906c5c5019 crypto/external/bsd/heimdal/dist/kdc/connect.c
--- a/crypto/external/bsd/heimdal/dist/kdc/connect.c    Thu May 03 14:47:22 2018 +0000
+++ b/crypto/external/bsd/heimdal/dist/kdc/connect.c    Thu May 03 15:08:09 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: connect.c,v 1.1.1.2.2.1 2017/08/20 05:46:33 snj Exp $  */
+/*     $NetBSD: connect.c,v 1.1.1.2.2.2 2018/05/03 15:08:09 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