Well, making a pextlib call that implements "delete" with multiple
arguments, where each argument is a filename (or directory), would be
trivial in the extreme. Do we want more than that?
- Jordan
On Feb 15, 2007, at 8:24 PM, Kevin Ballard wrote:
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
[EMAIL PROTECTED]
http://www.tildesoft.com
_______________________________________________
macports-changes mailing list
[EMAIL PROTECTED]
http://lists.macosforge.org/mailman/listinfo/macports-changes
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev