Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Dec 2010 09:35:08 +0000 (UTC)
From:      Doug Barton <dougb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216197 - head/usr.bin/stat
Message-ID:  <201012050935.oB59Z8mD081735@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012050935.oB59Z8mD081735>