Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/mopd/mopd Need special tweaking for VAX8200 etc...



details:   https://anonhg.NetBSD.org/src/rev/97f4a9d6f79f
branches:  trunk
changeset: 493946:97f4a9d6f79f
user:      ragge <ragge%NetBSD.org@localhost>
date:      Tue Jun 27 18:57:41 2000 +0000

description:
Need special tweaking for VAX8200 etc...

diffstat:

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

diffs (27 lines):

diff -r ab825a481232 -r 97f4a9d6f79f usr.sbin/mopd/mopd/process.c
--- a/usr.sbin/mopd/mopd/process.c      Tue Jun 27 18:50:47 2000 +0000
+++ b/usr.sbin/mopd/mopd/process.c      Tue Jun 27 18:57:41 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: process.c,v 1.6 2000/01/10 19:33:18 abs Exp $  */
+/*     $NetBSD: process.c,v 1.7 2000/06/27 18:57:41 ragge 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 2000/01/10 19:33:18 abs Exp $");
+__RCSID("$NetBSD: process.c,v 1.7 2000/06/27 18:57:41 ragge Exp $");
 #endif
 
 #include "os.h"
@@ -282,6 +282,8 @@
                dllist[slot].dl_bsz = 1492;
        if (dllist[slot].dl_bsz == 1030)        /* VS/uVAX 2000 needs this */
                dllist[slot].dl_bsz = 1000;
+       if (dllist[slot].dl_bsz == 0)           /* Needed by "big" VAXen */
+               dllist[slot].dl_bsz = 1492;
        if (trans == TRANS_8023)
                dllist[slot].dl_bsz = dllist[slot].dl_bsz - 8;
 



Home | Main Index | Thread Index | Old Index