Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 15925] New: try to optimise remove_files_and_dirs

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 15925] New: try to optimise remove_files_and_dirs
  • Date: 30 Dec 2010 16:43:48 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=15925

Summary: try to optimise remove_files_and_dirs
Product: Sorcery
Version: Untargetted future release
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: subroutines
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: svn AT lynxlynx.info


remove_files_and_dirs can easily be made quicker. Three things to note:
1. Of course it can't use rm -r directly
2. Keep it clean
3. Keep it working (the same)

One idea is to use rmdir -p, but we need to make sure that things only up to
$2
are removed. xargs can be used to kill loops. There's a myriad of other
options
...

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



  • [SM-Sorcery-Bugs] [Bug 15925] New: try to optimise remove_files_and_dirs, bugzilla-daemon, 12/30/2010

Archive powered by MHonArc 2.6.24.

Top of Page