/[mailutils]/mailutils/mail/msgset.y
ViewVC logotype

Diff of /mailutils/mail/msgset.y

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

revision 1.10 by sroberts, Mon Mar 25 03:41:15 2002 UTC revision 1.11 by gray, Wed Aug 7 15:29:24 2002 UTC
# Line 504  select_header (message_t msg, void *clos Line 504  select_header (message_t msg, void *clos
504    message_get_header (msg, &hdr);    message_get_header (msg, &hdr);
505    if (header_aget_value (hdr, header, &contents) == 0)    if (header_aget_value (hdr, header, &contents) == 0)
506      {      {
507        if (!(util_find_env ("noregex"))->set)        if (util_getenv (NULL, "regex", Mail_env_boolean, 0) == 0)
508          {          {
509            /* Match string against the extended regular expression(ignoring            /* Match string against the extended regular expression(ignoring
510               case) in pattern, treating errors as no match.               case) in pattern, treating errors as no match.
# Line 542  int Line 542  int
542  select_body (message_t msg, void *closure)  select_body (message_t msg, void *closure)
543  {  {
544    char *expr = closure;    char *expr = closure;
545    int noregex = util_find_env ("noregex")->set;    int noregex = util_getenv (NULL, "regex", Mail_env_boolean, 0);
546    regex_t re;    regex_t re;
547    int status;    int status;
548    body_t body = NULL;    body_t body = NULL;

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

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