Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] persistent_save function being used in stable spells?

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: SM-Discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] persistent_save function being used in stable spells?
  • Date: Fri, 16 Apr 2004 11:00:40 -0700

Quoting Andrew <afrayedknot AT thefrayedknot.armory.com>:
> Hmm, also I had meant to point out that one of the reasons why sorcery is
> not
> detecting failures is due to structures like this:
> if [ -x BUILD ] ; then
> persistant_load
> . BUILD
> persistant_save
> else
> default_build
> fi &&
>
> The fi seems to carry the result of the last command run, which used to
> be BUILD and is not persistant_save (which doesn't really fail). So when
> BUILD fails, the return value isn't passed along through && operators.
>
> In my build split sorcery I've fixed it. I think I will just submit my code
> tonight unless there are any new problems people have found with it.
>
> After that we'll have a week or two of testing and then make a
> 1.10 sorcery stable release.
>
> Any obections to the plan? Thanks to all those who have tried out my
> build split code and gotten back to me about issues. Hopefully we
> wont have any surprises down the road.

Sounds good to me. Shall we coordinate the grimoire team to have the easy
spells
split by then as well?

-sandalle

--
PGP Key Fingerprint: FCFF 26A1 BE21 08F4 BB91 FAED 1D7B 7D74 A8EF DD61
http://search.keyserver.net:11371/pks/lookup?op=get&search=0xA8EFDD61

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E/IT$ d-- s++:+>: a-- C++(+++) BL++++VIS>$ P+(++) L+++ E-(---) W++ N+@ o?
K? w++++>-- O M-@ V-- PS+(+++) PE(-) Y++(+) PGP++(+) t+() 5++ X(+) R+(++)
tv(--)b++(+++) DI+@ D++(+++) G>+++ e>+++ h---(++) r++ y+
------END GEEK CODE BLOCK------

Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us | http://www.sourcemage.org/
http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/ #196285 | http://www.shock.wsu.edu/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




Archive powered by MHonArc 2.6.24.

Top of Page