[PD-cvs] externals/hcs stat.c,1.4.2.1,1.4.2.2

Hans-Christoph Steiner eighthave at users.sourceforge.net
Tue Jul 24 02:37:25 CEST 2007


Update of /cvsroot/pure-data/externals/hcs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20860

Modified Files:
      Tag: branch-v0-39-2-extended
	stat.c 
Log Message:
lots of debug messages to debug mysterious crash that only occurs on auto-builds

Index: stat.c
===================================================================
RCS file: /cvsroot/pure-data/externals/hcs/stat.c,v
retrieving revision 1.4.2.1
retrieving revision 1.4.2.2
diff -C2 -d -r1.4.2.1 -r1.4.2.2
*** stat.c	9 Jul 2007 21:28:30 -0000	1.4.2.1
--- stat.c	24 Jul 2007 00:37:23 -0000	1.4.2.2
***************
*** 43,48 ****
  t_int stat_instance_count;
  
! #define DEBUG(x)
! //#define DEBUG(x) x 
  
  /*------------------------------------------------------------------------------
--- 43,48 ----
  t_int stat_instance_count;
  
! //#define DEBUG(x)
! #define DEBUG(x) x 
  
  /*------------------------------------------------------------------------------
***************
*** 74,77 ****
--- 74,79 ----
  static void add_atom_to_output(t_stat *x, t_atom *new_atom)
  {
+ 	DEBUG(post("add_atom_to_output"););
+ 
      t_atom *new_atom_list;
  
***************
*** 96,99 ****
--- 98,103 ----
  static void add_float_to_output(t_stat *x, t_float f)
  {
+ 	DEBUG(post("add_float_to_output"););
+ 
  	t_atom *temp_atom = getbytes(sizeof(t_atom));
  	SETFLOAT(temp_atom, f);
***************
*** 104,107 ****
--- 108,113 ----
  static void reset_output(t_stat *x)
  {
+ 	DEBUG(post("reset_output"););
+ 
  	if(x->output)
  	{
***************
*** 118,121 ****
--- 124,129 ----
  static void stat_output_error(t_stat *x)
  {
+ 	DEBUG(post("stat_output_error"););
+ 
  	t_atom output_atoms[2];
  	switch(errno)
***************
*** 249,252 ****
--- 257,261 ----
  static void stat_symbol(t_stat *x, t_symbol *s) 
  {
+ 	DEBUG(post("stat_symbol"););
     stat_set(x,s);
     stat_output(x);





More information about the Pd-cvs mailing list