[gclist] Baker's treadmill without a doubly linked list.

James McCartney james@clyde.as.utexas.edu
Thu, 30 Jan 1997 07:41:33 -0700


At 11:57 PM -0700 1/29/97, James McCartney wrote:

Correction. These two lines must be swapped:

>    /* fix indices */
>    gc_table[white_index]->gc_index = white_index;
>    gc_table[obj->gc_index]->gc_index = obj->gc_index;

Should be:

    /* fix indices */
    gc_table[obj->gc_index]->gc_index = obj->gc_index;
    gc_table[white_index]->gc_index = white_index;

Otherwise the value at obj->gc_index gets overwritten by the
assignment gc_table[white_index]->gc_index = white_index;


   --- james mccartney     james@clyde.as.utexas.edu   james@lcsaudio.com
If you have a PowerMac check out SuperCollider, a real time synth program:
ftp://mirror.apple.com//mirrors/Info-Mac.Archive/gst/snd/super-collider-demo.hqx