Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 8763] New: "dropped" casts in pass_four may cause error message at end of pass_three

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 8763] New: "dropped" casts in pass_four may cause error message at end of pass_three
  • Date: Sat, 30 Apr 2005 22:57:02 -0700 (PDT)

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

Summary: "dropped" casts in pass_four may cause error message at
end of pass_three
Product: Sorcery
Version: 1.14.x
Platform: Other
OS/Version: Linux
Status: NEW
Severity: trivial
Priority: P2
Component: Cast
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: seth AT tautology.org


with parallel "casting" or not, if a spell gets dropped and it was being
downloaded in the background, it is possible that pass_four may satisfy before
pass_three is satisfied. If all casts either are successful or error fail
instead of drop, pass_three must complete before-hand, which was the way it
was
gauranteed before dropping casts was added. Not anymore.

Easy enough to fix:

line 461 of cast:

touch $TMP_DIR/pass_three.done

can be made:

touch $TMP_DIR/pass_three.done 2> /dev/null

This of course brings us to the question of whether or not we should interrupt
downloading for skipped casts. Perhaps inserting a prompt at the end of
pass_four if pass_three.done doesn't exist asking if background downloading
should be stopped defaulting to no would work (a "disown %-" should suffice if
no). Line 469 already has a partial solution to this -- it just "waits" a bit
for pass_three to complete, although the "more bad things" warning in the
comment doesn't make much sense to me.

--
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.



  • [SM-Sorcery-Bugs] [Bug 8763] New: "dropped" casts in pass_four may cause error message at end of pass_three, bugzilla-daemon, 05/01/2005

Archive powered by MHonArc 2.6.24.

Top of Page