Date: Sun, 5 Sep 2004 08:30:43 +0000 (UTC) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/regex regcomp.c Message-ID: <200409050830.i858UhW7019398@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
tjr         2004-09-05 08:30:43 UTC
  FreeBSD src repository
  Modified files:
    lib/libc/regex       regcomp.c 
  Log:
  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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409050830.i858UhW7019398>
