🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs.2bsd
Article #9

FIXED: problems in systems with more than 2 megabytes of memory

#9
From: ucbvaxdist2
Date: Sat, 12 Dec 1981 04:40
27 lines
897 bytes
	Due to problems with integer vs. unsigned types, the distributed
system didn't properly deal with large amounts of memory (> 2 megabytes).
Three files must be changed to correct this:

	diff kernel/sys/sys/machdep.c.old kernel/sys/sys/machdep.c
	81d80
	< 		if (maxmem >= 32767L)break;

	diff kernel/sys/sys/malloc.c.old kernel/sys/sys/malloc.c
	24a25
	> unsigned size;
	57c58,59
	< register int a;
	---
	> register unsigned a;
	> unsigned size;

	diff kernel/inlcude/sys/map.h.old kernel/include/sys/map.h
	3c3
	< 	short	m_size;
	---
	> 	unsigned short m_size;


These changes should be made to all tapes written before 12/11/81.

			Carl
Technical Details
Message-ID: <anews.Aucbvax.5454>
Path: arc1-ca.pugleaf.net!utzoo!decvax!ucbvax!dist2

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!decvax!ucbvax!dist2
From: ucbvax!dist2
Newsgroups: net.bugs.2bsd
Subject: FIXED:  problems in systems with more than 2 megabytes of memory
Date: Sat, 12 Dec 1981 04:40:09 +0000
Message-ID: <anews.Aucbvax.5454>