From MAILER-DAEMON Wed Jul 03 07:21:05 2019
Received: from list by lists.gnu.org with archive (Exim 4.86_2)
	id 1hidJx-0004g0-2M
	for mharc-bug-diffutils@gnu.org; Wed, 03 Jul 2019 07:21:05 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35969)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hidJv-0004fu-GX
 for bug-diffutils@gnu.org; Wed, 03 Jul 2019 07:21:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hidJu-00051U-CV
 for bug-diffutils@gnu.org; Wed, 03 Jul 2019 07:21:03 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:39646)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1hidJu-000515-8x
 for bug-diffutils@gnu.org; Wed, 03 Jul 2019 07:21:02 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hidJu-0002O3-3m
 for bug-diffutils@gnu.org; Wed, 03 Jul 2019 07:21:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Normand <normand@linux.vnet.ibm.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-diffutils@gnu.org
Resent-Date: Wed, 03 Jul 2019 11:21:01 +0000
Resent-Message-ID: <handler.36488.B.15621528159084@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 36488
X-GNU-PR-Package: diffutils
X-GNU-PR-Keywords: 
To: 36488@debbugs.gnu.org
X-Debbugs-Original-To: bug-diffutils@gnu.org
Received: via spool by submit@debbugs.gnu.org id=B.15621528159084
 (code B ref -1); Wed, 03 Jul 2019 11:21:01 +0000
Received: (at submit) by debbugs.gnu.org; 3 Jul 2019 11:20:15 +0000
Received: from localhost ([127.0.0.1]:48467 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1hidJ8-0002MR-IJ
 for submit@debbugs.gnu.org; Wed, 03 Jul 2019 07:20:15 -0400
Received: from lists.gnu.org ([209.51.188.17]:34692)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <normand@linux.vnet.ibm.com>) id 1hidJ7-0002MK-0B
 for submit@debbugs.gnu.org; Wed, 03 Jul 2019 07:20:13 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35818)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <normand@linux.vnet.ibm.com>) id 1hidJ5-0004Xw-KH
 for bug-diffutils@gnu.org; Wed, 03 Jul 2019 07:20:12 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <normand@linux.vnet.ibm.com>) id 1hidJ3-0003Fd-Pm
 for bug-diffutils@gnu.org; Wed, 03 Jul 2019 07:20:11 -0400
Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:18094)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <normand@linux.vnet.ibm.com>)
 id 1hidJ1-00036l-OK
 for bug-diffutils@gnu.org; Wed, 03 Jul 2019 07:20:09 -0400
Received: from pps.filterd (m0098399.ppops.net [127.0.0.1])
 by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id
 x63BHuHt038022
 for <bug-diffutils@gnu.org>; Wed, 3 Jul 2019 07:20:02 -0400
Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100])
 by mx0a-001b2d01.pphosted.com with ESMTP id 2tgs8jwjnw-1
 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT)
 for <bug-diffutils@gnu.org>; Wed, 03 Jul 2019 07:20:01 -0400
Received: from localhost
 by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only!
 Violators will be prosecuted
 for <bug-diffutils@gnu.org> from <normand@linux.vnet.ibm.com>;
 Wed, 3 Jul 2019 12:19:59 +0100
Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198)
 by e06smtp04.uk.ibm.com (192.168.101.134) with IBM ESMTP SMTP Gateway:
 Authorized Use Only! Violators will be prosecuted; 
 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256)
 Wed, 3 Jul 2019 12:19:57 +0100
Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com
 [9.149.105.232])
 by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id
 x63BJuPi50593926
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <bug-diffutils@gnu.org>; Wed, 3 Jul 2019 11:19:56 GMT
Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1])
 by IMSVA (Postfix) with ESMTP id 156ED52050
 for <bug-diffutils@gnu.org>; Wed,  3 Jul 2019 11:19:56 +0000 (GMT)
Received: from [9.134.167.79] (unknown [9.134.167.79])
 by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id EDB475204E
 for <bug-diffutils@gnu.org>; Wed,  3 Jul 2019 11:19:55 +0000 (GMT)
From: Normand <normand@linux.vnet.ibm.com>
Date: Wed, 3 Jul 2019 13:19:55 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.6.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-TM-AS-GCONF: 00
x-cbid: 19070311-0016-0000-0000-0000028EC3A1
X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused
x-cbparentid: 19070311-0017-0000-0000-000032EC5C26
Message-Id: <bf6471bb-38a2-d0a9-aee4-e20edb86fc97@linux.vnet.ibm.com>
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, ,
 definitions=2019-07-03_03:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
 priorityscore=1501
 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0
 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0
 mlxlogscore=752 adultscore=0 classifier=spam adjust=0 reason=mlx
 scancount=1 engine=8.0.1-1810050000 definitions=main-1907030136
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic]
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 209.51.188.43
Subject: [bug-diffutils] bug#36488: diffutils 3.7 make check failure ppc64le
 opensuse on colors test
X-BeenThere: bug-diffutils@gnu.org
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
 <mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
 <mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jul 2019 11:21:04 -0000

diffutils 3.7  make check failure ppc64le opensuse on colors test as 
reported in OBS tool (1)


