• Mihai Moldovan's avatar
    Several fixes for building debug versions of NX (990_fix-DEBUG-and-TEST-builds.full.patch). · 6e662473
    Mihai Moldovan authored
      (1) In nx-X11/programs/Xserver/dix:
    
      Fix several compile errors when specifying -DDEBUG globally. Previous GCC
      versions were more liberal and the code thus compiled.
    
      Also initialize/reset a count variable correctly.
    
      (2) In nx-X11/programs/Xserver/hw/nxagent/Render.c:
    
      Check for pSrc->pDrawable to exist instead of having nxagent segfault when
      it does not.
    
      This enables the possibility of compiling all nxagent modules in TEST mode.
    6e662473
NXdispatch.c 122 KB