On Fri, Dec 16, 2011 at 2:43 PM, Diab Jerius <[email protected]> wrote:
> I've "fixed" this by modifying the code to ignore files that begin
> with ._ but that seems like an awful kludge.  A cleaner approach might
> be to allow the call to lfs.dir to be wrapped on a platform specific
> basis to filter out "bad" files.  I've run out of tuits to proceed,
> however.

Interesting. Thanks for tracking down the problem.

We could add a luarocks.fs.macosx module to restrict that behavior to
Mac OSX, but I'm not sure if that's the best option. It doesn't make
sense for portability to allow files staring with "._" in other
platforms and disallow them on OSX. Since this is an unusual filename
pattern I think we could really just skip those.

-- Hisham
http://hisham.hm/

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to