[22007] trunk/base/src/port1.0/portutil.tcl

Kevin Ballard eridius at macports.org
Thu Feb 15 20:24:35 PST 2007


Alternately, we could just go back to using rm -rf, but do it  
correctly this time (so spaces don't screw it up).

This would be easier if the system call from Pextlib followed the  
exec usage and allowed you to pass each argument separately.

On Feb 14, 2007, at 3:23 AM, Jordan K. Hubbard wrote:

> While most of these helper functions seem pretty sane, I can't help  
> but think that the delete function really ought to be written in C  
> for speed and correctness (following the pseudo code example at  
> http://docs.info.apple.com/article.html?artnum=107884).   The Tcl  
> function I see below is not going to be particularly fast on either  
> broad or deep hierarchies of files, and mass deletions of stuff in  
> cleanup procedures is fairly common place.  I think the other  
> functions are low-overhead enough that Tcl is a fine implementation  
> language, but not delete.

-- 
Kevin Ballard
http://kevin.sb.org
eridius at macports.org
http://www.tildesoft.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-dev/attachments/20070215/ffcbd832/attachment.html


More information about the macports-dev mailing list