Re: Correction of Bug In CSB Loader

New Message Reply Date view Thread view Subject view Author view

From: Tom Flynn (flynnt++at++engr.sgi.com)
Date: 01/11/2001 13:31:42


On Tue, 9 Jan 2001, Guillaume Millet wrote:

> Hello,
>
> I dont known if you got the problem but I found a bug in the csbloader
> of Perfomer 2.4 under Linux.
>
> The bug is that extures filenames are badly extract from CSB and failed
> to load.
>
>
> The correction is:
>
> In file pfcsb.C and in function load_tex
> your must replace the CSB_FREAD at line 1990:
>
> CSB_FREAD((char *)csb->buf, t.file_name_size, 1, csb->fp);
>
> by a normal fread because strings dont need to be byte swaped.

Good catch! Thanks. I guess we got a little too aggressive with our
search and replace while porting the loader :). I'll fix it on
oss.sgi.com/projects/performer and try to get it in 2.4.1 was well.

thanks again,
tom

--
"Mongooses are famous for their snake-fighting ability, and are
 almost always victorious because of their speed, agility, and timing
 and also because of their thick coat."


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Jan 11 2001 - 13:31:50 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.