From owner-svn-src-head@FreeBSD.ORG Sun Dec 5 09:35:08 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36EFE106566B; Sun, 5 Dec 2010 09:35:08 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 24C4F8FC15; Sun, 5 Dec 2010 09:35:08 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id oB59Z8QR081737; Sun, 5 Dec 2010 09:35:08 GMT (envelope-from dougb@svn.freebsd.org) Received: (from dougb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id oB59Z8mD081735; Sun, 5 Dec 2010 09:35:08 GMT (envelope-from dougb@svn.freebsd.org) Message-Id: <201012050935.oB59Z8mD081735@svn.freebsd.org> From: Doug Barton Date: Sun, 5 Dec 2010 09:35:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r216197 - head/usr.bin/stat X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Dec 2010 09:35:08 -0000 Author: dougb Date: Sun Dec 5 09:35:07 2010 New Revision: 216197 URL: http://svn.freebsd.org/changeset/base/216197 Log: Add my own documentation for the change in our r216196, aka NetBSD's 1.18 For -L if stat(2) fails, fall back to lstat(2). .Dd purposely not bumped because more changes are coming. Modified: head/usr.bin/stat/stat.1 Modified: head/usr.bin/stat/stat.1 ============================================================================== --- head/usr.bin/stat/stat.1 Sun Dec 5 09:33:04 2010 (r216196) +++ head/usr.bin/stat/stat.1 Sun Dec 5 09:35:07 2010 (r216197) @@ -107,6 +107,10 @@ will refer to the target of if file is a symbolic link, and not to .Ar file itself. +If the link is broken or the target does not exist, +fall back on +.Xr lstat 2 +and report information about the link. .It Fl n Do not force a newline to appear at the end of each piece of output. .It Fl q