[PD-cvs] pd/src desire.c,1.1.2.217.2.130,1.1.2.217.2.131

Mathieu Bouchard matju at users.sourceforge.net
Tue Jan 16 00:38:08 CET 2007


Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12280

Modified Files:
      Tag: desiredata
	desire.c 
Log Message:
forbid making operation on zombie


Index: desire.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v
retrieving revision 1.1.2.217.2.130
retrieving revision 1.1.2.217.2.131
diff -C2 -d -r1.1.2.217.2.130 -r1.1.2.217.2.131
*** desire.c	15 Jan 2007 23:35:53 -0000	1.1.2.217.2.130
--- desire.c	15 Jan 2007 23:38:03 -0000	1.1.2.217.2.131
***************
*** 6059,6063 ****
  	t_text *o;
  	if (sscanf(s->name,"x%lx",(long*)&o)<1) {error("expected object-id"); return 0;}
! 	if (!hash_exists(object_table,o)) {
  		error("%s target is not a currently valid pointer",s->name);
  		return 0;
--- 6059,6063 ----
  	t_text *o;
  	if (sscanf(s->name,"x%lx",(long*)&o)<1) {error("expected object-id"); return 0;}
! 	if (!hash_exists(object_table,o) || !(long)hash_get(object_table,o)&1) {
  		error("%s target is not a currently valid pointer",s->name);
  		return 0;





More information about the Pd-cvs mailing list