projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup
[pspp]
/
src
/
data
/
case-tmpfile.c
diff --git
a/src/data/case-tmpfile.c
b/src/data/case-tmpfile.c
index 58e437ad1b45686000c0b320e028e0f0d8ad641a..0290f51126380366a233e8a3e5dc1f6eb8c22a68 100644
(file)
--- a/
src/data/case-tmpfile.c
+++ b/
src/data/case-tmpfile.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
@@
-16,18
+16,17
@@
#include <config.h>
#include <config.h>
-#include
<data/case-tmpfile.h>
+#include
"data/case-tmpfile.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/taint.h>
-#include
<libpspp/ext-array.h>
+#include
"libpspp/assertion.h"
+#include
"libpspp/taint.h"
+#include
"libpspp/ext-array.h"
-#include "error.h"
-#include "xalloc.h"
+#include "gl/xalloc.h"
/* A temporary file that stores an array of cases. */
struct case_tmpfile
/* A temporary file that stores an array of cases. */
struct case_tmpfile
@@
-57,7
+56,7
@@
value_to_data (const union value *value_, int width)
if (width == 0)
return &value->f;
else
if (width == 0)
return &value->f;
else
- return value
_str_rw (value, width)
;
+ return value
->s
;
}
/* Creates and returns a new case_tmpfile that will store cases
}
/* Creates and returns a new case_tmpfile that will store cases