projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix problem where entry strings got mangled
[pspp]
/
src
/
data
/
lazy-casereader.c
diff --git
a/src/data/lazy-casereader.c
b/src/data/lazy-casereader.c
index 71c1da6a64595cca06d48480bd03f3a4b8ea12d4..2cb8911fe29770559eee3c7c2ea702e88a38b9f5 100644
(file)
--- a/
src/data/lazy-casereader.c
+++ b/
src/data/lazy-casereader.c
@@
-35,7
+35,7
@@
struct lazy_casereader
void *aux;
};
void *aux;
};
-static struct casereader_class lazy_casereader_class;
+static
const
struct casereader_class lazy_casereader_class;
/* Creates and returns a new lazy casereader that will
instantiate its underlying casereader, if necessary, by
/* Creates and returns a new lazy casereader that will
instantiate its underlying casereader, if necessary, by
@@
-76,7
+76,7
@@
lazy_casereader_create (size_t value_cnt, casenumber case_cnt,
a serial number different from SERIAL, or if READER is a lazy
casereader that was instantiated.
a serial number different from SERIAL, or if READER is a lazy
casereader that was instantiated.
- When this function returns
fals
e, it necessarily indicates
+ When this function returns
tru
e, it necessarily indicates
that the lazy casereader was never cloned and never
destroyed. */
bool
that the lazy casereader was never cloned and never
destroyed. */
bool
@@
-152,7
+152,7
@@
lazy_casereader_peek (struct casereader *reader, void *lc_,
return casereader_peek (reader, idx, c);
}
return casereader_peek (reader, idx, c);
}
-static struct casereader_class lazy_casereader_class =
+static
const
struct casereader_class lazy_casereader_class =
{
lazy_casereader_read,
lazy_casereader_do_destroy,
{
lazy_casereader_read,
lazy_casereader_do_destroy,