NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/48491: readlink(2) vs. POSIX
>Number: 48491
>Category: lib
>Synopsis: readlink(2) vs. POSIX
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 02 22:45:00 +0000 2014
>Originator: Thomas Klausner
>Release: NetBSD 6.99.28
>Organization:
Curiosity is the very basis of education and if you tell me that
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
>Environment:
System: NetBSD yt.nih.at 6.99.28 NetBSD 6.99.28 (KVOTHE) #22: Tue Dec 24
15:28:05 CET 2013
wiz%yt.nih.at@localhost:/archive/foreign/src/sys/arch/amd64/compile/obj/KVOTHE
amd64
Architecture: x86_64
Machine: amd64
>Description:
When compiling software with -D_POSIX_C_SOURCE=200112L, readlink(2) is hidden.
The NetBSD man page says, however:
The readlink() function conforms to IEEE Std 1003.1-2001 (``POSIX.1'').
This looks like a bug to me, either in documentation or header files.
>How-To-Repeat:
Compile code using readlink(2) while defining -D_POSIX_C_SOURCE=200112L.
>Fix:
Language lawyering needed first.
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index