delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/08/06/04:05:23

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6DF71385F033
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=Ac10o1bG c=1 sm=1 tr=0 ts=610cecd4
a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17 a=mDV3o1hIAAAA:8
a=xuLE9V2Jn9FkkSnjFsMA:9 a=_FVE-zBwftR9WsbkzFJk:22
From: "Cygwin diffutils co-Maintainer" <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
To: cygwin AT cygwin DOT com
Date: Fri, 06 Aug 2021 01:59:03 -0600
Message-Id: <announce.20210806015903.49655-1-Brian.Inglis@SystematicSW.ab.ca>
Subject: [ANNOUNCEMENT] Updated: diffutils 3.8
X-CMAE-Envelope: MS4xfNNyukqQ588UlVYzSgdqtnufl9h1rJDd/8R/175rvElnhUBBCZR2QUZoXcZNxaN++xXaXAFmZbFt23r33J4eHoxRCZ2F70TlXyyHvSIZg+cGLXKZ/R+W
SMmwmi9H/0WEZzxevHC4AvDuond1VBdS9lBVviYkeEFy/mWDVzViRnjc5ur4gM/7Dpgg9VnRG3eX1t7zoHvr0b2tEgG+dALphfv9J2utsdO6UV+K4QZOIPTm
b93XUoEpSfuTt4Y+t5ZS+MUZlC4rCo1FuB6dGZ+eG7k=
X-Spam-Status: No, score=-1160.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, KAM_SHORT, RCVD_IN_BARRACUDACENTRAL,
RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE,
TXREP autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin-announce AT cygwin DOT com
X-Mailman-Version: 2.1.29
X-Mailer: Perl5 Mail::Internet v2.20
X-BeenThere: cygwin AT cygwin DOT com
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

The following packages have been upgraded in the Cygwin distribution:

* diffutils	3.8

Diffutils includes four utilities: diff, cmp, diff3 and sdiff.
The diff command compares two files and shows the differences, line by line.
The cmp command shows the offset and line numbers where two files
differ, or can show the characters that differ between the two files.
The diff3 command shows the differences between three files. Diff3 can
be used when two people have made independent changes to a common
original; diff3 can produce a merged file that contains both sets of
changes and warnings about conflicts.
The sdiff command can be used to merge two files interactively.

For more information see the project home page:

	https://www.gnu.org/software/diffutils/

Please see below or read /usr/share/doc/diffutils/NEWS after
installation for details of changes since the previous release:

	https://git.savannah.gnu.org/cgit/diffutils.git/tree/NEWS

Noteworthy changes in release 3.8 (2021-08-01) [stable]

* Incompatible changes
  diff no longer treats a closed stdin as representing an absent file
  in usage like 'diff --new-file - foo <&-'.  This feature was rarely
  if ever used and was not portable to POSIX platforms that reopen
  stdin on exec, such as SELinux if the process underwent an AT_SECURE
  transition, or HP-UX even if not setuid.
  [bug#33965 introduced in 2.8]

* Bug fixes
  diff and related programs no longer get confused if stdin, stdout,
  or stderr are closed.  Previously, they sometimes opened files into
  file descriptors 0, 1, or 2 and then mistakenly did I/O with them
  that was intended for stdin, stdout, or stderr.
  [bug#33965 present since "the beginning"]

  cmp, diff and sdiff no longer treat negative command-line
  option-arguments as if they were large positive numbers.
  [bug#35256 introduced in 2.8]


Noteworthy changes in release 3.7 (2018-12-31) [stable]

* Bug fixes
  diff --strip-trailing-cr with a single CR byte in one input file
  would provoke an uninitialized memory read, e.g.,
	diff -a --strip-trailing-cr <(printf '\r') <(echo a)
  [bug introduced in 2.8 with addition of the --strip-trailing-cr option]

* Improvements
  diff --color now produces output compatible with less -R.


Noteworthy changes in release 3.6 (2017-05-21) [stable]

* New features
  When one file is a prefix of the other, cmp now appends the shorter
  file's size to the EOF diagnostic.

* Bug fixes
  Using an invalid regular expression with --ignore-matching-lines=RE (-I)
  no longer causes stack overflow.  Before, with an invocation like the
  following, diff would diagnose the error, but would still proceed to
  blow the stack: diff -Ia -I\\ <(echo) <(echo b)
  [bug introduced in 2.9]

  diff no longer mishandles line numbers exceeding 2**31 on Mingw-w64.

  the ---presume-output-tty (ostensibly test-only) option would cause
  diff --color to read an uninitialized variable
  [bug introduced in 3.4]

* Performance changes
  diff's default algorithm has been tweaked to deal better with larger
  files, reversing some of the changes made in diffutils-3.4.


-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019