Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/07995a4d9fb9
branches:  netbsd-7-1
changeset: 318706:07995a4d9fb9
user:      martin <martin%NetBSD.org@localhost>
date:      Thu May 03 15:08:54 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 b46059fc5f51 -r 07995a4d9fb9 crypto/external/bsd/heimdal/dist/kdc/connect.c
--- a/crypto/external/bsd/heimdal/dist/kdc/connect.c    Thu May 03 14:48:26 2018 +0000
+++ b/crypto/external/bsd/heimdal/dist/kdc/connect.c    Thu May 03 15:08:54 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: connect.c,v 1.1.1.2.12.1 2017/08/20 05:44:14 snj Exp $ */
+/*     $NetBSD: connect.c,v 1.1.1.2.12.2 2018/05/03 15:08:54 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