]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
sed: Update to version 4.9
authorAdolf Belka <adolf.belka@ipfire.org>
Sat, 19 Nov 2022 21:48:51 +0000 (22:48 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Mon, 21 Nov 2022 11:05:13 +0000 (11:05 +0000)
commit6948b9f7e9b04c1f08b5b099e3d55f92e8fd7af9
tree0b102126f84f95b0ab97f760575b81d46496c7f1
parent363c41724babbb13e670bdbd4cd27a24ec9552dc
sed: Update to version 4.9

- Update from version 4.8 to 4.9
- Update of rootfile not required
- Changelog
    * Noteworthy changes in release 4.9 (2022-11-06) [stable]
** 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

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/sed