[PD] [dirpanel] inconsistency in Windows?

martin.peach at sympatico.ca martin.peach at sympatico.ca
Thu Jan 14 17:12:04 CET 2010



Matteo Sisti Sette wrote:
> If you bang a [dirpanel] and browse for a directory in Windows, if you 
> select any folder that is not the root of a disk, you get:
> 
> symbol X:/path/to/the/folder
> 
> NOT ending with slash.
> 
> However, if you select the root of drive X, you get:
> 
> X:/
> 
> WITH the ending slash.
> 
> Isn't this inconsistent? Shouldn't the output either always or never 
> include the ending slash? (I don't know which of the two would be better).
> 

The pathname of the root directory is "/" so it is actually a beginning slash, so it's consistent.

Martin

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100114/98a6afec/attachment.htm>


More information about the Pd-list mailing list