Follow-up Comment #1, bug #13931 (project freeciv):

add patch based on the settings changes
(gna13867 to gna13871)

again the question if the use of 'char sval[1024]'
in setting_set_to_default() is correct.

if the recursive read patch is added, the check
path can include read_ini_script():

static bool reset_command(struct connection *caller, bool check)
  if (srvarg.script_filename &&
      !read_init_script(NULL, srvarg.script_filename, TRUE, check)) {
    freelog(LOG_ERROR, _("Cannot load the script file '%s'"),
    return FALSE;

  if (!check) {

    notify_conn(NULL, NULL, E_SETTING, _("Server: Settings

  return TRUE;

(file #6192)

Additional Item Attachment:

File name: gna13931-implement-reset-command-with-settings.patch Size:7 KB


Reply to this item at:


  Nachricht geschickt von/durch Gna!

Freeciv-dev mailing list

Reply via email to