cvs commit: src/lib/libc/regex regex2.h

Tim J. Robbins tjr at
Sat Aug 13 02:30:16 GMT 2005

tjr         2005-08-13 02:30:16 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/regex       regex2.h 
  Change OUT from -2 to CHAR_MIN-1, making it impossible for it to
  inadvertently match a negative char in the RE being compiled.
  This fixes compilation of "\376" (as an ERE) and "\376\376" (as a BRE).
  PR:             84740
  MFC after:      1 week
  Revision  Changes    Path
  1.9       +1 -1      src/lib/libc/regex/regex2.h

More information about the cvs-src mailing list