svn commit: r216197 - head/usr.bin/stat

Doug Barton dougb at FreeBSD.org
Sun Dec 5 09:35:08 UTC 2010


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


More information about the svn-src-all mailing list