Bug 21169

Summary: stat(2) manpage falsely claims S_ISLNK is POSIX
Product: [Retired] Red Hat Linux Reporter: iwi
Component: man-pagesAssignee: Trond Eivind Glomsrxd <teg>
Status: CLOSED RAWHIDE QA Contact: Wil Harris <wil>
Severity: low Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-11-21 10:12:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description iwi 2000-11-21 10:12:55 UTC
The stat(2) manpage implies that S_ISLNK is a POSIX macro.

In fact, it seems to be a GNU extension.

    http://www.linuxbase.org/spec/libref.html

(and likewise S_ISSOCK)

This caused me to develop code on a RedHat machine, which
then turned out not to port cleanly to other systems.

Comment 1 Trond Eivind Glomsrxd 2000-11-21 20:31:10 UTC
Fixed in man-pages-1.31-4, which should make it to Rawhide some day. Thanks for
the report, I'll upstream the patch.