summaryrefslogtreecommitdiff
path: root/doc/posix-functions/lstat.texi
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-12-31 13:38:25 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2011-12-31 13:38:50 -0800
commit55c6e4b6fe65fdfd5154228209a5c9828bb8ec9d (patch)
tree34a14a1f5de693a6e567ff4652f9eae6592d9fbe /doc/posix-functions/lstat.texi
parentc8600ac1d7ad136d9f4e71ccea78134d9dbeb55a (diff)
downloadgnulib-55c6e4b6fe65fdfd5154228209a5c9828bb8ec9d.tar.gz
doc: cover st_ino issues once; add OpenVMS etc.
* doc/posix-functions/stat.texi (stat): * doc/posix-functions/lstat.texi (lstat): * doc/posix-functions/fstatat.texi (fstatat): * doc/posix-functions/fstat.texi (fstat): Move general 'struct stat' stuff to sys_stat.texi, leaving behind a pointer. * doc/posix-headers/sys_stat.texi (sys/stat.h): Merge duplicate info about 'struct stat' problems into here. Mention issues with OpenVMS, GNU/Linux NFS, NetApp, ClearCase, and suggest partial workarounds.
Diffstat (limited to 'doc/posix-functions/lstat.texi')
-rw-r--r--doc/posix-functions/lstat.texi12
1 files changed, 1 insertions, 11 deletions
diff --git a/doc/posix-functions/lstat.texi b/doc/posix-functions/lstat.texi
index 8ffa66f5cd..6f5cfc25c2 100644
--- a/doc/posix-functions/lstat.texi
+++ b/doc/posix-functions/lstat.texi
@@ -28,15 +28,5 @@ On Windows platforms (excluding Cygwin), symlinks are not supported, so
Portability problems not fixed by Gnulib:
@itemize
@item
-On Windows platforms (excluding Cygwin), @code{st_ino} is always 0.
-@item
-Because of the definition of @code{struct stat}, it is not possible to
-portably replace @code{stat} via an object-like macro. Therefore,
-expressions such as @code{(islnk ? lstat : stat) (name, buf)} are not
-portable, and should instead be written @code{islnk ? lstat (name,
-buf) : stat (name, buf)}.
-@item
-On some file systems, @code{st_size} contains bogus information for
-symlinks; use the gnulib module areadlink-with-size for a better way
-to get symlink contents.
+@xref{sys/stat.h}, for general portability problems with @code{struct stat}.
@end itemize