Source-Changes-HG archive

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

[src/netbsd-1-5]: src/usr.sbin/mopd/mopd Pull up revision 1.10 (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/6defaede48f1
branches:  netbsd-1-5
changeset: 490379:6defaede48f1
user:      he <he%NetBSD.org@localhost>
date:      Fri Dec 15 04:32:43 2000 +0000

description:
Pull up revision 1.10 (requested by bouyer):
  Make sure dle points to the correct slot.  Fixes PR#11253.

diffstat:

 usr.sbin/mopd/mopd/process.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 76db9cc1ccf0 -r 6defaede48f1 usr.sbin/mopd/mopd/process.c
--- a/usr.sbin/mopd/mopd/process.c      Fri Dec 15 04:30:47 2000 +0000
+++ b/usr.sbin/mopd/mopd/process.c      Fri Dec 15 04:32:43 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: process.c,v 1.6.4.3 2000/09/30 15:59:50 sommerfeld Exp $       */
+/*     $NetBSD: process.c,v 1.6.4.4 2000/12/15 04:32:43 he Exp $       */
 
 /*
  * Copyright (c) 1993-95 Mats O Jansson.  All rights reserved.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: process.c,v 1.6.4.3 2000/09/30 15:59:50 sommerfeld Exp $");
+__RCSID("$NetBSD: process.c,v 1.6.4.4 2000/12/15 04:32:43 he Exp $");
 #endif
 
 #include "os.h"
@@ -357,6 +357,8 @@
        if (slot == -1)
                return;
 
+       dle = &dllist[slot];
+
        if ((new_count == ((dle->count+1) % 256))) {
                dle->loadaddr = dllist[slot].nloadaddr;
                dle->count    = new_count;



Home | Main Index | Thread Index | Old Index