[PD] Crasher bug found...

IOhannes m zmölnig zmoelnig at iem.at
Tue Feb 10 19:15:04 CET 2009


Mathieu Bouchard wrote:
> 
>     if (!s->s_name) s = gensym("file.%d");
> vs
>     if (!*s->s_name) s = gensym("file.%d");
> 
> Because Pd uses &s_ as default value for a symbol arg, not a null
> pointer, so s->s_name is never considered "false"... same bug, really.

btw, this has been fixed in some bugfix release of 0.42

gmadsr
IOhannes




More information about the Pd-list mailing list