Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 2020 23:59:36 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r363681 - head
Message-ID:  <202007292359.06TNxaJV007347@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Wed Jul 29 23:59:35 2020
New Revision: 363681
URL: https://svnweb.freebsd.org/changeset/base/363681

Log:
  UPDATING / RELNOTES: Document new regcomp(3) behavior
  
  This is a breaking change that had a not-insignificant impact in ports, it
  is worth documenting it well.

Modified:
  head/RELNOTES
  head/UPDATING

Modified: head/RELNOTES
==============================================================================
--- head/RELNOTES	Wed Jul 29 23:24:32 2020	(r363680)
+++ head/RELNOTES	Wed Jul 29 23:59:35 2020	(r363681)
@@ -10,6 +10,10 @@ newline.  Entries should be separated by a newline.
 
 Changes to this file should not be MFCed.
 
+r363679:
+	Applications using regex(3), e.g. sed/grep, will no longer accept
+	redundant escapes for most ordinary characters.
+
 r363253:
 	SCTP support has been removed from GENERIC kernel configurations.
 	The SCTP stack is now built as sctp.ko and can be dynamically loaded.

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Wed Jul 29 23:24:32 2020	(r363680)
+++ head/UPDATING	Wed Jul 29 23:59:35 2020	(r363681)
@@ -26,6 +26,13 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW:
 	disable the most expensive debugging functionality run
 	"ln -s 'abort:false,junk:false' /etc/malloc.conf".)
 
+20200729:
+	r363679 has redefined some undefined behavior in regcomp(3); notably,
+	extraneous escapes of most ordinary characters will no longer be
+	accepted.  An exp-run has identified all of the problems with this in
+	ports, but other non-ports software may need extra escapes removed to
+	continue to function.
+
 20200627:
 	A new implementation of bc and dc has been imorted in r362681. This
 	implementation corrects non-conformant behavior of the previous bc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007292359.06TNxaJV007347>