[Cuis] (FileDirectory default directoryContentsFor: '') is moby confused

Ken Dickey Ken.Dickey at whidbey.com
Mon Jun 2 08:35:36 CDT 2014


On Mon, 02 Jun 2014 10:21:26 -0300
Juan Vuletich <juan at jvuletich.org> wrote:


> The difference between platforms lies in the primitive... Maybe we'd 
> just correct the comment, and include a warning discouraging calling 
> eDirectory default directoryContentsFor: '' , maybe even raising an 
> exception, and suggest calling FileDirectory default 
> directoryContentsFor: './' or FileDirectory default 
> directoryContentsFor: '/' .
> 
> What do you all think, folks?

My personal preference is for '.' on Unix/Linix/

BTW 
  (FileDirectory default directoryContentsFor: '/') 
also gives me DirEntries with root file names but the Cuis image directory.

-- 
-KenD




More information about the Cuis mailing list