Bug 21169 - stat(2) manpage falsely claims S_ISLNK is POSIX
stat(2) manpage falsely claims S_ISLNK is POSIX
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: man-pages (Show other bugs)
6.0
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
Wil Harris
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-11-21 05:12 EST by iwi
Modified: 2007-04-18 12:29 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-11-21 05:12:57 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description iwi 2000-11-21 05:12:55 EST
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 15:31:10 EST
Fixed in man-pages-1.31-4, which should make it to Rawhide some day. Thanks for
the report, I'll upstream the patch.

Note You need to log in before you can comment on or make changes to this bug.