From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 18 17:39:49 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5336716A4E5 for ; Fri, 18 Aug 2006 17:39:49 +0000 (UTC) (envelope-from mitchell@cloudynwuk.force9.co.uk) Received: from ptb-relay02.plus.net (ptb-relay02.plus.net [212.159.14.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCC1043D70 for ; Fri, 18 Aug 2006 17:39:48 +0000 (GMT) (envelope-from mitchell@cloudynwuk.force9.co.uk) Received: from [81.174.214.211] (helo=[81.174.214.211]) by ptb-relay02.plus.net with esmtp (Exim) id 1GE8Ju-0005NV-Jl for freebsd-hackers@freebsd.org; Fri, 18 Aug 2006 18:39:47 +0100 Received: from 127.0.0.1 (AVG SMTP 7.1.405 [268.11.3/423]); Fri, 18 Aug 2006 18:39:45 +0100 Message-ID: <000001c6c2ed$4b32dca0$d3d6ae51@hal> From: "Frank Mitchell" To: Date: Fri, 18 Aug 2006 17:38:33 +0100 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=iso-8859-1 Subject: Diff & Symlinks X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Aug 2006 17:39:49 -0000 Diff with Symlinks happens to be very convenient for me. The implementation is probably a consequence of how some standard Unix Systems Command works. But obviously it would be an idea to switch it off by default, while leaving the user with the existing option. Another issue would be getting Recursive diff to work for Non-Root users without being needlessly obstructed by Permissions. Faictz Ce Que Vouldras: Frank Mitchell ================================================ Jin Guojun wrote: I do not know what is the historical reason for program "diff" to follow a symbolic link during the recursive diff (-r), but it seems not to be a proper implementation. So, we need to either disable recursive diff to follow the symlink, or we need a switch (option) to enable following symlink feature in recursive comparison of diff when a user real needs it. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.3/423 - Release Date: 18/08/2006