patchFreeciv - Patches: patch #2939, Support for commandline parameters...

 
 
Show feedback again

patch #2939: Support for commandline parameters with multiple subparameters

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Sun 21 Aug 2011 06:24:15 AM UTC  
 
Category: generalPriority: 3 - Low
Status: Ready For TestPrivacy: Public
Assigned to: NoneOpen/Closed: Open
Planned Release: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sat 05 Nov 2011 11:05:29 PM UTC, comment #1:

I've scrapped patches that required this one, so not in a hurry with this. Makes code more complicated, and has no users... nice to have feature in case need for the functionality ever emerges.

Marko Lindqvist <cazfi>
Project Administrator
Sun 21 Aug 2011 06:24:15 AM UTC, original submission:

There's several ways to explain what this patch does.

Interface:
Added new function get_options_malloc() that can be used to get parameter with arbitrary number of parameters of its own.

Implementation:
Renamed get_option_malloc() as get_options_malloc() and modified it. Added new get_option_malloc() -function that calls get_options_malloc() with paramters suitable for single-subparameter case.

Marko Lindqvist <cazfi>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #13945:  GetOptionSMalloc.diff added by cazfi (3kB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jtn (Updated the item)
  • -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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 30 Jun 2012 02:55:54 PM UTCjtnPlanned Release2.5.0=>
    Sat 05 Nov 2011 11:05:29 PM UTCcazfiPriority5 - Normal=>3 - Low
    Thu 27 Oct 2011 09:09:37 PM UTCcazfiPlanned Release2.4.0=>2.5.0
    Sun 21 Aug 2011 06:24:15 AM UTCcazfiAttached File-=>Added GetOptionSMalloc.diff, #13945
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup