X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=perl-module%2FPSPP.xs;h=834ec401f483900d5cd1cb5bfb5d3e08045e7e4a;hb=478954c1ed028744ab870f0e6a5befcc8f643758;hp=d2b2c58c4c91396ca158d4840e796e468c9635d1;hpb=f44411bc0acedfdf5832c0e686057f62fb9be32a;p=pspp diff --git a/perl-module/PSPP.xs b/perl-module/PSPP.xs index d2b2c58c4c..834ec401f4 100644 --- a/perl-module/PSPP.xs +++ b/perl-module/PSPP.xs @@ -1,5 +1,5 @@ /* PSPP - computes sample statistics. - Copyright (C) 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -39,9 +39,12 @@ #include #include #include +#include #include #include #include +#include +#include #include #include #include @@ -180,7 +183,7 @@ CODE: i18n_init (); msg_set_handler (message_handler, NULL); - settings_init (0, 0); + settings_init (); fh_init (); SV * @@ -706,7 +709,7 @@ CODE: fh_create_file (NULL, name, fh_default_properties () ); sri = xmalloc (sizeof (*sri)); - sri->reader = sfm_open_reader (fh, &sri->dict, &sri->opts); + sri->reader = sfm_open_reader (fh, NULL, &sri->dict, &sri->opts); if ( NULL == sri->reader) {