X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9A3A4389367E
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
 header.from=SystematicSW.ab.ca
Authentication-Results: sourceware.org;
 spf=none smtp.mailfrom=systematicsw.ab.ca
X-Authority-Analysis: v=2.4 cv=SuCDVdC0 c=1 sm=1 tr=0 ts=63715fbc
 a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17 a=mDV3o1hIAAAA:8
 a=gFPBz1JJXGIeDeE59qMA:9 a=_FVE-zBwftR9WsbkzFJk:22
From: "Cygwin sed Co-Maintainer" <Brian.Inglis@SystematicSW.ab.ca>
To: cygwin@cygwin.com
Date: Sun, 13 Nov 2022 14:19:40 -0700
Message-Id: <announce.20221113141940.30259-1-Brian.Inglis@SystematicSW.ab.ca>
Subject: [ANNOUNCEMENT] Updated: sed 4.9
X-CMAE-Envelope: MS4xfL0vxerg0qYYyWAbjVTOXG9Zw3pnMXaTaRTOoEDj8pg8WwtqZvf/H1KAAfCfnG8nRFybuGl8QjdtvvnrR1LMjIuLmExQojLP4S7YbEU4vSDYsUFUr4Xd
 ofVOXgKXm1u0OKbKwVz7zoWih4f8AiYBAUNmTgqqJlP7cF35PRBPJ+Ozh4JGGHGm/B/E8iRqV753IAG9GOp2UcZ+S6/ksHWsrMaIJ9DlCLFNYcnVyKJEXaGg
X-Spam-Status: No, score=-1163.5 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, KAM_SHORT, RCVD_IN_DNSWL_NONE,
 SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin-announce@cygwin.com
X-Mailman-Version: 2.1.29
X-Mailer: Perl5 Mail::Internet v2.20
X-BeenThere: cygwin@cygwin.com
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Reply-To: cygwin@cygwin.com
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

The following packages have been upgraded in the Cygwin distribution:

* sed	4.9

The sed (Stream EDitor) editor is a stream or batch (non-interactive)
editor. Sed takes text as input, performs an operation or set of
operations on the text, and outputs the modified text. The operations
that sed performs (substitutions, deletions, insertions, etc.) can be
specified in a script file or from the command line.

For more information see the project home pages:

	https://www.gnu.org/software/sed/
	https://sv.gnu.org/projects/sed/

For changes since the previous Cygwin release please see below or read
/usr/share/doc/sed/NEWS after installation; for complete details see:

	/usr/share/doc/sed/ChangeLog
	https://git.sv.gnu.org/gitweb/?p=sed.git;a=shortlog;h=refs/tags/v4.9


Noteworthy changes in release 4.9	2022-11-06

Bug fixes

* 'sed --follow-symlinks -i' no longer loops forever when its operand is
  a symbolic link cycle. [bug introduced in sed 4.2]

* A program with an execution line longer than 2GB can no longer trigger
  an out-of-bounds memory write.

* Using the R command to read an input line of length longer than 2GB
  can no longer trigger an out-of-bounds memory read.

* In locales using UTF-8 encoding, the regular expression '.' no longer
  sometimes fails to match Unicode characters U+D400 through U+D7FF
  (some Hangul Syllables, and Hangul Jamo Extended-B) and Unicode
  characters U+108000 through U+10FFFF (half of Supplemental Private Use
  Area plane B). [bug introduced in sed 4.8]

* I/O errors involving temp files no longer confuse sed into using a
  FILE * pointer after fclosing it, which has undefined behavior in C.

New Features

* The 'r' command now accepts address 0, allowing inserting a file
  before the first line.

Changes in behavior

* Sed now prints the less-surprising variant in a corner case of
  POSIX-unspecified behavior. Before, this would print "n". Now, it
  prints "X":

	printf n | sed 'sn\nnXn'; echo


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