The extracted failure is a "Broken pipe"
```
[  185s] XFAIL: large-subopt
[  185s] PASS: new-file
[  185s] PASS: no-dereference
[  186s] PASS: no-newline-at-eof
[  186s] PASS: stdin
[  186s] PASS: strcoll-0-names
[  186s] PASS: filename-quoting
[  187s] strip-trailing-cr: skipped test: requires a working valgrind
[  187s] SKIP: strip-trailing-cr
[  187s] FAIL: colors
[  187s] =============================================
[  187s]    GNU diffutils 3.7: tests/test-suite.log
[  187s] =============================================
[  187s]
[  187s] # TOTAL: 22
[  187s] # PASS:  19
[  187s] # SKIP:  1
[  187s] # XFAIL: 1
[  187s] # FAIL:  1
[  187s] # XPASS: 0
[  187s] # ERROR: 0
...

[  187s] FAIL: colors
[  187s] ============
...
[  187s] + compare exp out
[  187s] + compare_dev_null_ exp out
[  187s] + test 2 = 2
[  187s] + test xexp = x/dev/null
[  187s] + test xout = x/dev/null
[  187s] + return 2
[  187s] + case $? in
[  187s] + compare_ exp out
[  187s] + diff -u exp out
[  187s] + mkfifo fifo
[  187s] + printf %1000000s-a
[  187s] + printf %1000000s-b
[  187s] + diff --color=always ---presume-output-tty a b
[  187s] + head -c 10
[  187s] diff: standard output: Broken pipe
[  187s] + test 2 = 141
[  187s] + fail=1
[  187s] + Exit 1
```


(1) 
https://build.opensuse.org/package/live_build_log/home:michel_mno:branches:Base:System/diffutils/openSUSE_Factory_PowerPC/ppc64le



-- 
Michel Normand





From MAILER-DAEMON Fri Jul 19 17:13:12 2019
Received: from list by lists.gnu.org with archive (Exim 4.86_2)
	id 1hoaBk-0002vw-LH
	for mharc-bug-diffutils@gnu.org; Fri, 19 Jul 2019 17:13:12 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57114)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hoaBh-0002vk-QC
 for bug-diffutils@gnu.org; Fri, 19 Jul 2019 17:13:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hoaBe-00021L-RN
 for bug-diffutils@gnu.org; Fri, 19 Jul 2019 17:13:08 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:47779)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1hoaBa-0001z8-DQ
 for bug-diffutils@gnu.org; Fri, 19 Jul 2019 17:13:03 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hoaBa-0006pj-6x
 for bug-diffutils@gnu.org; Fri, 19 Jul 2019 17:13:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Paul Eggert <eggert@cs.ucla.edu>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-diffutils@gnu.org
Resent-Date: Fri, 19 Jul 2019 21:13:02 +0000
Resent-Message-ID: <handler.34376.B34376.156357073926215@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 34376
X-GNU-PR-Package: diffutils
X-GNU-PR-Keywords: 
To: Richard Gering <Richard.Gering@microfocus.com>, 34376@debbugs.gnu.org
Received: via spool by 34376-submit@debbugs.gnu.org id=B34376.156357073926215
 (code B ref 34376); Fri, 19 Jul 2019 21:13:02 +0000
Received: (at 34376) by debbugs.gnu.org; 19 Jul 2019 21:12:19 +0000
Received: from localhost ([127.0.0.1]:56600 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1hoaAs-0006oi-Pi
 for submit@debbugs.gnu.org; Fri, 19 Jul 2019 17:12:19 -0400
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:49002)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@cs.ucla.edu>) id 1hoaAo-0006oR-5W
 for 34376@debbugs.gnu.org; Fri, 19 Jul 2019 17:12:17 -0400
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 849361616C2;
 Fri, 19 Jul 2019 14:12:07 -0700 (PDT)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id SYk_dBL9HCgA; Fri, 19 Jul 2019 14:12:06 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 799191626B7;
 Fri, 19 Jul 2019 14:12:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id bcdDKSEhAtQH; Fri, 19 Jul 2019 14:12:06 -0700 (PDT)
Received: from [192.168.1.9] (cpe-23-242-74-103.socal.res.rr.com
 [23.242.74.103])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 531201616C2;
 Fri, 19 Jul 2019 14:12:06 -0700 (PDT)
From: Paul Eggert <eggert@cs.ucla.edu>
References: <MWHPR18MB12322710F0FDBFFA856FFA99FA690@MWHPR18MB1232.namprd18.prod.outlook.com>
Organization: UCLA Computer Science Department
Message-ID: <26e8ca9a-5cd6-641b-b387-55bd2322e22a@cs.ucla.edu>
Date: Fri, 19 Jul 2019 14:12:02 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.8.0
MIME-Version: 1.0
In-Reply-To: <MWHPR18MB12322710F0FDBFFA856FFA99FA690@MWHPR18MB1232.namprd18.prod.outlook.com>
Content-Type: multipart/mixed; boundary="------------06BE3AC17A9606912379013D"
Content-Language: en-US
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 209.51.188.43
Subject: [bug-diffutils] bug#34376:  bug#34376: How to submit a bug fix?
X-BeenThere: bug-diffutils@gnu.org
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
 <mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
 <mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jul 2019 21:13:10 -0000

This is a multi-part message in MIME format.
--------------06BE3AC17A9606912379013D
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Richard Gering wrote:
> Are you interested in receiving these fixes? If so, how would you like me to submit them? Create a patch file or send the modified source files (small) in their entirety.

A patch file would be better. 'git format-patch' generates a good format; the 
attached patch uses that format.

