Received: (at 37381) by debbugs.gnu.org; 11 Sep 2019 15:57:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 11 11:57:43 2019 Received: from localhost ([127.0.0.1]:42647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1i8502-00017X-Qi for submit <at> debbugs.gnu.org; Wed, 11 Sep 2019 11:57:43 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:59102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eggert@HIDDEN>) id 1i8501-00017E-2w for 37381 <at> debbugs.gnu.org; Wed, 11 Sep 2019 11:57:41 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id AE60016016A; Wed, 11 Sep 2019 08:57:35 -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 Y-QHqDQ6DIxy; Wed, 11 Sep 2019 08:57:35 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 0B3F61601EE; Wed, 11 Sep 2019 08:57:35 -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 LlpTE-OuiJgY; Wed, 11 Sep 2019 08:57:34 -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 DC11816016A; Wed, 11 Sep 2019 08:57:34 -0700 (PDT) Subject: Re: [bug-diffutils] bug#37381: [diff] recursive matching: compare symlink targets by default To: Marcel Partap <mpartap@HIDDEN>, 37381 <at> debbugs.gnu.org References: <ca457332-cb8d-a620-2511-6b6db8366004@HIDDEN> From: Paul Eggert <eggert@HIDDEN> Organization: UCLA Computer Science Department Message-ID: <7ce27189-7bc1-1a4c-e7cc-e91fd9a575ea@HIDDEN> Date: Wed, 11 Sep 2019 08:57:34 -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: <ca457332-cb8d-a620-2511-6b6db8366004@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37381 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) On 9/11/19 8:30 AM, Marcel Partap wrote: > Dear diff devs, > when recursively comparing directory trees that contain unresolvable symlinks, both matching symlinks make diff senselessly emit a "No such file or directory". Wouldn't it be better if diff'ing two perfectly symmetrical dir trees containing the same broken symlinks would produce no output and a 0 return value? Yes, there should be an option to do that, and it should be enabled by default (unless POSIXLY_CORRECT is set).
bug-diffutils@HIDDEN
:bug#37381
; Package diffutils
.
Full text available.Received: (at submit) by debbugs.gnu.org; 11 Sep 2019 15:30:49 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 11 11:30:49 2019 Received: from localhost ([127.0.0.1]:42618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1i84a1-0000LZ-ID for submit <at> debbugs.gnu.org; Wed, 11 Sep 2019 11:30:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:33111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mpartap@HIDDEN>) id 1i84Zz-0000LR-8g for submit <at> debbugs.gnu.org; Wed, 11 Sep 2019 11:30:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55898) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <mpartap@HIDDEN>) id 1i84Zw-0000lP-Uh for bug-diffutils@HIDDEN; Wed, 11 Sep 2019 11:30:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM, SPOOFED_FREEMAIL autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <mpartap@HIDDEN>) id 1i84Zu-000358-T0 for bug-diffutils@HIDDEN; Wed, 11 Sep 2019 11:30:44 -0400 Received: from mout.gmx.net ([212.227.15.19]:51767) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <mpartap@HIDDEN>) id 1i84Zt-0002wx-3B for bug-diffutils@HIDDEN; Wed, 11 Sep 2019 11:30:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1568215835; bh=qJZPb0PEfDE8rZNLQExM1tL273nSbB8EI4Iesi9uzKw=; h=X-UI-Sender-Class:To:From:Subject:Date; b=JjmkB8wmsqJtwl08Bb3tnaRaZi/Y+ekyzR2jfjZ5biXn0Bo8pIZ6QPlMSqJaIQzD/ rsSMNhWo5wbp+f93qqj8QvmL4Ihnn/3cLb1rNfhVIfMMCcbmGMWby1/pXe+zxFuvW0 Q27DrL+uBdq20Ebon9CQalCOuIWJ8/Pm/STvhJjc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.201] ([86.56.11.158]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MKbgE-1hpSKM3Xem-00KxNj for <bug-diffutils@HIDDEN>; Wed, 11 Sep 2019 17:30:35 +0200 To: bug-diffutils <bug-diffutils@HIDDEN> From: Marcel Partap <mpartap@HIDDEN> Openpgp: id=C4C0E1612096D4093A38ED040F964C6DA90A4BE3; url=http://pgp.mit.edu/pks/lookup?op=get&search=mpartap@HIDDEN Autocrypt: addr=mpartap@HIDDEN; prefer-encrypt=mutual; keydata= mQINBFmPW1YBEAC/z0bdIgu3qRQurUnnNEJRac4w1b+82NiG1r4ELCE5BFLw44YO9l50WCQY GtUFL46jzLVt46kOsQ/qWEzz8Y0BidQH6m3CHj0uPlucbFVj8nxevMCyRTGRkfwE0NV3cJ/5 FWZtd5qF1VS7ZnEKaC8SaV5VIVBxz2ZuU47xbbOmihWsMipI2IkTLWHh6q05h0Zzy/Cf+MfZ NgQxIOTd0oNdhlgpmCvMPyXZm7ONSDEZTmfsAyBYJFKLNokhc5AprHrRh83UuDQiSmuQjIjm 3rJKE80Hx0WchFgBPP+shdAalGSCBDzj52V6xPmLqO58FTofGXNVh4gSa77geFJHTsB1n2mr EmtsH/r43y4QOAFASqAdq0O4QseSUtKhdK/hXG1ZiGiqM6npHwPQRVJLQPvadFS0mmOOti/d RmRnHNNuEVE/LeKbWhr4kZb20fM8Wrt36nkzKlyyXuyXuialP+W9DM15zGZD+dpBonG2aytE 38vctWdmJgGrPCNN3JQIRd7mGVC2sK2me+fJpka/9yTnQzu+e2lfvwuO5Bz6FfTB8RAHUc1J dIXD5p9fv5sf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avxzQ O3TYQybc71WQYyiIXtLp5kVoMb+DXn/HpjNzpARWZ75d6mIEm9VH6p+a7BLb/844ppsF8SwF 22iG1q1YHus4WAEdRKVSW/wQNc9xCPhrSSrGpY9oZVAoNZH60KVh3prBO5+PzKAX6j/ag6Hy nQIdF7WC82jtprQWaVdrhc2ztv5VkxO/bwxQhe6gj9lO5uXmxo6tH9uiRmyF9TfZ9Dn3u2Np CNZKtzt8HcZwLB0CHHGFgMyFOeflLitf2HNy0JYCp6KDbIEbITV1N41AnkCIrkFB6w== Subject: [diff] recursive matching: compare symlink targets by default Message-ID: <ca457332-cb8d-a620-2511-6b6db8366004@HIDDEN> Date: Wed, 11 Sep 2019 17:30:33 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:NM/UPC+h/+7VMXi6Vnvaoz+8A7uk8KJoakfPB/uC5wEcRfnTJKu eEkGzDqRRnBMr3UXPJHTV3R912OdMq0E8xchqQzwZ2DFly20G1VfAnJzG2EhpYkNvClPmji lps8BoxMI9mvmPer+qkd9qWZzy5igpM42XZ33o1/Vip4lfUVjO3P1ozd5TuBG0OLOzBsZ+g p6xyBRIoilbzw3KU84wCQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:br2AHv7SakI=:7EWbhpGlB2Qx2EccXWX7qU kuFGDK9CRWl1PLFcDaZINPxtCVgK4uNzTCl7dZgpqWlOjHThyFk6XGXdNXapWrx+Ur8IcJKG0 pygaXtD9/uJFOL4UBaAempfzSGwvUmKZ7OWLAqNOUZMemEl3dM1dxj9dMhU+QV8WEym8ZkUTv BM/q5jnqbUb6nlZkcxNeIH0ThywJrG+do+cciWhq1RxY7T5FPTeWzY61dqF1f4Eox2vKCjbxo NTH9InGq02s+wTnSRQrHyvTcOqPikpFYyJ04zoQ8+pKi0qeaala9JTvlEVPZZUjI4Si4zjnic mWl6+9mpGoZDmwBcN3Z3m+E11C3HZumjtk66eiEH/udgrsEP8HdEDWGtbvuWjCqk2Pnc1usAD 8VCiUkkkeFQhJrZ8SfEdS8TEzwQEq7f5DPQyZU17P6E7WYOS4o7tB6E0sVUzRmIfWbv9cI1my fQRZL2DmkAdBAyXAM9G6vlm+Tdw5LIHDhI9ggNnMa7BZRgI0afVRrf40Qz+1J3MNwD3C8fOFm 2TS4/GG2xqGRt1yiHUhkqW2qmIVX80r48q1YvuZ+aOpfTwAMgCbBWX/CDP4VyPrZClFZyVCUo CudDJBIH6yjA7Twl3+0NbkqeKV8dCq/cpsfON0qZwDjoyagtLKAUrM/9bCnx5bre50C0OINBg UFdhUQqqlJuJHpJiwEfIwuYTjK/bovcshGkUXM78mRvB0bGbm1GxpMABVwPUz7BTUX/8fYz8w uxgMUmXAA9NsoUE0Iu7cuYoXGJcXNOtVYilVd9HCmk42jl2f2QY87PA5qUIDUmIZQhNqBDQEp ySwEVs8BpQ0OXyWdWdMI+sXELfZ0ImOk6oyJ6pq/dK1/pXRbzPSGj+hh5o606W+syhRMjHw0X XFw+KXw1Z1wiNafE7aPMtsRNfyikeFNbywC3Vro5ovTV5hlciiLEdDjfoEMhwuSCqq+Cn+nNw 3jIDzP//JjklF/U+Wl91IY73dFugk6MtYoNM2a36gngQtGh1wq0RyUVXRaOobKQpeMtSqq41a lcN8RAaASul8G4FetJl7v8rMS6gB1m1PPU5zlTgKiVGZjlsWIvoOQTASKBpaYQ/8STBZC74nU QGLRIZEA0+oHI1Od9aLOBcHQJXP5A8WZI2EPibh6/UU1US+LkMWABIHDh1gw0d9h7GAsWEK0K BB3t7pby9xkZp86utQX11zUZVJGztpZUvlZT+34AMX4WwlypWifkxThLkJumQcPlJ2zOg= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.19 X-Spam-Score: 2.7 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Dear diff devs, when recursively comparing directory trees that contain unresolvable symlinks, both matching symlinks make diff senselessly emit a "No such file or directory". Wouldn't it be better if [...] Content analysis details: (2.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=mpartap%40gmx.net; ip=209.51.188.17; r=debbugs.gnu.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mpartap[at]gmx.net) -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 2.0 PDS_TONAME_EQ_TOLOCAL_SHORT Short body with To: name matches everything in local email 2.0 SPOOFED_FREEMAIL No description available. X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Dear diff devs, when recursively comparing directory trees that contain unresolvable symlinks, both matching symlinks make diff senselessly emit a "No such file or directory". Wouldn't it be better if [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=mpartap%40gmx.net;ip=209.51.188.17;r=debbugs.gnu.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mpartap[at]gmx.net) 2.0 PDS_TONAME_EQ_TOLOCAL_SHORT Short body with To: name matches everything in local email -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 2.0 SPOOFED_FREEMAIL No description available. Dear diff devs, when recursively comparing directory trees that contain unresolvable symlinks, both matching symlinks make diff senselessly emit a "No such file or directory". Wouldn't it be better if diff'ing two perfectly symmetrical dir trees containing the same broken symlinks would produce no output and a 0 return value? Best Regards, Marcel
Marcel Partap <mpartap@HIDDEN>
:bug-diffutils@HIDDEN
.
Full text available.bug-diffutils@HIDDEN
:bug#37381
; Package diffutils
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.