projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ascii: Don't print command names in output.
[pspp]
/
src
/
libpspp
/
ext-array.c
diff --git
a/src/libpspp/ext-array.c
b/src/libpspp/ext-array.c
index df3b589fe0c893dad1828c52e86b2542ce78f5b4..b1eded3a3f4d41e658dd2c5aad57d4991e251bc7 100644
(file)
--- a/
src/libpspp/ext-array.c
+++ b/
src/libpspp/ext-array.c
@@
-19,17
+19,18
@@
#include <config.h>
#include <config.h>
-#include
<libpspp/ext-array.h>
+#include
"libpspp/ext-array.h"
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
-#include <libpspp/assertion.h>
-#include <libpspp/cast.h>
+#include "libpspp/assertion.h"
+#include "libpspp/cast.h"
+#include "libpspp/temp-file.h"
-#include "error.h"
-#include "xalloc.h"
+#include "
gl/
error.h"
+#include "
gl/
xalloc.h"
#include "gettext.h"
#define _(msgid) gettext (msgid)
#include "gettext.h"
#define _(msgid) gettext (msgid)
@@
-50,7
+51,7
@@
struct ext_array *
ext_array_create (void)
{
struct ext_array *ea = xmalloc (sizeof *ea);
ext_array_create (void)
{
struct ext_array *ea = xmalloc (sizeof *ea);
- ea->file =
tmp
file ();
+ ea->file =
create_temp_
file ();
if (ea->file == NULL)
error (0, errno, _("failed to create temporary file"));
ea->position = 0;
if (ea->file == NULL)
error (0, errno, _("failed to create temporary file"));
ea->position = 0;