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:
541e52e
)
Fix segfault in recode (recode with an int src, string dest, where the src
author
pjk
<pjk>
Tue, 4 May 2004 15:27:24 +0000
(15:27 +0000)
committer
pjk
<pjk>
Tue, 4 May 2004 15:27:24 +0000
(15:27 +0000)
is SYSMIS
src/recode.c
patch
|
blob
|
history
diff --git
a/src/recode.c
b/src/recode.c
index 90a405c868431b91f5a10c8e5dee2b464bbfc34f..f2158f4f77147dfa3deae5270a49318ae3f59cdf 100644
(file)
--- a/
src/recode.c
+++ b/
src/recode.c
@@
-697,7
+697,7
@@
find_src_numeric (struct rcd_var * v, struct ccase * c)
if ((v->flags & RCD_DEST_MASK) == RCD_DEST_NUMERIC)
c->data[v->dest->fv].f = v->sysmis.f;
else
- memcpy (c->data[v->dest->fv].s, v->sysmis.
c
,
+ memcpy (c->data[v->dest->fv].s, v->sysmis.
s
,
v->dest->width);
}
return NULL;