Source-Changes archive

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

CVS commit: xsrc/xfree/xc/programs/Xserver/hw/netbsd



Module Name:    xsrc
Committed By:   mhitch
Date:           Wed Oct 13 20:50:39 UTC 2004

Modified Files:
        xsrc/xfree/xc/programs/Xserver/hw/netbsd/alpha/sfb: sfbwindow.c
        xsrc/xfree/xc/programs/Xserver/hw/netbsd/alpha/tga: tgawindow.c
        xsrc/xfree/xc/programs/Xserver/hw/netbsd/dec/sfb: sfbwindow.c
        xsrc/xfree/xc/programs/Xserver/hw/netbsd/dec/tga: tgawindow.c

Log Message:
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.  The
sfb code has the same usage.  Not tested on a TurboChannel box, but
inspection of the generated code shows the same problem would occur.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 \
    xsrc/xfree/xc/programs/Xserver/hw/netbsd/alpha/sfb/sfbwindow.c
cvs rdiff -r1.1 -r1.2 \
    xsrc/xfree/xc/programs/Xserver/hw/netbsd/alpha/tga/tgawindow.c
cvs rdiff -r1.1 -r1.2 \
    xsrc/xfree/xc/programs/Xserver/hw/netbsd/dec/sfb/sfbwindow.c
cvs rdiff -r1.1 -r1.2 \
    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.




Home | Main Index | Thread Index | Old Index