[PD-dev] changing glob_setfilename() to handle spaces in the dirname

Mathieu Bouchard matju at artengine.ca
Tue Apr 29 05:04:36 CEST 2008


On Mon, 28 Apr 2008, Hans-Christoph Steiner wrote:

> That means when you send names from tcl using [pd filename], any spaces 
> in the directory name get dropped.  I propose adding this to g_canvas.c 
> and then using that for the 'pd filename' callback instead. 
> glob_setfilename() would then be left since it is used interally and in 
> some extenrals: void glob_setfilename_gimme(void *dummy, t_symbol *s, 
> int argc, t_atom *argv) How does that sound?  Any better approach?

Miller's Pd can already read spaces in symbols if you backslash them.
It just won't write them properly, but that's not a problem here.

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec


More information about the Pd-dev mailing list