X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fsettings.c;h=4c0fde083740ea483852acbaa56e1b53b07dbbb8;hb=aac8d19c7dabd2ac89a0acf70d4d6cf8d07949bf;hp=0868a331891c94b24a26a823086ad2e34d98a83e;hpb=196db9f58754f9f42d8679384b610aa41c820cfb;p=pspp diff --git a/src/data/settings.c b/src/data/settings.c index 0868a33189..4c0fde0837 100644 --- a/src/data/settings.c +++ b/src/data/settings.c @@ -29,7 +29,6 @@ #include "libpspp/integer-format.h" #include "libpspp/message.h" -#include "gl/error.h" #include "gl/minmax.h" #include "gl/xalloc.h" @@ -105,7 +104,7 @@ static struct settings the_settings = { true, /* printback */ true, /* mprint */ - 1, /* mxloops */ + 40, /* mxloops */ 64L * 1024 * 1024, /* workspace */ {FMT_F, 8, 2}, /* default_format */ false, /* testing_mode */ @@ -452,7 +451,7 @@ settings_get_workspace_cases (const struct caseproto *proto) bytes. */ void -settings_set_workspace ( size_t workspace) +settings_set_workspace (size_t workspace) { the_settings.workspace = workspace; } @@ -713,3 +712,10 @@ settings_get_var_style (void) { return the_settings.var_output_style; } + + +void +settings_set_var_style (enum settings_var_style s) +{ + the_settings.var_output_style = s; +}