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
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
System: NetBSD 6.99.28 NetBSD 6.99.28 (KVOTHE) #22: Tue Dec 24 
15:28:05 CET 2013 
Architecture: x86_64
Machine: amd64
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.
Compile code using readlink(2) while defining -D_POSIX_C_SOURCE=200112L.
Language lawyering needed first.


Home | Main Index | Thread Index | Old Index