projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc57a28
)
Fix assertion in case_copy().
author
Ben Pfaff
<blp@gnu.org>
Fri, 9 Jan 2009 05:36:23 +0000
(21:36 -0800)
committer
Ben Pfaff
<blp@gnu.org>
Fri, 9 Jan 2009 05:36:23 +0000
(21:36 -0800)
This is an apparent cut-and-paste error.
src/data/case.c
patch
|
blob
|
history
diff --git
a/src/data/case.c
b/src/data/case.c
index 8ae989002f016f2b6978ede795415715c1fe585a..4432579e5d2e1284102a9ab7854d79db3b10d197 100644
(file)
--- a/
src/data/case.c
+++ b/
src/data/case.c
@@
-123,7
+123,7
@@
case_copy (struct ccase *dst, size_t dst_idx,
{
assert (!case_is_shared (dst));
assert (range_is_valid (dst, dst_idx, n_values));
- assert (range_is_valid (src,
dst
_idx, n_values));
+ assert (range_is_valid (src,
src
_idx, n_values));
if (dst != src || dst_idx != src_idx)
memmove (dst->values + dst_idx, src->values + src_idx,