[PD-cvs] pd/src builtins.c,1.1.2.31,1.1.2.32

Mathieu Bouchard matju at users.sourceforge.net
Wed Jul 18 22:22:14 CEST 2007


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

Modified Files:
      Tag: desiredata
	builtins.c 
Log Message:
removed some MAXPDSTRING


Index: builtins.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/builtins.c,v
retrieving revision 1.1.2.31
retrieving revision 1.1.2.32
diff -C2 -d -r1.1.2.31 -r1.1.2.32
*** builtins.c	17 Jul 2007 23:54:55 -0000	1.1.2.31
--- builtins.c	18 Jul 2007 20:22:12 -0000	1.1.2.32
***************
*** 3120,3127 ****
  }
  void unparse_list (t_unparse *x, t_symbol *s, int argc, t_atom *argv) {
!     std::ostringstream o; char buf[MAXPDSTRING]; /* bugger overflow. */
      for (int i=0; i<argc; i++) {
! 	atom_string(argv+i,buf,MAXPDSTRING);
! 	o << ' ' << buf;
      }
      outlet_symbol(x->outlet,gensym(o.str().data()+1));
--- 3120,3127 ----
  }
  void unparse_list (t_unparse *x, t_symbol *s, int argc, t_atom *argv) {
!     std::ostringstream o;
      for (int i=0; i<argc; i++) {
! 	o << ' ';
! 	atom_ostream(argv+i,o);
      }
      outlet_symbol(x->outlet,gensym(o.str().data()+1));





More information about the Pd-cvs mailing list