NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/47333 CVS commit: src/usr.bin/stat
The following reply was made to PR bin/47333; it has been noted by GNATS.
From: "Robert Elz" <kre%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/47333 CVS commit: src/usr.bin/stat
Date: Sat, 3 May 2025 21:00:58 +0000
Module Name: src
Committed By: kre
Date: Sat May 3 21:00:58 UTC 2025
Modified Files:
src/usr.bin/stat: stat.1
Log Message:
PR bin/47333
Note that -L will fall back to use lstat() if the stat() requested
returns ENOENT (if the following lstat() fails, the ENOENT from
the lstat() is returned - that generally indicates that the original
ENOENT came from the filename passed to stat() rather than the
value of the symlink. (The man page doesn't say all of that.)
If "stat -L name" returns data from a symlink (eg: if -f %T is @)
then name must refer to a symlink which points to nothing.
(The man page does say that.)
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/usr.bin/stat/stat.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index