Paul Rogers wrote:
> OK, as a reminder this is my error:
>
> error setting MTRR (base = 0xe0000000, size = 0x03000000, type = 1)
> Invalid argument (22)
> X Error of failed request:  BadMatch (invalid parameter attributes)
>    Major opcode of failed request:  70 (X_PolyFillRectangle)
>    Serial number of failed request:  15
>    Current serial number in output stream:  16
>
> waiting for X server to shut down ...error setting MTRR (base =
> 0xe0000000, size = 0x03000000, type = 1) Invalid argument (22)
>
> I decided to see what the PolyFillRectangle was about,
> maybe that's propagating to cause the MTRR error.  So
> I grepped everything, and saw the following.  I've
> learned lots of languages over the years, but C wasn't
> one of them.  But looking at other statements in this file,
> none of the other have the space after the asterisk.  Hmmm,
> in case the email messes up the exact spacing, the second
> is "left paren" "asterisk" "space" "Saved...".  Is that right?
>
> xorg-server-1.8.2/Xext/panoramiXprocs.c:        return
> (*SavedProcVector[X_PolyFillRectangle])(client);
> xorg-server-1.8.2/Xext/panoramiXprocs.c:            result = (*
> SavedProcVector[X_PolyFillRectangle])(client);
>
> Can I just patch that back together?

Patch what together?

The line

result = (*SavedProcVector[X_PolyFillRectangle])(client);

assigns the returned value of a called function to result.

SavedProcVector is an array of pointers to functions with a parameter of 
a pointer to a structure called _Client which is defined in 
include/dixstruct.h

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to