system.h says this:

    It's possible for two distinct files on a buggy file system to have
    the same attributes, but it's not worth slowing down all
    implementations (or complicating the configuration) to cater to
    these rare cases in buggy implementations.

Please keep that in mind when proposing a patch.

> I'm curious how gnulib-tests/setlocale.c is supposed to get compiled, as the code relies on a localename.h file that is neither included nor generated, and I couldn't find any documentation towards this file either

Thanks for reporting that. I installed the attached patch to work around the 
problem.

--------------06BE3AC17A9606912379013D
Content-Type: text/x-patch;
 name="0001-maint-avoid-Gnulib-setlocale-module.patch"
Content-Disposition: attachment;
 filename="0001-maint-avoid-Gnulib-setlocale-module.patch"
Content-Transfer-Encoding: quoted-printable

>From 73b78140bb8ab6e125f3cced7e37624b6384d7a4 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Fri, 19 Jul 2019 14:09:53 -0700
Subject: [PATCH] maint: avoid Gnulib setlocale module
MIME-Version: 1.0
Content-Type: text/plain; charset=3DUTF-8
Content-Transfer-Encoding: 8bit

Problem reported for MS-Windows by Richard Gering (Bug#34376).
Diffutils doesn=E2=80=99t need any of the Gnulib fixes for setlocale.
* bootstrap.conf (gnulib_tool_option_extras):
Avoid the setlocale module.
---
 bootstrap.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bootstrap.conf b/bootstrap.conf
index 4671349..7d5ea62 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -101,6 +101,7 @@ XGETTEXT_OPTIONS=3D$XGETTEXT_OPTIONS'\\\
 gnulib_tool_option_extras=3D"--tests-base=3Dgnulib-tests --with-tests
   --avoid=3Dlocalename
   --avoid=3Dlock
+  --avoid=3Dsetlocale
   --symlink
   --makefile-name=3Dgnulib.mk
 "
--=20
2.17.1


--------------06BE3AC17A9606912379013D--




From MAILER-DAEMON Mon Jul 29 16:54:05 2019
Received: from list by lists.gnu.org with archive (Exim 4.86_2)
	id 1hsCej-0007HM-9Y
	for mharc-bug-diffutils@gnu.org; Mon, 29 Jul 2019 16:54:05 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:51703)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hsCeh-0007HG-RR
 for bug-diffutils@gnu.org; Mon, 29 Jul 2019 16:54:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hsCeg-0000zi-SL
 for bug-diffutils@gnu.org; Mon, 29 Jul 2019 16:54:03 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:40386)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1hsCeg-0000z9-Nw
 for bug-diffutils@gnu.org; Mon, 29 Jul 2019 16:54:02 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hsCeg-0003Dv-Ku
 for bug-diffutils@gnu.org; Mon, 29 Jul 2019 16:54:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Alex Meiburg <Alex.Meiburg@Oculus.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-diffutils@gnu.org
Resent-Date: Mon, 29 Jul 2019 20:54:02 +0000
Resent-Message-ID: <handler.36842.B.156443359112305@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 36842
X-GNU-PR-Package: diffutils
X-GNU-PR-Keywords: 
To: 36842@debbugs.gnu.org
X-Debbugs-Original-To: "bug-diffutils@gnu.org" <bug-diffutils@gnu.org>
Received: via spool by submit@debbugs.gnu.org id=B.156443359112305
 (code B ref -1); Mon, 29 Jul 2019 20:54:02 +0000
Received: (at submit) by debbugs.gnu.org; 29 Jul 2019 20:53:11 +0000
Received: from localhost ([127.0.0.1]:49207 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1hsCdq-0003CP-8w
 for submit@debbugs.gnu.org; Mon, 29 Jul 2019 16:53:10 -0400
Received: from lists.gnu.org ([209.51.188.17]:34439)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <prvs=3113cf8bdd=alex.meiburg@oculus.com>)
 id 1hsCTd-0002sI-Te
 for submit@debbugs.gnu.org; Mon, 29 Jul 2019 16:42:38 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49207)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <prvs=3113cf8bdd=alex.meiburg@oculus.com>)
 id 1hsCTc-00050W-Mm
 for bug-diffutils@gnu.org; Mon, 29 Jul 2019 16:42:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <prvs=3113cf8bdd=alex.meiburg@oculus.com>)
 id 1hsCTb-0002pK-OA
 for bug-diffutils@gnu.org; Mon, 29 Jul 2019 16:42:36 -0400
Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:6146)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <prvs=3113cf8bdd=alex.meiburg@oculus.com>)
 id 1hsCTb-0002ov-9H
 for bug-diffutils@gnu.org; Mon, 29 Jul 2019 16:42:35 -0400
Received: from pps.filterd (m0044012.ppops.net [127.0.0.1])
 by mx0a-00082601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id
 x6TKfBOG025727
 for <bug-diffutils@gnu.org>; Mon, 29 Jul 2019 13:42:33 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oculus.com;
 h=from : to : subject :
 date : message-id : content-type : mime-version; s=s2048-2016-q1;
 bh=hU77NJwJiQtDnjud11SJIhNDYLKXf/osX4f0nr9rMaw=;
 b=IknOvQAzC1JfR5heY4GjvQc9cl31ZCKp1eXu20V3qBqIzfby7lcBHeoSHeCkn9Tt2J6p
 XH0EWA6/S6lqa+wnIJZiUszCAEFUe/Bn2ydfR4GL/G+w3HxMw2S4Mq8bdRXQeYx55WWd
 ElA5QwZaQdeJIjKunHzFu4whd00D4jCPjW5l6Tqw1mNlh5aJr0zJirl6zIo8bmiLajeu
 KM54iDmwKDsOGclxsfrW6YmbDrbGQda99RivRg+rmHt3KHd6Uo6Z7eyKfB3InOp3cIAZ
 5ZyX1I0v/cg1/aEGcB60eXcifndq1pfu4ACBSAbMXLSF/Mla56cRqPOWZKvk/I+LFuEZ iw== 
