/[pspp]/pspp/src/pfm-write.c
ViewVC logotype

Diff of /pspp/src/pfm-write.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by blp, Tue Oct 25 04:28:17 2005 UTC revision 1.19 by blp, Wed Oct 26 05:06:14 2005 UTC
# Line 129  pfm_open_writer (struct file_handle *fh, Line 129  pfm_open_writer (struct file_handle *fh,
129    w->vars = NULL;    w->vars = NULL;
130        
131    w->var_cnt = dict_get_var_cnt (dict);    w->var_cnt = dict_get_var_cnt (dict);
132    w->vars = xmalloc (sizeof *w->vars * w->var_cnt);    w->vars = xnmalloc (w->var_cnt, sizeof *w->vars);
133    for (i = 0; i < w->var_cnt; i++)    for (i = 0; i < w->var_cnt; i++)
134      {      {
135        const struct variable *dv = dict_get_var (dict, i);        const struct variable *dv = dict_get_var (dict, i);

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26