Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20383
Modified Files: Tag: desiredata desire.c Log Message: switch to objects_reinit,wires_reinit instead of children=,wires=.
Index: desire.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v retrieving revision 1.1.2.217.2.190 retrieving revision 1.1.2.217.2.191 diff -C2 -d -r1.1.2.217.2.190 -r1.1.2.217.2.191 *** desire.c 4 Aug 2007 22:30:16 -0000 1.1.2.217.2.190 --- desire.c 7 Aug 2007 07:05:42 -0000 1.1.2.217.2.191 *************** *** 6011,6022 **** if (c==canvas_class) { // buffer overflow bug here ! char foo[4096]; t_canvas *can = (t_canvas *)self; char *bar=foo; *foo=0; ! canvas_each(y,can) bar+=sprintf(bar,"x%lx ",(long)y); ! sys_mgui(self,"children=","S",foo); bar=foo; *foo=0; ! canvas_wires_each(oc,t,can) bar+=sprintf(bar,"x%lx ", (long)oc); ! sys_mgui(self,"wires=","S",foo); sys_mgui(self,"name=","s",can->name); sys_mgui(self,"folder=","s",canvas_getenv(can)->dir); --- 6011,6022 ---- if (c==canvas_class) { // buffer overflow bug here ! char foo[8192]; t_canvas *can = (t_canvas *)self; char *bar=foo; *foo=0; ! canvas_each(y,can) bar+=sprintf(bar,"x%lx x%lx ",y->dix->index,(long)y); ! sys_mgui(self,"objects_reinit","S",foo); bar=foo; *foo=0; ! canvas_wires_each(oc,t,can) bar+=sprintf(bar,"x%lx x%lx ",oc->dix->index,(long)oc); ! sys_mgui(self,"wires_reinit","S",foo); sys_mgui(self,"name=","s",can->name); sys_mgui(self,"folder=","s",canvas_getenv(can)->dir);