Changeset 29ebcea
- Timestamp:
- Jan 29, 2007, 10:37:47 PM (16 years ago)
- Branches:
- master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 72db971
- Parents:
- 30678ae
- git-author:
- Nelson Elhage <nelhage@mit.edu> (01/29/07 22:37:41)
- git-committer:
- Nelson Elhage <nelhage@mit.edu> (01/29/07 22:37:47)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
r8fa9562 r29ebcea 2641 2641 2642 2642 /* create the new filter */ 2643 argbuff=owl_malloc(len+20);2644 2643 tmpclass=owl_text_quote(class, OWL_REGEX_QUOTECHARS, OWL_REGEX_QUOTEWITH); 2645 2644 owl_text_tr(tmpclass, ' ', '.'); … … 2648 2647 owl_text_tr(tmpinstance, ' ', '.'); 2649 2648 } 2650 sprintf(argbuff, "( class ^(un)*%s(\\.d)*$ )", tmpclass); 2649 len = strlen(tmpclass); 2650 if(tmpinstance) len += strlen(tmpinstance); 2651 len += 60; 2652 argbuff = owl_malloc(len); 2653 sprintf(argbuff, "class ^(un)*%s(\\.d)*$", tmpclass); 2651 2654 if (tmpinstance) { 2652 2655 sprintf(argbuff, "%s and ( instance ^%s(\\.d)*$ )", argbuff, tmpinstance);
Note: See TracChangeset
for help on using the changeset viewer.