From: James Wright (james@jigsawdezign.com)
Date: Sun 09 Feb 2003 - 18:31:47 IST
   I have found the problem which was causing the error i reported in the last mail..
vgapci.c:
int __svgalib_pci_read_config_dword(int pos, int address)
{
    pcic_t p;
   
    p.pcipos = pos;
    p.address = address;
    p.val = 0; /*********** I INSERTED THIS LINE to initialise the return value ***********/
    
    if(ioctl( __svgalib_mem_fd, SVGALIB_HELPER_IOCGPCIINL, &p)) return -1;
    
    return p.val;
};
Is that the correct thing to do???  Shal i go through as many errors as i can with "valgrind"
to try and clean it up? or is this a waste of time????
Thanks,
James
------------------------------------------------------------------
Unsubscribe:  To:   listbot@svgalib.org
              Body: unsubscribe linux-svgalib
This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:25 IST