From 1fc00c1bd7e0da3183e7e3bbede72568201b7cbe Mon Sep 17 00:00:00 2001 From: dougb Date: Sun, 5 Dec 2010 09:35:07 +0000 Subject: 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. --- usr.bin/stat/stat.1 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'usr.bin/stat') diff --git a/usr.bin/stat/stat.1 b/usr.bin/stat/stat.1 index 8bbdda4..0ae0b7c 100644 --- a/usr.bin/stat/stat.1 +++ b/usr.bin/stat/stat.1 @@ -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 -- cgit v1.1