[PD-cvs] pd/src kernel.c,1.1.2.30,1.1.2.31
Mathieu Bouchard
matju at users.sourceforge.net
Fri Jan 5 02:54:21 CET 2007
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15517
Modified Files:
Tag: desiredata
kernel.c
Log Message:
fix crash in binbuf_addbinbuf
Index: kernel.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/kernel.c,v
retrieving revision 1.1.2.30
retrieving revision 1.1.2.31
diff -C2 -d -r1.1.2.30 -r1.1.2.31
*** kernel.c 4 Jan 2007 21:37:08 -0000 1.1.2.30
--- kernel.c 5 Jan 2007 01:54:19 -0000 1.1.2.31
***************
*** 1875,1880 ****
void binbuf_addbinbuf(t_binbuf *x, t_binbuf *y) {
t_binbuf *z = binbuf_new();
- t_atom *ap = z->vec;
binbuf_add(z, y->n, y->vec);
for (int i=0; i < z->n; i++, ap++) {
char tbuf[MAXPDSTRING];
--- 1875,1880 ----
void binbuf_addbinbuf(t_binbuf *x, t_binbuf *y) {
t_binbuf *z = binbuf_new();
binbuf_add(z, y->n, y->vec);
+ t_atom *ap = z->vec;
for (int i=0; i < z->n; i++, ap++) {
char tbuf[MAXPDSTRING];
More information about the Pd-cvs
mailing list