From: Jason Daly (jdaly++at++ist.ucf.edu)
Date: 04/18/2002 10:55:19
On Thu, 18 Apr 2002, Rob Krajcarski wrote:
>
> 1) Bead id's seem to get corrupted. I've found that bead id's whose
> length is of a specific length (I've seen strlen of 8, 12 and 16) cause
> the pfNode name to be followed by a "\n", causing all pfNode->find() calls
> to fail miserably. I'm pretty sure I remember seeing something about
> problems when the length of the bead id is a multiple of 8, but I can't
> remember where I saw this, or the details (and the string of length 12
> just messes all that up!).
We noticed this problem too. I don't know about the 12-character names,
but if a bead has an ID that is a multiple of 8 characters long, it will
be terminated by a \n when it is loaded, instead of a null character.
This seems to be peculiar to the Linux OpenFlight loader (IRIX doesn't
have this problem). We got around it by renaming all the offending beads
that we intend to find() in our app.
--"J"
"I'm a castaway stranded in a desolate land,
I can see the footprints in the virtual sand."
--Neil Peart
This archive was generated by hypermail 2b29 : Thu Apr 18 2002 - 10:55:47 PDT