Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/3973797b25e3
branches:  netbsd-8
changeset: 434970:3973797b25e3
user:      martin <martin%NetBSD.org@localhost>
date:      Sun May 06 10:29:30 2018 +0000

description:
Pull up following revision(s) (requested by spz in ticket #800):

        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 a870d6d0f729 -r 3973797b25e3 crypto/external/bsd/heimdal/dist/kdc/connect.c
--- a/crypto/external/bsd/heimdal/dist/kdc/connect.c    Sun May 06 09:49:33 2018 +0000
+++ b/crypto/external/bsd/heimdal/dist/kdc/connect.c    Sun May 06 10:29:30 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: connect.c,v 1.2 2017/01/28 21:31:44 christos Exp $     */
+/*     $NetBSD: connect.c,v 1.2.4.1 2018/05/06 10:29:30 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