Correction of Bug In CSB Loader

New Message Reply Date view Thread view Subject view Author view

From: Guillaume Millet (millet++at++oktal.fr)
Date: 01/09/2001 12:21:35


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.

Bye...


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Jan 09 2001 - 12:27:20 PST

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