Update of /cvsroot/pure-data/externals/iemlib/src/iemlib2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29893/iemlib/src/iemlib2
Modified Files: mergefilename.c Log Message: changed maxsize of symbol strings
Index: mergefilename.c =================================================================== RCS file: /cvsroot/pure-data/externals/iemlib/src/iemlib2/mergefilename.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** mergefilename.c 9 Nov 2006 18:35:48 -0000 1.7 --- mergefilename.c 9 Nov 2006 18:48:30 -0000 1.8 *************** *** 7,11 **** #include "m_pd.h" #include "iemlib.h" - #include <stdlib.h> #include <string.h> #include <stdio.h> --- 7,10 ---- *************** *** 96,100 **** }
! if(IS_A_SYMBOL(av, i)) { length = strlen(av->a_w.w_symbol->s_name); --- 95,99 ---- }
! if(IS_A_SYMBOL(av, 0)) { length = strlen(av->a_w.w_symbol->s_name); *************** *** 111,115 **** } } ! else if(IS_A_FLOAT(av, i)) { sprintf(flt_buf, "%g", av->a_w.w_float); --- 110,114 ---- } } ! else if(IS_A_FLOAT(av, 0)) { sprintf(flt_buf, "%g", av->a_w.w_float); *************** *** 127,130 **** --- 126,130 ---- } } + av++; } } *************** *** 156,160 **** { strcat(x->x_mem, x->x_sep); ! if(IS_A_SYMBOL(av, i)) { length = strlen(av->a_w.w_symbol->s_name); --- 156,160 ---- { strcat(x->x_mem, x->x_sep); ! if(IS_A_SYMBOL(av, 0)) { length = strlen(av->a_w.w_symbol->s_name); *************** *** 171,175 **** } } ! else if(IS_A_FLOAT(av, i)) { sprintf(flt_buf, "%g", av->a_w.w_float); --- 171,175 ---- } } ! else if(IS_A_FLOAT(av, 0)) { sprintf(flt_buf, "%g", av->a_w.w_float); *************** *** 187,190 **** --- 187,191 ---- } } + av++; } }