projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SORT VARIABLES: Improve error messages.
[pspp]
/
src
/
libpspp
/
temp-file.c
diff --git
a/src/libpspp/temp-file.c
b/src/libpspp/temp-file.c
index 839b99e7572bb18a1cf634a4b54da0925155ee65..cc90a37559b2cb532e8cc60f5589da531b8bd211 100644
(file)
--- a/
src/libpspp/temp-file.c
+++ b/
src/libpspp/temp-file.c
@@
-43,7
+43,7
@@
static void cleanup (void);
static struct temp_dir *temp_dir;
static void cleanup (void);
static struct temp_dir *temp_dir;
-struct hmapx map;
+st
atic st
ruct hmapx map;
static void
setup (void)
static void
setup (void)
@@
-105,7
+105,7
@@
create_temp_file (void)
file_name = xasprintf ("%s/%d", temp_dir->dir_name, idx++);
register_temp_file (temp_dir, file_name);
file_name = xasprintf ("%s/%d", temp_dir->dir_name, idx++);
register_temp_file (temp_dir, file_name);
- stream = fopen_temp (file_name, "wb+");
+ stream = fopen_temp (file_name, "wb+"
, true
);
if (stream == NULL)
unregister_temp_file (temp_dir, file_name);
else
if (stream == NULL)
unregister_temp_file (temp_dir, file_name);
else