[PD-cvs] pd/src x_time.c,1.2.8.3.2.1,1.2.8.3.2.2
Mathieu Bouchard
matju at users.sourceforge.net
Wed Jan 3 08:02:09 CET 2007
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6669
Modified Files:
Tag: desiredata
x_time.c
Log Message:
pointer fixes
Index: x_time.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/x_time.c,v
retrieving revision 1.2.8.3.2.1
retrieving revision 1.2.8.3.2.2
diff -C2 -d -r1.2.8.3.2.1 -r1.2.8.3.2.2
*** x_time.c 3 Jan 2007 04:01:51 -0000 1.2.8.3.2.1
--- x_time.c 3 Jan 2007 07:02:07 -0000 1.2.8.3.2.2
***************
*** 429,433 ****
union word *w;
if (x->x_hang == h) x->x_hang = h->h_next;
! else for (h2 = x->x_hang; h3 = h2->h_next; h2 = h3)
{
if (h3 == h)
--- 429,433 ----
union word *w;
if (x->x_hang == h) x->x_hang = h->h_next;
! else for (h2 = x->x_hang; (h3 = h2->h_next); h2 = h3)
{
if (h3 == h)
***************
*** 449,452 ****
--- 449,453 ----
else post("pipe: stale pointer");
break;
+ default:{}
}
}
***************
*** 479,485 ****
{
*gp = *(ap->a_w.w_gpointer);
! if (gp->gp_stub) gp->gp_stub->gs_refcount++;
}
gp++;
}
}
--- 480,487 ----
{
*gp = *(ap->a_w.w_gpointer);
! if (gp->un.o) gp->un.o->refcount++;
}
gp++;
+ default:{}
}
}
***************
*** 489,493 ****
if (p->p_atom.a_type == A_POINTER)
{
! if (gp->gp_stub) gp->gp_stub->gs_refcount++;
w->w_gpointer = gp2;
*gp2++ = *gp++;
--- 491,495 ----
if (p->p_atom.a_type == A_POINTER)
{
! if (gp->un.o) gp->un.o->refcount++;
w->w_gpointer = gp2;
*gp2++ = *gp++;
***************
*** 510,514 ****
{
t_hang *hang;
! while (hang = x->x_hang)
{
x->x_hang = hang->h_next;
--- 512,516 ----
{
t_hang *hang;
! while ((hang = x->x_hang))
{
x->x_hang = hang->h_next;
More information about the Pd-cvs
mailing list