[BACK]Return to regcomp.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/regcomp.c between version 1.31 and 1.32

version 1.31, 2011/10/09 22:14:17 version 1.32, 2011/11/08 19:25:45
Line 761  p_bracket(
Line 761  p_bracket(
 {  {
         cset *cs;          cset *cs;
         int invert = 0;          int invert = 0;
   
         _DIAGASSERT(p != NULL);          _DIAGASSERT(p != NULL);
   
         cs = allocset(p);          cs = allocset(p);
Line 1562  isinsets(
Line 1561  isinsets(
   
         _DIAGASSERT(g != NULL);          _DIAGASSERT(g != NULL);
   
           if (g->setbits == NULL)
                   return 0;
   
         ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT;          ncols = (g->ncsets+(CHAR_BIT-1)) / CHAR_BIT;
   
         for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize)          for (i = 0, col = g->setbits; i < ncols; i++, col += g->csetsize)

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

CVSweb <webmaster@jp.NetBSD.org>