Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25401
Modified Files: Tag: desiredata m_atom.c Log Message: 0.40
Index: m_atom.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/m_atom.c,v retrieving revision 1.2.8.2 retrieving revision 1.2.8.2.2.1 diff -C2 -d -r1.2.8.2 -r1.2.8.2.2.1 *** m_atom.c 30 Nov 2005 13:36:57 -0000 1.2.8.2 --- m_atom.c 8 Dec 2006 06:56:49 -0000 1.2.8.2.2.1 *************** *** 89,94 **** for (sp = a->a_w.w_symbol->s_name, len = 0, quote = 0; *sp; sp++, len++) if (*sp == ';' || *sp == ',' || *sp == '\' || ! (*sp == '$' && sp == a->a_w.w_symbol->s_name && sp[1] >= '0' ! && sp[1] <= '9')) quote = 1; if (quote) --- 89,93 ---- for (sp = a->a_w.w_symbol->s_name, len = 0, quote = 0; *sp; sp++, len++) if (*sp == ';' || *sp == ',' || *sp == '\' || ! (*sp == '$' && sp[1] >= '0' && sp[1] <= '9')) quote = 1; if (quote) *************** *** 99,103 **** { if (*sp == ';' || *sp == ',' || *sp == '\' || ! (*sp == '$' && bp == buf && sp[1] >= '0' && sp[1] <= '9')) *bp++ = '\'; *bp++ = *sp++; --- 98,102 ---- { if (*sp == ';' || *sp == ',' || *sp == '\' || ! (*sp == '$' && sp[1] >= '0' && sp[1] <= '9')) *bp++ = '\'; *bp++ = *sp++; *************** *** 122,126 **** break; case A_DOLLSYM: ! sprintf(buf, "$%s", a->a_w.w_symbol->s_name); break; default: --- 121,126 ---- break; case A_DOLLSYM: ! strncpy(buf, a->a_w.w_symbol->s_name, bufsize); ! buf[bufsize-1] = 0; break; default: