Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 10576] sscripts don't always clean after themselves

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 10576] sscripts don't always clean after themselves
  • Date: 26 Feb 2006 20:47:25 -0000

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





------- Additional Comments From jakakranjc AT email.si 2006-02-26 14:47 -------
The problem is that they don't clean after themselves - try any of those
commands and you'll see that /tmp/sorcery/*/ is not empty, $TMP_DIR is left
behind.

Yes, an exit function could do it. I don't see anything wrong with the trap
though and it is more reliable, it will clean up no matter how the script
ended. For example, not all catch SIGINT then cleanup and there are probably
other things that can kill a script. The test shows it's reliable.


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




Archive powered by MHonArc 2.6.24.

Top of Page