[squeak-dev] Re: FileDirectory from a relative path

K. K. Subramaniam subbukk at gmail.com
Thu Sep 17 07:47:29 UTC 2009


On Thursday 17 Sep 2009 11:37:16 am Miguel Enrique Cobá Martinez wrote:
> The lines that I found, and also the line that Andreas provided both
> work. It is just that I wanted to know if there were a shorter, more
> concise way, something along the lines:
>
> FileDirectory on: '../dirC/directory/'.
(FileDirectory on: '../dirC/directory/') pathName returns
	 '/../dirC/directory/'

I would think this is a bug. UnixFileDirectory>>setPathName:pathString 
prepends '/' for a relative path. It should be prepending DefaultDirectory.

Subbu




More information about the Squeak-dev mailing list