X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Foutput.c;fp=src%2Foutput%2Foutput.c;h=2754ec73701e124088b97810cb6f2c723508ce52;hb=4196dc548eca5925571a9f61fbb1008646f3a09d;hp=91df8f022eb84cef6033963079dcadad3d326d3f;hpb=cf2b8455da9e0ae5359740dcb6ad2037046f88e7;p=pspp-builds.git diff --git a/src/output/output.c b/src/output/output.c index 91df8f02..2754ec73 100644 --- a/src/output/output.c +++ b/src/output/output.c @@ -278,9 +278,8 @@ outp_read_devices (void) init_fn = fn_search_path (fn_getenv_default ("STAT_OUTPUT_INIT_FILE", "devices"), fn_getenv_default ("STAT_OUTPUT_INIT_PATH", - config_path), - NULL); - + config_path)); + ds_init_empty (&line); if (init_fn == NULL) @@ -1011,9 +1010,8 @@ outp_get_paper_size (char *size, int *h, int *v) pprsz_fn = fn_search_path (fn_getenv_default ("STAT_OUTPUT_PAPERSIZE_FILE", "papersize"), fn_getenv_default ("STAT_OUTPUT_INIT_PATH", - config_path), - NULL); - + config_path)); + ds_init_empty (&line); if (pprsz_fn == NULL)