Changeset 40d22cf


Ignore:
Timestamp:
Mar 7, 2010, 10:25:51 PM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.6, release-1.7, release-1.8, release-1.9
Children:
3b0edaa
Parents:
1672650
git-author:
Anders Kaseorg <andersk@mit.edu> (02/27/10 20:04:25)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/07/10 22:25:51)
Message:
Rename owl_parsefree to owl_parse_delete.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Nelson Elhage <nelhage@mit.edu>
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cmd.c

    rb0da027 r40d22cf  
    9494 
    9595  if (argc < 1) {
    96     owl_parsefree(argv, argc);
     96    owl_parse_delete(argv, argc);
    9797    owl_free(tmpbuff);
    9898    return NULL;
     
    101101  retval = _owl_cmddict_execute(cd, ctx, strs(argv), argc, cmdbuff);
    102102
    103   owl_parsefree(argv, argc);
     103  owl_parse_delete(argv, argc);
    104104  owl_free(tmpbuff);
    105105  sepbar(NULL);
  • filter.c

    rc3a47c9 r40d22cf  
    1010  argv = owl_parseline(string, &argc);
    1111  f = owl_filter_new(name, argc, strs(argv));
    12   owl_parsefree(argv, argc);
     12  owl_parse_delete(argv, argc);
    1313
    1414  return f;
  • util.c

    r1672650 r40d22cf  
    249249
    250250
    251 void owl_parsefree(char **argv, int argc)
     251void owl_parse_delete(char **argv, int argc)
    252252{
    253253  int i;
     
    338338  /* check for unbalanced quotes */
    339339  if (quote!='\0') {
    340     owl_parsefree(argv, *argc);
     340    owl_parse_delete(argv, *argc);
    341341    *argc=-1;
    342342    return(NULL);
  • zwrite.c

    rde3f641 r40d22cf  
    124124  }
    125125
    126   owl_parsefree(argv, argc);
     126  owl_parse_delete(argv, argc);
    127127
    128128  if (badargs) {
Note: See TracChangeset for help on using the changeset viewer.