Received: from mail.thefacebook.com (mailout.thefacebook.com [199.201.64.23])
 by mx0a-00082601.pphosted.com with ESMTP id 2u203rtg79-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)
 for <bug-diffutils@gnu.org>; Mon, 29 Jul 2019 13:42:33 -0700
Received: from prn-mbx03.TheFacebook.com (2620:10d:c081:6::17) by
 prn-hub01.TheFacebook.com (2620:10d:c081:35::125) with Microsoft SMTP Server
 (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id
 15.1.1713.5; Mon, 29 Jul 2019 13:42:32 -0700
Received: from prn-hub04.TheFacebook.com (2620:10d:c081:35::128) by
 prn-mbx03.TheFacebook.com (2620:10d:c081:6::17) with Microsoft SMTP Server
 (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id
 15.1.1713.5; Mon, 29 Jul 2019 13:42:32 -0700
Received: from NAM02-BL2-obe.outbound.protection.outlook.com (192.168.54.28)
 by o365-in.thefacebook.com (192.168.16.28) with Microsoft SMTP Server
 (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1713.5
 via Frontend Transport; Mon, 29 Jul 2019 13:42:31 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=KiWgDJNGoyJjpSufSzsPN/IrC2oN/yMbEjU2H1Lzf5ywm3o5/M35tPVPUCNzjgx07iyLQI4WHac+Ppw0IRZvqG98GUEkHmGKFAr4qSsU0Tdg/fm3C1P0HQb1kGg8tcYRm5QPjVCYksM5yy++IZ0hbQzpf77OJtI6QEn5bhXE7MefxS1ypZWnlWMSoDxa4FVdXzSmKgU0elHuRBPuRKFHnQ29aLl0QubM0fuFdrs11E030XtGpS8gigec2/t0Pdqkf6e6N26Bfw+c825O2yJdRrLU2nJJyyi9CG7jJwaeon7ugLVd9boWMrXcaTPwmTYGmM+86Z1H+n49ie0KWwV8tg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=hU77NJwJiQtDnjud11SJIhNDYLKXf/osX4f0nr9rMaw=;
 b=Bz2cGC0cbtl+MFfFyZhIVsU+Rp06WOEIAT3dRyW7dudb+sTDp3dslHuqjlokrR5JMhkKL6fBkZQ+1kZGajQXkMDudvgw4z6PHPM8+OOA5HGa/IGnxdkS/dqzkyx0GI0S/uBI8+aL47k1tjGgbUOUcmB8uXn3f8X/jTfOqcQTJha8RDqxAA4QQ3AUUG83sZbfsn3OvQahJJ6UnzHeSSPvuGqP4ITipraMMbqVFrQnRvyHtjZesJwjqutu6NIrba39NvTgqQiLOlLK7lDmyt5Sw4EucI6qIKqYm0lW0kjEwmgEvMzVjxfhs5k2ovIgu9aglpP7OEWkjtvLL81Gmcc9oQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass
 smtp.mailfrom=oculus.com;dmarc=pass action=none
 header.from=oculus.com;dkim=pass header.d=oculus.com;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com;
 s=selector2-fb-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=hU77NJwJiQtDnjud11SJIhNDYLKXf/osX4f0nr9rMaw=;
 b=CGFPxS8Ayy9f704wqVR+fHHlLNDFqzajEGzVysQ83zby5T0kRr7QUt2dxId+wGjHT0UAzGYMXD3WLPHk3cmmm4Pp4WbdcTj695UiffXKeqXA1qUhbbo3nuQGzGTh0Q5ndCoHHKuobGPJQYdUxuzgvL+Th5D0xofZwMILCmiLv24=
Received: from MN2PR15MB3726.namprd15.prod.outlook.com (52.132.174.91) by
 MN2PR15MB2814.namprd15.prod.outlook.com (20.179.148.83) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.2115.10; Mon, 29 Jul 2019 20:42:29 +0000
Received: from MN2PR15MB3726.namprd15.prod.outlook.com
 ([fe80::1d42:a100:cd66:1700]) by MN2PR15MB3726.namprd15.prod.outlook.com
 ([fe80::1d42:a100:cd66:1700%7]) with mapi id 15.20.2115.005; Mon, 29 Jul 2019
 20:42:29 +0000
From: Alex Meiburg <Alex.Meiburg@Oculus.com>
Thread-Topic: Bug when colors and -C used together
Thread-Index: AQHVRk2EjSJRFmTIc0mAc6na/C1V8w==
Date: Mon, 29 Jul 2019 20:42:29 +0000
Message-ID: <MN2PR15MB372651E437E1EB0013D5A1B9FBDD0@MN2PR15MB3726.namprd15.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [2620:10d:c090:200::b07f]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 8a506cff-d83a-4974-a430-08d71465460e
x-microsoft-antispam: BCL:0; PCL:0;
 RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);
 SRVR:MN2PR15MB2814; 
x-ms-traffictypediagnostic: MN2PR15MB2814:
x-microsoft-antispam-prvs: <MN2PR15MB28140DEA55F8896DB3883090FBDD0@MN2PR15MB2814.namprd15.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-forefront-prvs: 01136D2D90
x-forefront-antispam-report: SFV:NSPM;
 SFS:(10019020)(39860400002)(366004)(346002)(376002)(396003)(136003)(199004)(189003)(55016002)(478600001)(9686003)(54896002)(25786009)(2351001)(46003)(486006)(5640700003)(476003)(102836004)(186003)(19627405001)(53936002)(33656002)(7736002)(14454004)(6506007)(6436002)(76116006)(66946007)(2501003)(66476007)(52536014)(7696005)(6606003)(8936002)(66446008)(66556008)(81166006)(99286004)(81156014)(316002)(5660300002)(71200400001)(71190400001)(6916009)(64756008)(86362001)(68736007)(2906002)(6116002)(256004)(4744005)(8676002)(74316002)(2004002);
 DIR:OUT; SFP:1102; SCL:1; SRVR:MN2PR15MB2814;
 H:MN2PR15MB3726.namprd15.prod.outlook.com; FPR:; SPF:None; LANG:en;
 PTR:InfoNoRecords; A:1; MX:1; 
received-spf: None (protection.outlook.com: Oculus.com does not designate
 permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: LReJmsbZOXWxXGtpVP7egXYNlIhXszguH0NOXAIXfVfH8V5KX4yYbO4U4e7c611nE0uohbqa+5PMqqZ6rZRCgQ72CIMen1hvgicP1rF8VfXi54SJ/CfxaknmMZ5C/zLrYjahhsAQFBJ5hTqVLUJ7EBSE+oQPpAasRPKWmweZR8oB0Olz83cNeOdvvcgeciUOq9Dno1s590Asz+ZMBLuIt1pObfpDr2YfSxPpr4ZM66XONlYux2w7lA9ZGvfBJrrx6x38e4/miOigHwjICMd9Ktf/jcnQSHbPc68CEJW7Zgt3vghdSB8VgomcKPCmttdPhwHS/WHg0VQSyWK0xg0z/UxFcXQOXzdL1R3jR8YyVBlaO8O8KHgNQKCQYtdERi+p5rK1tuHXY7UubjvpllIlXwKDMcnvqrc2U+mtbqzt8Zc=
Content-Type: multipart/alternative;
 boundary="_000_MN2PR15MB372651E437E1EB0013D5A1B9FBDD0MN2PR15MB3726namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 8a506cff-d83a-4974-a430-08d71465460e
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2019 20:42:29.4332 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: time@oculus.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR15MB2814
X-OriginatorOrg: oculus.com
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, ,
 definitions=2019-07-29_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0
 priorityscore=1501
 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0
 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0
 mlxlogscore=377 adultscore=0 classifier=spam adjust=0 reason=mlx
 scancount=1 engine=8.0.1-1906280000 definitions=main-1907290226
X-FB-Internal: deliver
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic]
X-Mailman-Approved-At: Mon, 29 Jul 2019 16:53:09 -0400
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 209.51.188.43
Subject: [bug-diffutils] bug#36842: Bug when colors and -C used together
X-BeenThere: bug-diffutils@gnu.org
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
 <mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
 <mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Jul 2019 20:54:04 -0000

--_000_MN2PR15MB372651E437E1EB0013D5A1B9FBDD0MN2PR15MB3726namp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello! I'd like to report a bug. I'm running version "diff (GNU diffutils) =
3.6, Copyright (C) 2017 Free Software Foundation, Inc.". When I run it with=
 --color=3Dalways and -C1, the wrong lines are highlighted: it highlights t=
he lines that _would have_ been the line numbers of output if no context wa=
s enabled, but since there are extra lines of output, it's highlighting the=
 wrong lines.


Best,

Alex Meiburg

--_000_MN2PR15MB372651E437E1EB0013D5A1B9FBDD0MN2PR15MB3726namp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi=
n-bottom:0;} --></style>
</head>
<body dir=3D"ltr">
<div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font=
-family:Calibri,Helvetica,sans-serif;" dir=3D"ltr">
<p style=3D"margin-top:0;margin-bottom:0">Hello! I'd like to report a bug.&=
nbsp;I'm running version&nbsp;&quot;<span style=3D"font-size: 12pt;">diff (=
GNU diffutils) 3.6,&nbsp;</span><span style=3D"font-size: 12pt;">Copyright =
(C) 2017 Free Software Foundation, Inc.&quot;. When I run it with
 --color=3Dalways and -C1, the wrong lines are highlighted: it highlights t=
he lines that _would have_ been the line numbers&nbsp;of output if no conte=
xt was enabled, but since there are extra lines of output, it's highlightin=
g the wrong lines.</span></p>
<p style=3D"margin-top:0;margin-bottom:0"><span style=3D"font-size: 12pt;">=
<br>
</span></p>
<p style=3D"margin-top:0;margin-bottom:0"><span style=3D"font-size: 12pt;">=
Best,</span></p>
<p style=3D"margin-top:0;margin-bottom:0"><span style=3D"font-size: 12pt;">=
Alex Meiburg</span></p>
</div>
</body>
</html>

--_000_MN2PR15MB372651E437E1EB0013D5A1B9FBDD0MN2PR15MB3726namp_--




From MAILER-DAEMON Mon Jul 29 18:06:05 2019
Received: from list by lists.gnu.org with archive (Exim 4.86_2)
	id 1hsDmP-0006IA-UZ
	for mharc-bug-diffutils@gnu.org; Mon, 29 Jul 2019 18:06:05 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:37105)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hsDmN-0006I4-Pf
 for bug-diffutils@gnu.org; Mon, 29 Jul 2019 18:06:05 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hsDmM-0004av-Mq
 for bug-diffutils@gnu.org; Mon, 29 Jul 2019 18:06:03 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:40409)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1hsDmM-0004aS-As
 for bug-diffutils@gnu.org; Mon, 29 Jul 2019 18:06:02 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hsDmM-0005ZU-3R
 for bug-diffutils@gnu.org; Mon, 29 Jul 2019 18:06:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Alex Meiburg <Alex.Meiburg@Oculus.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-diffutils@gnu.org
Resent-Date: Mon, 29 Jul 2019 22:06:02 +0000
Resent-Message-ID: <handler.36842.B.156443792321346@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 36842
X-GNU-PR-Package: diffutils
X-GNU-PR-Keywords: 
To: 36842@debbugs.gnu.org
X-Debbugs-Original-To: "bug-diffutils@gnu.org" <bug-diffutils@gnu.org>
Received: via spool by submit@debbugs.gnu.org id=B.156443792321346
 (code B ref -1); Mon, 29 Jul 2019 22:06:02 +0000
Received: (at submit) by debbugs.gnu.org; 29 Jul 2019 22:05:23 +0000
Received: from localhost ([127.0.0.1]:49226 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1hsDli-0005YD-Iq
 for submit@debbugs.gnu.org; Mon, 29 Jul 2019 18:05:23 -0400
Received: from lists.gnu.org ([209.51.188.17]:43246)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <prvs=3113cf8bdd=alex.meiburg@oculus.com>)
 id 1hsCXg-00030L-0Q
 for submit@debbugs.gnu.org; Mon, 29 Jul 2019 16:46:48 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:50375)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <prvs=3113cf8bdd=alex.meiburg@oculus.com>)
 id 1hsCXe-0005eE-IF
 for bug-diffutils@gnu.org; Mon, 29 Jul 2019 16:46:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <prvs=3113cf8bdd=alex.meiburg@oculus.com>)
 id 1hsCXd-00064h-9Z
 for bug-diffutils@gnu.org; Mon, 29 Jul 2019 16:46:46 -0400
Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:23990
 helo=mx0a-00082601.pphosted.com)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <prvs=3113cf8bdd=alex.meiburg@oculus.com>)
 id 1hsCXd-00063K-3F
 for bug-diffutils@gnu.org; Mon, 29 Jul 2019 16:46:45 -0400
Received: from pps.filterd (m0001303.ppops.net [127.0.0.1])
 by m0001303.ppops.net (8.16.0.27/8.16.0.27) with SMTP id x6TKkVjJ002903
 for <bug-diffutils@gnu.org>; Mon, 29 Jul 2019 13:46:44 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oculus.com;
 h=from : to : subject :
 date : message-id : references : in-reply-to : content-type :
 mime-version; s=s2048-2016-q1;
 bh=cs7BwBJMY2rpZVLRLE4HYUG3k5hDTc+OTA6dUd7FluA=;
 b=ElSBGID6Mh+IwroI38H/b6zjJnUco9/2cDCgFP1GQBslwpywj5FVRrEJh3amrARPjCh+
 o2jXv1trqn4hXbCaWze6nOqsygUZMXREp/dSk90jOPz0Y3n/PrH2P6dbIRgaeKmPoBqk
 AlzvUyOnY+b5hl+aL0DZtixUNU68TEMEDw+ByuOh4oFUx1KHBJmovBDJvn0z+tWO3qzf
 1oV2J7wS33WZOnHKU2D1eOe8k+jCzW7QdYtIKBgxYr9fktljpPNLur+l7JeAV51R4TOQ
 4Tu3mYnrQZDsnYodGRwoqSlz2btwWQG7eRWgZoR18gRCvFtWaIqNr0Fyk9F17aAwBruG YA== 
Received: from maileast.thefacebook.com ([163.114.130.16])
 by m0001303.ppops.net with ESMTP id 2u275g078h-6
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <bug-diffutils@gnu.org>; Mon, 29 Jul 2019 13:46:43 -0700
Received: from ash-exhub204.TheFacebook.com (2620:10d:c0a8:83::4) by
 ash-exhub203.TheFacebook.com (2620:10d:c0a8:83::5) with Microsoft SMTP Server
 (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id
 15.1.1713.5; Mon, 29 Jul 2019 13:46:38 -0700
Received: from NAM02-BL2-obe.outbound.protection.outlook.com (100.104.31.183)
 by o365-in.thefacebook.com (100.104.36.100) with Microsoft SMTP
 Server
 (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5
 via Frontend Transport; Mon, 29 Jul 2019 13:46:38 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=L5r2qWlkRJMVenZvL7GbnIemI1iGd5ojA1Ad9GihYCvBEygZZCoBw9TMHV2w0LsRuTe7MxohAYoylf4q3T4WMIrEY+PIwB4aX4l5pSCC+UiViuAriNg6rSaaRPxOu4M8EeJPYWtFrdPd/S3anU2+cYCk4EV/QnnI4nt56N/0ejA4bCS3IF2o7jsNQkpzmk42zmSfhKGO2u6vUX55FpSVyQ4b+V5R6I8mUHuVlKcQnDEeBeazNOR2dxNSL2rdBV55+HoVdeHjNhNXovCVgyNOmFgIU2tqeAKZx0f4Hd1MPWYZCHQ3Nz4e+Ngp5THu7U7MIbOOZpmoCtw5ynUbqHc1DA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=cs7BwBJMY2rpZVLRLE4HYUG3k5hDTc+OTA6dUd7FluA=;
 b=XU3W+pfX4a7He1kcW3PqOBQQ2xYVxDw8eSBa29oGPFQxe7DJQP3hoH57jfELxccKUVgLVw/LDjwIltpyxwEscJE+pboKH78Vt2I1RlY2kkqc04w+OXPuFAFOvvIgv6vmcOAyePH6hGy+5OIbqeIXwMjeCU3wMZyxDwlw4AIDBVQG8NXrMOMwLS0ifiBhIOG5kfyTTl71/ZQo4vVkx2DxZoAlNAbAjd2yMuiJkGzcQqTc3FAfj7q2eIq1lYZuCShTB/xpzA6IxpHZVK6moItIPyDKpFPn+3brjaUEm3hqSGLh9BwPQW+x1drnPnhEPA7ysk7JZvCRW/TLHG2CMzJlPw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass
 smtp.mailfrom=oculus.com;dmarc=pass action=none
 header.from=oculus.com;dkim=pass header.d=oculus.com;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com;
 s=selector2-fb-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=cs7BwBJMY2rpZVLRLE4HYUG3k5hDTc+OTA6dUd7FluA=;
 b=kg5nySqFWRj0X9TbIVfkYe3nUTtPO3NJKoyN9Y29qjl6DGUcRfTmmC8Q9foA7byH2QsVjGg93IZKRAcdeB2D2WnFazrJvzZzTlXoywiIHJhfr/zG8JAyDBbKowFc/1KTvATF2D0Y3FEfXOwPyv6a+5leEuXkzhceaRpJS0sjn3g=
Received: from MN2PR15MB3726.namprd15.prod.outlook.com (52.132.174.91) by
 MN2PR15MB2814.namprd15.prod.outlook.com (20.179.148.83) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.2115.10; Mon, 29 Jul 2019 20:46:24 +0000
Received: from MN2PR15MB3726.namprd15.prod.outlook.com
 ([fe80::1d42:a100:cd66:1700]) by MN2PR15MB3726.namprd15.prod.outlook.com
 ([fe80::1d42:a100:cd66:1700%7]) with mapi id 15.20.2115.005; Mon, 29 Jul 2019
 20:46:24 +0000
From: Alex Meiburg <Alex.Meiburg@Oculus.com>
Thread-Topic: Bug when colors and -C used together
Thread-Index: AQHVRk2EjSJRFmTIc0mAc6na/C1V86biEJj0
Date: Mon, 29 Jul 2019 20:46:24 +0000
Message-ID: <MN2PR15MB3726CE7F543557040DBCBFCBFBDD0@MN2PR15MB3726.namprd15.prod.outlook.com>
References: <MN2PR15MB372651E437E1EB0013D5A1B9FBDD0@MN2PR15MB3726.namprd15.prod.outlook.com>
In-Reply-To: <MN2PR15MB372651E437E1EB0013D5A1B9FBDD0@MN2PR15MB3726.namprd15.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [2620:10d:c090:200::b07f]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 312f6143-1aa5-492e-e50f-08d71465d217
x-microsoft-antispam: BCL:0; PCL:0;
 RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);
 SRVR:MN2PR15MB2814; 
x-ms-traffictypediagnostic: MN2PR15MB2814:
x-microsoft-antispam-prvs: <MN2PR15MB28140AFA81EB17C6CAE5604BFBDD0@MN2PR15MB2814.namprd15.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-forefront-prvs: 01136D2D90
x-forefront-antispam-report: SFV:NSPM;
 SFS:(10019020)(39860400002)(366004)(346002)(376002)(396003)(136003)(199004)(189003)(2940100002)(55016002)(478600001)(9686003)(54896002)(11346002)(25786009)(2351001)(46003)(486006)(5640700003)(446003)(476003)(102836004)(186003)(19627405001)(53936002)(33656002)(7736002)(14454004)(6246003)(53546011)(6506007)(6436002)(76116006)(66946007)(2501003)(66476007)(52536014)(7696005)(6606003)(8936002)(66446008)(66556008)(81166006)(99286004)(81156014)(316002)(5660300002)(71200400001)(71190400001)(6916009)(64756008)(86362001)(68736007)(2906002)(6116002)(256004)(4744005)(229853002)(8676002)(74316002)(76176011)(2004002);
 DIR:OUT; SFP:1102; SCL:1; SRVR:MN2PR15MB2814;
 H:MN2PR15MB3726.namprd15.prod.outlook.com; FPR:; SPF:None; LANG:en;
 PTR:InfoNoRecords; A:1; MX:1; 
received-spf: None (protection.outlook.com: Oculus.com does not designate
 permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: k7/KidtInRwHDqB72jotABcGmgxIZ7zxdg9jIvLshzkcgFpHmUmula13ii5rlMoxgAfH/N2E3Wt4Ma4qTkYliu/c9yOAqZgqSaTidvMXuwba7Emnlh5wllsGnmljmaC1ysE510mTexkxNcMl1k3S1lWRjVUqBgt5KcZmLBMSygKWrhMVZ0cmjvsG+skPKiqILft+l+2S+NGSsE0VvjW6Q2Fxn8qldKG0ElXyT28mAYyluJ+bxw3LvKkbLOi/FQmVokkGU8ugViGGrn4rr2sD2uI4db0tQBtGOavtjSBe/4KvlyWa/sbsRfs6+dJqrbyMPDX2bJr+yXg5QF02Px3k1jdIqiI3UKKxj8g1qi7BqKY0tMgGV2GhsuMZwTAlsHZTbPNpXUZKeqxX3C10vOMF4H0JJ3rPo2pn2P4lq/dLqcE=
Content-Type: multipart/alternative;
 boundary="_000_MN2PR15MB3726CE7F543557040DBCBFCBFBDD0MN2PR15MB3726namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 312f6143-1aa5-492e-e50f-08d71465d217
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2019 20:46:24.3619 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: time@oculus.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR15MB2814
X-OriginatorOrg: oculus.com
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, ,
 definitions=2019-07-29_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0
 priorityscore=1501
 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0
 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0
 mlxlogscore=641 adultscore=0 classifier=spam adjust=0 reason=mlx
 scancount=1 engine=8.0.1-1906280000 definitions=main-1907290226
X-FB-Internal: deliver
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic]
X-Mailman-Approved-At: Mon, 29 Jul 2019 18:05:20 -0400
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 209.51.188.43
Subject: [bug-diffutils] bug#36842: Bug when colors and -C used together
X-BeenThere: bug-diffutils@gnu.org
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
 <mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
 <mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Jul 2019 22:06:05 -0000

--_000_MN2PR15MB3726CE7F543557040DBCBFCBFBDD0MN2PR15MB3726namp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I'm so sorry, please ignore, I made a mistake in understanding how diff hig=
hlights colors. I guess I was thinking of `hg diff` and the like, and my co=
workers had also thought this seemed wrong.


Apologies.

________________________________
From: Alex Meiburg
Sent: Monday, July 29, 2019 1:42:29 PM
To: bug-diffutils@gnu.org <bug-diffutils@gnu.org>
Subject: Bug when colors and -C used together


Hello! I'd like to report a bug. I'm running version "diff (GNU diffutils) =
3.6, Copyright (C) 2017 Free Software Foundation, Inc.". When I run it with=
 --color=3Dalways and -C1, the wrong lines are highlighted: it highlights t=
he lines that _would have_ been the line numbers of output if no context wa=
s enabled, but since there are extra lines of output, it's highlighting the=
 wrong lines.


Best,

Alex Meiburg

--_000_MN2PR15MB3726CE7F543557040DBCBFCBFBDD0MN2PR15MB3726namp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi=
n-bottom:0;} --></style>
</head>
<body dir=3D"ltr">
<div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font=
-family:Calibri,Helvetica,sans-serif;" dir=3D"ltr">
<p style=3D"margin-top:0;margin-bottom:0">I'm so sorry, please ignore, I ma=
de a mistake in understanding how diff highlights colors. I guess I was thi=
nking of `hg diff` and the like, and my coworkers had also thought this see=
med wrong.</p>
<p style=3D"margin-top:0;margin-bottom:0"><br>
</p>
<p style=3D"margin-top:0;margin-bottom:0">Apologies.</p>
</div>
<hr style=3D"display:inline-block;width:98%" tabindex=3D"-1">
<div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st=
yle=3D"font-size:11pt" color=3D"#000000"><b>From:</b> Alex Meiburg<br>
<b>Sent:</b> Monday, July 29, 2019 1:42:29 PM<br>
<b>To:</b> bug-diffutils@gnu.org &lt;bug-diffutils@gnu.org&gt;<br>
<b>Subject:</b> Bug when colors and -C used together</font>
<div>&nbsp;</div>
</div>
<style type=3D"text/css" style=3D"display:none">
<!--
p
	{margin-top:0;
	margin-bottom:0}
-->
</style>
<div dir=3D"ltr">
<div id=3D"x_divtagdefaultwrapper" dir=3D"ltr" style=3D"font-size:12pt; col=
or:#000000; font-family:Calibri,Helvetica,sans-serif">
<p style=3D"margin-top:0; margin-bottom:0">Hello! I'd like to report a bug.=
&nbsp;I'm running version&nbsp;&quot;<span style=3D"font-size:12pt">diff (G=
NU diffutils) 3.6,&nbsp;</span><span style=3D"font-size:12pt">Copyright (C)=
 2017 Free Software Foundation, Inc.&quot;. When I run it with
 --color=3Dalways and -C1, the wrong lines are highlighted: it highlights t=
he lines that _would have_ been the line numbers&nbsp;of output if no conte=
xt was enabled, but since there are extra lines of output, it's highlightin=
g the wrong lines.</span></p>
<p style=3D"margin-top:0; margin-bottom:0"><span style=3D"font-size:12pt"><=
br>
</span></p>
<p style=3D"margin-top:0; margin-bottom:0"><span style=3D"font-size:12pt">B=
est,</span></p>
<p style=3D"margin-top:0; margin-bottom:0"><span style=3D"font-size:12pt">A=
lex Meiburg</span></p>
</div>
</div>
</body>
</html>

--_000_MN2PR15MB3726CE7F543557040DBCBFCBFBDD0MN2PR15MB3726namp_--




