Changeset 42115bf9


Ignore:
Timestamp:
Jan 20, 2011, 7:59:38 PM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
74312ad
Parents:
9d4c398
git-author:
David Benjamin <davidben@mit.edu> (01/03/11 03:12:16)
git-committer:
David Benjamin <davidben@mit.edu> (01/20/11 19:59:38)
Message:
Reimplement owl_function_typefilt with proper quoting

Probably not actually a big deal, but may as well.
[nelhage@nelhage.com: Use owl_string_build_quoted]
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    r9d4c398 r42115bf9  
    24762476  esctype = owl_text_quote(type, OWL_REGEX_QUOTECHARS, OWL_REGEX_QUOTEWITH);
    24772477
    2478   argbuff = owl_sprintf("type ^%s$", esctype);
     2478  argbuff = owl_string_build_quoted("type ^%q$", esctype);
    24792479  owl_free(esctype);
    24802480
Note: See TracChangeset for help on using the changeset viewer.