}
+ free (v);
+ v = NULL;
+
if (!lex_match ('/'))
break;
while (rcd->next)
rcd = rcd->next;
rcd = rcd->next = xmalloc (sizeof *rcd);
-
- free (v);
- v = NULL;
}
if (token != '.')
if (toklen > max)
max = toklen;
v->c = xmalloc (max + 1);
- st_pad_copy (v->c, ds_value (&tokstr), max + 1);
+ st_pad_copy (v->c, ds_c_str (&tokstr), max + 1);
flags = RCD_DEST_STRING;
*max_dst_width = max;
lex_get ();
if (!lex_force_string ())
return 0;
c->f1.c = xmalloc (max_src_width + 1);
- st_pad_copy (c->f1.c, ds_value (&tokstr), max_src_width + 1);
+ st_pad_copy (c->f1.c, ds_c_str (&tokstr), max_src_width + 1);
lex_get ();
}
}
c->data[v->src->fv].s,
v->dest->width, v->src->width);
else
- memcpy (c->data[v->dest->fv].s, cp->t.c, v->dest->width);
+ memmove (c->data[v->dest->fv].s, cp->t.c, v->dest->width);
}
}