cvs commit: src/lib/libc/regex regcomp.c

Tim J. Robbins tjr at
Sun Sep 5 01:30:43 PDT 2004

tjr         2004-09-05 08:30:43 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/regex       regcomp.c 
  Fix two problems with REG_ICASE that were introduced with the addition of
  multibyte character support:
  - In CHadd(), avoid writing past the end of the character set bitmap when
    the opposite-case counterpart of wide characters with values less than
    NC have values greater than or equal to NC.
  - In CHaddtype(), fix a braino that caused alphabetic characters to be
    added to all character classes! (but only with REG_ICASE)
  PR:             71367
  Revision  Changes    Path
  1.33      +10 -13    src/lib/libc/regex/regcomp.c

More information about the cvs-src mailing list