projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ONEWAY: Fix printf format specifier.
[pspp]
/
src
/
libpspp
/
ext-array.c
diff --git
a/src/libpspp/ext-array.c
b/src/libpspp/ext-array.c
index b1eded3a3f4d41e658dd2c5aad57d4991e251bc7..57ff8e4a7d6225e3b56c9b71c0760e6e9570f635 100644
(file)
--- a/
src/libpspp/ext-array.c
+++ b/
src/libpspp/ext-array.c
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* 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
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
@@
-30,6
+30,7
@@
#include "libpspp/temp-file.h"
#include "gl/error.h"
#include "libpspp/temp-file.h"
#include "gl/error.h"
+#include "gl/unlocked-io.h"
#include "gl/xalloc.h"
#include "gettext.h"
#include "gl/xalloc.h"
#include "gettext.h"
@@
-68,7
+69,7
@@
ext_array_destroy (struct ext_array *ea)
{
ok = !ext_array_error (ea);
if (ea->file != NULL)
{
ok = !ext_array_error (ea);
if (ea->file != NULL)
-
fclos
e (ea->file);
+
close_temp_fil
e (ea->file);
free (ea);
}
return ok;
free (ea);
}
return ok;