Print this page
LX zone support should now build and packages of relevance produced.

Split Close
Expand all
Collapse all
          --- old/usr/src/head/regexp.h
          +++ new/usr/src/head/regexp.h
↓ open down ↓ 414 lines elided ↑ open up ↑
 415  415                  case CCL:
 416  416                          c = *lp++;
 417  417                          if (((c & 0200) == 0 && ISTHERE(c)) ^ neg) {
 418  418                                  ep += 16;
 419  419                                  continue;
 420  420                          }
 421  421                          return (0);
 422  422                          /*FALLTHRU*/
 423  423  
 424  424                  case CBRA:
 425      -                        braslist[*ep++] = (char *)lp;
      425 +                        braslist[(int)*ep++] = (char *)lp;
 426  426                          continue;
 427  427                          /*FALLTHRU*/
 428  428  
 429  429                  case CKET:
 430      -                        braelist[*ep++] = (char *)lp;
      430 +                        braelist[(int)*ep++] = (char *)lp;
 431  431                          continue;
 432  432                          /*FALLTHRU*/
 433  433  
 434  434                  case CCHR | RNGE:
 435  435                          c = *ep++;
 436  436                          getrnge(ep);
 437  437                          while (low--)
 438  438                                  if (*lp++ != c)
 439  439                                          return (0);
 440  440                          curlp = lp;
↓ open down ↓ 57 lines elided ↑ open up ↑
 498  498                                  if (((c & 0200) || !ISTHERE(c)) ^ neg)
 499  499                                          break;
 500  500                          }
 501  501                          if (size < 0)
 502  502                                  lp++;
 503  503                          ep += 18;               /* 16 + 2 */
 504  504                          goto star;
 505  505                          /*FALLTHRU*/
 506  506  
 507  507                  case CBACK:
 508      -                        bbeg = braslist[*ep];
 509      -                        ct = braelist[*ep++] - bbeg;
      508 +                        bbeg = braslist[(int)*ep];
      509 +                        ct = braelist[(int)*ep++] - bbeg;
 510  510  
 511  511                          if (ecmp(bbeg, lp, ct)) {
 512  512                                  lp += ct;
 513  513                                  continue;
 514  514                          }
 515  515                          return (0);
 516  516                          /*FALLTHRU*/
 517  517  
 518  518                  case CBACK | STAR:
 519      -                        bbeg = braslist[*ep];
 520      -                        ct = braelist[*ep++] - bbeg;
      519 +                        bbeg = braslist[(int)*ep];
      520 +                        ct = braelist[(int)*ep++] - bbeg;
 521  521                          curlp = lp;
 522  522                          while (ecmp(bbeg, lp, ct))
 523  523                                  lp += ct;
 524  524  
 525  525                          while (lp >= curlp) {
 526  526                                  if (advance(lp, ep))
 527  527                                          return (1);
 528  528                                  lp -= ct;
 529  529                          }
 530  530                          return (0);
↓ open down ↓ 68 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX