From MAILER-DAEMON Wed Jun 02 10:46:04 2021
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1loS8C-0002Hg-Or
	for mharc-bug-diffutils@gnu.org; Wed, 02 Jun 2021 10:46:04 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:60398)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1loS8A-0002GQ-Jl
 for bug-diffutils@gnu.org; Wed, 02 Jun 2021 10:46:02 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:57764)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1loS8A-0004Ki-C8
 for bug-diffutils@gnu.org; Wed, 02 Jun 2021 10:46:02 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1loS8A-0005dc-A1
 for bug-diffutils@gnu.org; Wed, 02 Jun 2021 10:46:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: saransh bhatnagar <saransh87@gmail.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-diffutils@gnu.org
Resent-Date: Wed, 02 Jun 2021 14:46:02 +0000
Resent-Message-ID: <handler.48791.B.162264511021560@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 48791
X-GNU-PR-Package: diffutils
X-GNU-PR-Keywords: 
To: 48791@debbugs.gnu.org
X-Debbugs-Original-To: bug-diffutils@gnu.org
Received: via spool by submit@debbugs.gnu.org id=B.162264511021560
 (code B ref -1); Wed, 02 Jun 2021 14:46:02 +0000
Received: (at submit) by debbugs.gnu.org; 2 Jun 2021 14:45:10 +0000
Received: from localhost ([127.0.0.1]:41065 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1loS7K-0005be-97
 for submit@debbugs.gnu.org; Wed, 02 Jun 2021 10:45:10 -0400
Received: from lists.gnu.org ([209.51.188.17]:36542)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <saransh87@gmail.com>) id 1loJxK-0004Tk-QX
 for submit@debbugs.gnu.org; Wed, 02 Jun 2021 02:02:19 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:43204)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <saransh87@gmail.com>)
 id 1loJxK-0005QU-J0
 for bug-diffutils@gnu.org; Wed, 02 Jun 2021 02:02:18 -0400
Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]:46610)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <saransh87@gmail.com>)
 id 1loJxJ-0008MI-0R
 for bug-diffutils@gnu.org; Wed, 02 Jun 2021 02:02:18 -0400
Received: by mail-pg1-x52e.google.com with SMTP id n12so1332164pgs.13
 for <bug-diffutils@gnu.org>; Tue, 01 Jun 2021 23:02:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; 
 h=mime-version:from:date:message-id:subject:to;
 bh=OmvC78hwUFWxXGLJTiroHfaY++FuN/WJPYa0xoOIoEE=;
 b=LXl583W2gw0p08PzCuB+rFuAtaWbphZVwN0F4XD2TwA+D1lwhy2aFZFEQya6w4NCnM
 RFX4sNXgrQne2ip1UQBig7LGnigExQmGAzqE/KU0sApPaxlWSVjXWMCLZ/TkSdbkjbXW
 7u8pebGOMZVTkSci2chKPMTPt+SRAU95XmFwjU57SVYke3zfpHND6xFIqLs8eK/2YDSg
 sdcqBzhUAtC5rzcG2BKodiAJtzn3VXAdpriY7wFLDV1JDhU/RQyLcqA9310/40JPa3se
 p1yZ/lBc/sgvpLUOo+iBf2KiMBH6ZC5TFXGpcUIzSwBRc53nR8c1XZ2l6v2oNQA6XNQ9
 r32Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=OmvC78hwUFWxXGLJTiroHfaY++FuN/WJPYa0xoOIoEE=;
 b=Yu0YJ65OKbZnOFfr/oYfJ//vE4lNxonF7+9Xb+71I2Y4FWWrDWiLGV41yI6Z4/a8RN
 J+gTzVYXS1gu9tj4j1/RY2jFLTDy55kZsty5h8YfNjpM4SZ1gdrmkkashCQTBRWgr6Ah
 g9MLRjgh4X70bDe6MBS/ZkdtXJQBSkHMaBeqi1XOagiY+tVRzigcK5g0hxcLAfSMmRJQ
 f60Tsh70MgR+2meuaJ9B0Tkf67yML95E2Pw6+xYPFz+mV5Cdi7DeOYl0MbeEYdBXqebv
 bvYjEy4nhzETaFX+lTumeNAbtwnSEllMXl16ebUdwPiToFILR8ggKdFzjZmoHTfb3kkF
 99hA==
X-Gm-Message-State: AOAM532bP2gxwcpHliNLhfuygLDvo2niKOqX+5aR+CMQRCb0mfJdJ9y+
 L2eWNZCVS8b0rBXIyxSzwiDySjNZqsQYwgLYhtJCFDYfJDxwKA==
X-Google-Smtp-Source: ABdhPJw+7juZ+uKTUv2JaswE0BYwQHq5B2U3ak7AqaUS6m00aq0JMpHLUY+ifRT0Hj//1CRMzLInAbVZK0gb2eMIDro=
X-Received: by 2002:a62:dd83:0:b029:2e8:e511:c32f with SMTP id
 w125-20020a62dd830000b02902e8e511c32fmr25604491pff.49.1622613734930; Tue, 01
 Jun 2021 23:02:14 -0700 (PDT)
MIME-Version: 1.0
From: saransh bhatnagar <saransh87@gmail.com>
Date: Tue, 1 Jun 2021 23:02:04 -0700
Message-ID: <CABPu1SvzYzuhHCPqetX1LpMACOJsEFrevaHtW_n93WfwXSkV8w@mail.gmail.com>
Content-Type: multipart/alternative; boundary="000000000000473ad305c3c2333d"
Received-SPF: pass client-ip=2607:f8b0:4864:20::52e;
 envelope-from=saransh87@gmail.com; helo=mail-pg1-x52e.google.com
X-Spam_score_int: 1
X-Spam_score: 0.1
X-Spam_bar: /
X-Spam_report: (0.1 / 5.0 requ) BAYES_40=-0.001, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.1 (-)
X-Mailman-Approved-At: Wed, 02 Jun 2021 10:45: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-Spam-Score: -2.1 (--)
Subject: [bug-diffutils] bug#48791: diff ( -q option )
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, 02 Jun 2021 14:46:02 -0000

--000000000000473ad305c3c2333d
Content-Type: text/plain; charset="UTF-8"

Hi,

Both 'diff --help' and 'man diff' report wrong help message for -q option :

*  -q, --brief                   report only when files differ*


info diff reports the correct help message :

*`-q'*
*`--brief'*
*     Report only whether the files differ, not the details of the*
*     differences.  *Note Brief::.*

Please help update

--000000000000473ad305c3c2333d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr">Hi,<div><br></div><div>B=
oth &#39;diff --help&#39; and &#39;man diff&#39; report wrong help message =
for -q option :=C2=A0</div><div><br></div><div><div><i>=C2=A0 -q, --brief =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 report only =
when files differ</i></div></div><div><br></div><div><br></div><div>info di=
ff reports the correct=C2=A0help message :=C2=A0</div><div><br></div><div><=
div><i>`-q&#39;</i></div><div><i>`--brief&#39;</i></div><div><i>=C2=A0 =C2=
=A0 =C2=A0Report only whether the files differ, not the details of the</i><=
/div><div><i>=C2=A0 =C2=A0 =C2=A0differences. =C2=A0*Note Brief::.</i></div=
></div><div><br></div><div>Please help update</div></div></div></div>

--000000000000473ad305c3c2333d--




From MAILER-DAEMON Mon Jun 14 10:48:08 2021
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1lsnsj-0002Vu-LP
	for mharc-bug-diffutils@gnu.org; Mon, 14 Jun 2021 10:48:08 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:41892)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1lsnsh-0002Q2-J0
 for bug-diffutils@gnu.org; Mon, 14 Jun 2021 10:48:03 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:35877)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1lsnsh-00068W-B4
 for bug-diffutils@gnu.org; Mon, 14 Jun 2021 10:48:03 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1lsnsh-0002uM-9T
 for bug-diffutils@gnu.org; Mon, 14 Jun 2021 10:48:03 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: KedriD <kedswrid+out@gmail.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-diffutils@gnu.org
Resent-Date: Mon, 14 Jun 2021 14:48:03 +0000
Resent-Message-ID: <handler.49024.B.162368206211081@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 49024
X-GNU-PR-Package: diffutils
X-GNU-PR-Keywords: 
To: 49024@debbugs.gnu.org
X-Debbugs-Original-To: bug-diffutils@gnu.org
Received: via spool by submit@debbugs.gnu.org id=B.162368206211081
 (code B ref -1); Mon, 14 Jun 2021 14:48:03 +0000
Received: (at submit) by debbugs.gnu.org; 14 Jun 2021 14:47:42 +0000
Received: from localhost ([127.0.0.1]:47417 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1lsnsM-0002rt-4S
 for submit@debbugs.gnu.org; Mon, 14 Jun 2021 10:47:42 -0400
Received: from lists.gnu.org ([209.51.188.17]:39496)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kedswrid@gmail.com>) id 1lsnpK-0000ay-TF
 for submit@debbugs.gnu.org; Mon, 14 Jun 2021 10:44:35 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:41020)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <kedswrid@gmail.com>)
 id 1lsnpK-0003cR-Ct
 for bug-diffutils@gnu.org; Mon, 14 Jun 2021 10:44:34 -0400
Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]:35687)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <kedswrid@gmail.com>)
 id 1lsnpI-0004Y8-JO
 for bug-diffutils@gnu.org; Mon, 14 Jun 2021 10:44:33 -0400
Received: by mail-lj1-x232.google.com with SMTP id n17so20580920ljg.2
 for <bug-diffutils@gnu.org>; Mon, 14 Jun 2021 07:44:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; 
 h=mime-version:from:date:message-id:subject:to;
 bh=yOGoy3yXpeCKxerH4bmmvOZLLyGljUjRKXLfTBjsJqs=;
 b=Lb4KvzirjneqEgJJWw1Uw9CYvu/mHrqD99n9U49SBuS+cCOFfLjV7hsw/wLKFglmQc
 ySHQz5tXrS9A2P3YsMe4x0NfI4TP+GCCKah9H1RHHM1H4g00tqrxF8DCJRddXdg4p/rZ
 MkTCFTU20cVao9tq2vfFy4dcsMB8ZrQOBEynGsM0/x4pzuVtmbE0GaUJZ5xbQREAitHS
 jMp7KvKE+Y025EMNtmbBZbBRyvW8YjV4NBl73HwGyFQkA0mlVe7sd6tU4SiWqc+xt6ia
 +cHmxZw6QAwG2Jnj65U0DfMInUlKhYXQODgD4ymB0c2A3Ow13+u0rh++crMIWtzQJk8N
 UGVg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=yOGoy3yXpeCKxerH4bmmvOZLLyGljUjRKXLfTBjsJqs=;
 b=RxjIeoWPFg3cxNMsGIJ6bj0iiYUVoRr0Ajtfg35W+TtvtUJwayPhzjc7bUp79ExudN
 GBFtE7TSodhVC1t848/uaBQUnKRAAU5XqlQ2DV0xNFes4J+D7ZUKSx2lTlLj0WqFYtOs
 gzhcEx3hRxgZ1uZLSbc18DCRhJS3PwJ1/+qpIRgeVQCrTw32FP+aDiwNvmF4fQMRtqHd
 bdzraFWs38TZzbiJLtJBVu6DU5r+AD8NsQB6FriJZ1k3T+ZIPszR0Qka8K3HmP/Ej8Xo
 /NP1mhdjEVu1vjSgLl2KDPkgfYYdqvIR5epkXdAduCsEmH0qx6ih5hQgmD3ywqwhWDDG
 DxEQ==
X-Gm-Message-State: AOAM533GzjfYmvWRJq6ElmA2MfSJPxEnAOgY8ENxmWEP9AOmAaq46SA2
 /0dPxdqGqeG1ePL474GHqUgB1TZNLzMqBcx1i2Ru1yeS/kg=
X-Google-Smtp-Source: ABdhPJy9IFh/iS7+WA5J5wWtkttQeO3/U1YURRMXgKIC8ax5f2ZdpD4yV59xx4pgGL6/WkkDPzqPOV05RYEIjRoeniY=
X-Received: by 2002:a2e:8699:: with SMTP id l25mr13648928lji.315.1623681869250; 
 Mon, 14 Jun 2021 07:44:29 -0700 (PDT)
MIME-Version: 1.0
From: KedriD <kedswrid+out@gmail.com>
Date: Mon, 14 Jun 2021 15:44:19 +0100
Message-ID: <CAP9dsokdVwJwF8i04TyLZL7Q_nS=Xx1tTmR27AKr+fHFtOKeGA@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2a00:1450:4864:20::232;
 envelope-from=kedswrid@gmail.com; helo=mail-lj1-x232.google.com
X-Spam_score_int: 6
X-Spam_score: 0.6
X-Spam_bar: /
X-Spam_report: (0.6 / 5.0 requ) BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Mailman-Approved-At: Mon, 14 Jun 2021 10:47:41 -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-Spam-Score: -2.3 (--)
Subject: [bug-diffutils] bug#49024: Issue with 3.5.2
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, 14 Jun 2021 14:48:03 -0000

I may have found an issue with v3.5.2 on windows
It is also there on v2.8.1 on macOS
Do not know where to get binary of v3.5.7 to check latest version ?
Can you assist ?


Dav)D




From MAILER-DAEMON Mon Jun 14 15:17:05 2021
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1lss53-00027w-2j
	for mharc-bug-diffutils@gnu.org; Mon, 14 Jun 2021 15:17:05 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:41210)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1lss51-00023K-8X
 for bug-diffutils@gnu.org; Mon, 14 Jun 2021 15:17:03 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:36277)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1lss51-0003dc-09
 for bug-diffutils@gnu.org; Mon, 14 Jun 2021 15:17:03 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1lss50-0005fN-LI
 for bug-diffutils@gnu.org; Mon, 14 Jun 2021 15:17:02 -0400
Resent-From: Paul Eggert <eggert@cs.ucla.edu>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-To: bug-diffutils@gnu.org
Resent-Date: Mon, 14 Jun 2021 19:17:02 +0000
Resent-Message-ID: <handler.49024.D49024.162369821721763.done@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: cc-closed 49024
X-GNU-PR-Package: diffutils
X-GNU-PR-Keywords: 
To: KedriD <kedswrid+out@gmail.com>
Cc: 49024-done@debbugs.gnu.org
Mail-Followup-To: 49024@debbugs.gnu.org, eggert@cs.ucla.edu,
 kedswrid+out@gmail.com
Received: via spool by 49024-done@debbugs.gnu.org id=D49024.162369821721763
 (code D ref 49024); Mon, 14 Jun 2021 19:17:02 +0000
Received: (at 49024-done) by debbugs.gnu.org; 14 Jun 2021 19:16:57 +0000
Received: from localhost ([127.0.0.1]:47823 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1lss4v-0005ew-8l
 for submit@debbugs.gnu.org; Mon, 14 Jun 2021 15:16:57 -0400
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:52918)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@cs.ucla.edu>) id 1lss4t-0005ej-0k
 for 49024-done@debbugs.gnu.org; Mon, 14 Jun 2021 15:16:55 -0400
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id B26C11600E5;
 Mon, 14 Jun 2021 12:16:48 -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 VdHJJrhozfyB; Mon, 14 Jun 2021 12:16:48 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 168CC1600F1;
 Mon, 14 Jun 2021 12:16:48 -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 Xg70jiORMSUE; Mon, 14 Jun 2021 12:16:48 -0700 (PDT)
Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com
 [172.91.119.151])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id E88411600E5;
 Mon, 14 Jun 2021 12:16:47 -0700 (PDT)
References: <CAP9dsokdVwJwF8i04TyLZL7Q_nS=Xx1tTmR27AKr+fHFtOKeGA@mail.gmail.com>
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
Message-ID: <773468fb-e44a-5bb3-177f-74096cd9ada0@cs.ucla.edu>
Date: Mon, 14 Jun 2021 12:16:46 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.8.1
MIME-Version: 1.0
In-Reply-To: <CAP9dsokdVwJwF8i04TyLZL7Q_nS=Xx1tTmR27AKr+fHFtOKeGA@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.8 (--)
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-Spam-Score: -3.8 (---)
Subject: [bug-diffutils] bug#49024:  bug#49024: Issue with 3.5.2
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, 14 Jun 2021 19:17:04 -0000

On 6/14/21 7:44 AM, KedriD wrote:
> I may have found an issue with v3.5.2 on windows
> It is also there on v2.8.1 on macOS
> Do not know where to get binary of v3.5.7 to check latest version ?

We're merely the upstream source code developers, and we don't release 
or keep track of executables for various platforms. Please contact 
whoever distributed the executable you're using.




From MAILER-DAEMON Tue Jun 15 10:13:05 2021
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1lt9oP-0007cY-6v
	for mharc-bug-diffutils@gnu.org; Tue, 15 Jun 2021 10:13:05 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:39360)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1lt9oN-0007Wp-DW
 for bug-diffutils@gnu.org; Tue, 15 Jun 2021 10:13:03 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:38831)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1lt9oN-0005uB-3a
 for bug-diffutils@gnu.org; Tue, 15 Jun 2021 10: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 1lt9oM-0005Ca-VX
 for bug-diffutils@gnu.org; Tue, 15 Jun 2021 10:13:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Gisle Vanem <gisle.vanem@gmail.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-diffutils@gnu.org
Resent-Date: Tue, 15 Jun 2021 14:13:02 +0000
Resent-Message-ID: <handler.49038.B.162376637519953@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 49038
X-GNU-PR-Package: diffutils
X-GNU-PR-Keywords: 
To: 49038@debbugs.gnu.org
X-Debbugs-Original-To: bug-diffutils@gnu.org
Received: via spool by submit@debbugs.gnu.org id=B.162376637519953
 (code B ref -1); Tue, 15 Jun 2021 14:13:02 +0000
Received: (at submit) by debbugs.gnu.org; 15 Jun 2021 14:12:55 +0000
Received: from localhost ([127.0.0.1]:50371 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1lt9oF-0005Bf-9D
 for submit@debbugs.gnu.org; Tue, 15 Jun 2021 10:12:55 -0400
Received: from lists.gnu.org ([209.51.188.17]:42852)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gisle.vanem@gmail.com>) id 1lt7he-0003Bd-Cl
 for submit@debbugs.gnu.org; Tue, 15 Jun 2021 07:57:58 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35802)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <gisle.vanem@gmail.com>)
 id 1lt7he-0006xc-3L
 for bug-diffutils@gnu.org; Tue, 15 Jun 2021 07:57:58 -0400
Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:38588)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <gisle.vanem@gmail.com>)
 id 1lt7hb-0006oh-3z
 for bug-diffutils@gnu.org; Tue, 15 Jun 2021 07:57:57 -0400
Received: by mail-lf1-x12f.google.com with SMTP id r5so26587698lfr.5
 for <bug-diffutils@gnu.org>; Tue, 15 Jun 2021 04:57:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; 
 h=from:subject:to:message-id:date:user-agent:mime-version
 :content-language:content-transfer-encoding;
 bh=PRS/OkyXz5ab8aCjPi7kbKa9W5dgDIBjnemV2H4B2IE=;
 b=Wkm0szfwt+exjziM30Q2F6CJbuEqLpV/IXADson/NdnumzLmhvmOoMd2tL4vNNHxXr
 EhlgA1RcVslRCkOQK/WL0JL2KWsenlgfGDEbOgmnFluApcNhH792IYDAkKPLoom7dhai
 nfrqr48p8mCdP8cFT3kws7SAS29L9Inmclbx8oVlG7RQr56EjquqJ2uNF7vDdwFcmSWw
 7H8RsaPdTowUDCmsM2Qo0pSkvtZ2gHgvRcxNB+tU1xJwiezzIVkUbNi6Tt1+A5mqpAuh
 H1xllzCfFO0e8UNpIeGFDfLuhphJ5SgeBsBECN2yUu3reHxd6RxDK2R/lWfUUbVknuvM
 Hg1g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:subject:to:message-id:date:user-agent
 :mime-version:content-language:content-transfer-encoding;
 bh=PRS/OkyXz5ab8aCjPi7kbKa9W5dgDIBjnemV2H4B2IE=;
 b=Zw8D6RO2olP6l3dvWFA5m52gJgHhVO7yBs7uoJQ7H+gJnjYIcxAFa9wsVJYVMAI/Ef
 LJi4hXgtwvG80ypqFfJO4bZUWinJlvQZJvgg/SzcEFWAOnkDZ1gNBSBA3HT7qRVRPwNd
 R4LmFRVQwXg31lBpD029rK4uWMy4/Qgy2EqzSaKeqyXtZt6cFXqciu+yDwqyO3bU4Kjv
 4eU0jtrZ+FwYAJ0+4iaA12IEu2wjDJrQaOpowL+fVaTSHo4ob4tBLe7bN90hYe6w15tB
 I9ymAEQtNaELAfFO264KZdmxmdHO0OsfgEEixtgSCPDVrxookGfAxBBAFBAG5/gqW6YQ
 Uo7w==
X-Gm-Message-State: AOAM531PhfBJL+uzpnddio0fg/YdDKpT/mp/3e+aABZkmhMiB+hNZ6gr
 oDWg0M62h656JO88Qsu58dULSVhHwJjYwQ==
X-Google-Smtp-Source: ABdhPJzawbXLIR2G4YC3f4kboNoLMTJcJZOzniF1RUAl70sew5kLkODi5RO1qynmpIdZC1BV1BM/Uw==
X-Received: by 2002:a05:6512:3047:: with SMTP id
 b7mr9066484lfb.49.1623758271514; 
 Tue, 15 Jun 2021 04:57:51 -0700 (PDT)
Received: from [10.0.0.10] (ti0040q160-3065.bb.online.no. [62.16.223.30])
 by smtp.gmail.com with ESMTPSA id i29sm1781639lfv.163.2021.06.15.04.57.50
 for <bug-diffutils@gnu.org>
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 15 Jun 2021 04:57:51 -0700 (PDT)
From: Gisle Vanem <gisle.vanem@gmail.com>
Message-ID: <0432d4d2-b221-7e63-fdd9-5cecb9ae9887@gmail.com>
Date: Tue, 15 Jun 2021 13:57:49 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101
 Thunderbird/60.9.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-GB
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=2a00:1450:4864:20::12f;
 envelope-from=gisle.vanem@gmail.com; helo=mail-lf1-x12f.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, 
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Mailman-Approved-At: Tue, 15 Jun 2021 10:12:51 -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-Spam-Score: -2.3 (--)
Subject: [bug-diffutils] bug#49038: Speeding up diff on Windows
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: Tue, 15 Jun 2021 14:13:03 -0000

Hello list.

I feel a 'diff --recursive ..' takes way too much time
to diff 2 trees of a few 1000 files each.

Reading the MSDN docs for '_open()', the under-laying
cache-behaviour and the 'O_SEQUENTIAL' flag, it seems
sensible that the Windows "Cache Manager" [1] works
faster with the 'O_SEQUENTIAL' flag. So with this
little pseudo-patch of 'diff.c':

+#ifndef O_SEQUENTIAL
+#define O_SEQUENTIAL 0
+#endif
        /* Open the files and record their descriptors.  */

        int oflags = O_RDONLY | (binary ? O_BINARY : 0);
+      oflags |= O_SEQUENTIAL;
+
        if (cmp.file[0].desc == UNOPENED)
          if ((cmp.file[0].desc = open (cmp.file[0].name, oflags, 0)) < 0)

I seem to get the job done quicker. I cannot give any numbers on
the speed-increase. But others may have some comments?

[1] https://docs.microsoft.com/en-us/windows/win32/fileio/file-caching

-- 
--gv




From MAILER-DAEMON Tue Jun 15 15:52:03 2021
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1ltF6R-0007bd-Dw
	for mharc-bug-diffutils@gnu.org; Tue, 15 Jun 2021 15:52:03 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46218)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1ltF6Q-0007bL-5f
 for bug-diffutils@gnu.org; Tue, 15 Jun 2021 15:52:02 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:39352)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1ltF6P-0007wy-Tf
 for bug-diffutils@gnu.org; Tue, 15 Jun 2021 15:52:01 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1ltF6P-0001f9-Ty
 for bug-diffutils@gnu.org; Tue, 15 Jun 2021 15:52:01 -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: Tue, 15 Jun 2021 19:52:01 +0000
Resent-Message-ID: <handler.49038.B49038.16237866856330@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 49038
X-GNU-PR-Package: diffutils
X-GNU-PR-Keywords: 
To: Gisle Vanem <gisle.vanem@gmail.com>, 49038@debbugs.gnu.org
Received: via spool by 49038-submit@debbugs.gnu.org id=B49038.16237866856330
 (code B ref 49038); Tue, 15 Jun 2021 19:52:01 +0000
Received: (at 49038) by debbugs.gnu.org; 15 Jun 2021 19:51:25 +0000
Received: from localhost ([127.0.0.1]:50892 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1ltF5p-0001e2-Ju
 for submit@debbugs.gnu.org; Tue, 15 Jun 2021 15:51:25 -0400
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:36804)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@cs.ucla.edu>) id 1ltF5o-0001dn-8i
 for 49038@debbugs.gnu.org; Tue, 15 Jun 2021 15:51:25 -0400
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id EBE9D16005E;
 Tue, 15 Jun 2021 12:51:17 -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 Lwt48SMDv5yR; Tue, 15 Jun 2021 12:51:17 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 1E3671600AD;
 Tue, 15 Jun 2021 12:51:17 -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 KpZfJ4Af7vKd; Tue, 15 Jun 2021 12:51:17 -0700 (PDT)
Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com
 [172.91.119.151])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id F026216005E;
 Tue, 15 Jun 2021 12:51:16 -0700 (PDT)
References: <0432d4d2-b221-7e63-fdd9-5cecb9ae9887@gmail.com>
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
Message-ID: <40e57b23-e31e-e915-b067-4061af6674a9@cs.ucla.edu>
Date: Tue, 15 Jun 2021 12:51:16 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.8.1
MIME-Version: 1.0
In-Reply-To: <0432d4d2-b221-7e63-fdd9-5cecb9ae9887@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.4 (--)
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-Spam-Score: -3.4 (---)
Subject: [bug-diffutils] bug#49038: bug#49038: Speeding up diff on Windows
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: Tue, 15 Jun 2021 19:52:02 -0000

On 6/15/21 4:57 AM, Gisle Vanem wrote:

> I seem to get the job done quicker. I cannot give any numbers on
> the speed-increase.

Although GNU/Linux doesn't have O_SEQUENTIAL, it has somewhat similar 
flags (e.g., madvise with MADV_SEQUENTIAL). I've tried using these flags 
in the past and came up empty: they complicate the code and sometimes 
make things faster and sometimes slower and it wasn't worth the 
maintenance trouble to tease things out.

I expect that Microsoft's O_SEQUENTIAL flag is similar. Besides, 
MS-Windows is relatively low priority for us.




