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

Diff of /pspp/src/count.c

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

revision 1.17 by blp, Mon May 2 06:21:20 2005 UTC revision 1.18 by blp, Mon May 16 07:33:16 2005 UTC
# Line 158  cmd_count (void) Line 158  cmd_count (void)
158              }              }
159          }          }
160        else        else
161          st_trim_copy (cnt->n, tokid, sizeof cnt->n);          str_copy_trunc (cnt->n, sizeof cnt->n, tokid);
162    
163        lex_get ();        lex_get ();
164        if (!lex_force_match ('='))        if (!lex_force_match ('='))
# Line 349  parse_string_criteria (struct counting * Line 349  parse_string_criteria (struct counting *
349        cur = &c->crit.s[n++];        cur = &c->crit.s[n++];
350        cur->type = CNT_SINGLE;        cur->type = CNT_SINGLE;
351        cur->s = malloc (len + 1);        cur->s = malloc (len + 1);
352        st_pad_copy (cur->s, ds_c_str (&tokstr), len + 1);        str_copy_rpad (cur->s, len + 1, ds_c_str (&tokstr));
353        lex_get ();        lex_get ();
354    
355        lex_match (',');        lex_match (',');

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

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