Subject: CVS commit: [netbsd-2-0] xsrc/xfree/xc/programs/Xserver/hw/netbsd/dec/tga
To: None <source-changes@NetBSD.org>
From: James Chacon <jmc@netbsd.org>
List: source-changes
Date: 11/12/2004 05:25:32
Module Name:	xsrc
Committed By:	jmc
Date:		Fri Nov 12 05:25:32 UTC 2004

Modified Files:
	xsrc/xfree/xc/programs/Xserver/hw/netbsd/dec/tga [netbsd-2-0]:
	    tgawindow.c

Log Message:
Pullup rev 1.2 (requested by mhitch in ticket #925)

The 4.4.0 import changed the REGION_INIT() macro and uses with NullBox
(which is a NULL pointer) cause a memory fault.  The XalphaNetBSD and
XdecNetBSD servers fail with a memory fault on an alpha with a TGA
video adapter.  Change REGION_INIT() to REGION_NULL() where used with
NullBox.  Both servers will now run on an alpha with a tga card.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.1.2.1 \
    xsrc/xfree/xc/programs/Xserver/hw/netbsd/dec/tga/tgawindow.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.