[BACK]Return to regexec.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / regex

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/regex/regexec.c between version 1.17 and 1.18

version 1.17, 2003/08/07 16:43:21 version 1.18, 2005/11/29 03:12:00
Line 225  int eflags;
Line 225  int eflags;
                 return(REG_BADPAT);                  return(REG_BADPAT);
         eflags = GOODFLAGS(eflags);          eflags = GOODFLAGS(eflags);
   
         /* LINTED we believe that the regex routines do not change the string */          s = __UNCONST(string);
         s = (char *)string;  
   
         if (g->nstates <= CHAR_BIT*sizeof(states1) && !(eflags&REG_LARGE))          if (g->nstates <= CHAR_BIT*sizeof(states1) && !(eflags&REG_LARGE))
                 return(smatcher(g, s, nmatch, pmatch, eflags));                  return(smatcher(g, s, nmatch, pmatch, eflags));

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

CVSweb <webmaster@jp.NetBSD.org>