/* PSPP - a program for statistical analysis.
- Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc.
+ Copyright (C) 2007, 2009, 2010, 2011 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 published by
#include "libpspp/temp-file.h"
#include "gl/error.h"
+#include "gl/unlocked-io.h"
#include "gl/xalloc.h"
#include "gettext.h"
{
ok = !ext_array_error (ea);
if (ea->file != NULL)
- fclose (ea->file);
+ close_temp_file (ea->file);
free (ea);
}
return ok;