/* PSPP - computes sample statistics.
Copyright (C) 1997-9, 2000, 2006 Free Software Foundation, Inc.
- Written by Ben Pfaff <blp@gnu.org>.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
#include <data/storage-stream.h>
+#include <assert.h>
#include <stdlib.h>
#include <data/case-sink.h>
#include <data/case-source.h>
#include <data/case.h>
#include <data/casefile.h>
+#include <data/fastfile.h>
#include "xalloc.h"
struct storage_stream_info *info;
sink->aux = info = xmalloc (sizeof *info);
- info->casefile = casefile_create (sink->value_cnt);
+ info->casefile = fastfile_create (sink->value_cnt);
}
/* Destroys storage stream represented by INFO. */
struct casereader *reader;
bool ok = true;
- for (reader = casefile_get_reader (info->casefile);
+ for (reader = casefile_get_reader (info->casefile, NULL);
ok && casereader_read (reader, &casefile_case);
case_destroy (&casefile_case))
{