/[pspp]/pspp/src/vfm.c
ViewVC logotype

Diff of /pspp/src/vfm.c

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

revision 1.41 by jmd, Mon Oct 24 05:41:45 2005 UTC revision 1.42 by blp, Wed Oct 26 05:06:14 2005 UTC
# Line 227  open_active_file (void) Line 227  open_active_file (void)
227        
228        lag_count = 0;        lag_count = 0;
229        lag_head = 0;        lag_head = 0;
230        lag_queue = xmalloc (n_lag * sizeof *lag_queue);        lag_queue = xnmalloc (n_lag, sizeof *lag_queue);
231        for (i = 0; i < n_lag; i++)        for (i = 0; i < n_lag; i++)
232          case_nullify (&lag_queue[i]);          case_nullify (&lag_queue[i]);
233      }      }
# Line 608  add_transformation (struct trns_header * Line 608  add_transformation (struct trns_header *
608    if (n_trns >= m_trns)    if (n_trns >= m_trns)
609      {      {
610        m_trns += 16;        m_trns += 16;
611        t_trns = xrealloc (t_trns, sizeof *t_trns * m_trns);        t_trns = xnrealloc (t_trns, m_trns, sizeof *t_trns);
612      }      }
613    t_trns[n_trns] = trns;    t_trns[n_trns] = trns;
614    trns->index = n_trns++;    trns->index = n_trns++;

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

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