patchFreeciv - Patches: patch #3363, Bool ruleset loading result

 
 
Show feedback again

patch #3363: Bool ruleset loading result

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Tue 03 Jul 2012 11:25:45 PM UTC  
 
Category: generalPriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Planned Release: 2.5.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 05 Jul 2012 10:36:03 PM UTC, SVN revision 21454:

Made return value of load_rulesets() boolean, though currently always TRUE
if function returns, and make all the callers to check that return value.
Made it also so that once function returns FALSE, it has reverted to using
default ruleset so server is in sane state.

See gna patch #3363

(Browse SVN revision 21454)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Tue 03 Jul 2012 11:25:45 PM UTC, original submission:

Make return value of load_rulesets() boolean, though currently always TRUE if function returns, and make all the callers to check that return value. Make it also so that once function returns FALSE, it has reverted to using default ruleset so server is in sane state.

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #15966:  RulesetRetvalCheck.diff added by cazfi (10kB - text/x-diff)

 

Depends on the following items: None found

Digest:
   patch dependencies.

 

Carbon-Copy List
  • -unavailable- added by cazfi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 23 Jan 2013 06:16:00 PM UTCcazfiDependencies-=>patch #1449 is dependent
    Thu 05 Jul 2012 10:36:28 PM UTCcazfiStatusReady For Test=>Done
      Assigned toNone=>cazfi
      Open/ClosedOpen=>Closed
    Tue 03 Jul 2012 11:25:45 PM UTCcazfiAttached File-=>Added RulesetRetvalCheck.diff, #15966
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup