public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/4368] New: bad documentation in stdlib.h
@ 2007-04-15 15:44 madcoder at debian dot org
2007-04-17 18:36 ` [Bug libc/4368] " drepper at redhat dot com
2007-07-12 15:10 ` cvs-commit at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: madcoder at debian dot org @ 2007-04-15 15:44 UTC (permalink / raw)
To: glibc-bugs
in stdlib.h we read:
/* Return the canonical absolute name of file NAME. The last file name
component need not exist, and may be a symlink to a nonexistent file.
If RESOLVED is null, the result is malloc'd; otherwise, if the canonical
name is PATH_MAX chars or more, returns null with `errno' set to
ENAMETOOLONG; if the name fits in fewer than PATH_MAX chars, returns the
name in RESOLVED. */
extern char *realpath (__const char *__restrict __name,
char *__restrict __resolved) __THROW __wur;
the part about "The last file name component need not exist, and may be a
symlink to a nonexistent file" is wrong twice as:
* it does not describe how the libc performs ;
* it does not conforms to POSIX either.
I suggest this sentence to be removed from stdlib.h.
--
Summary: bad documentation in stdlib.h
Product: glibc
Version: unspecified
Status: NEW
Severity: minor
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: madcoder at debian dot org
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=4368
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-07-12 15:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-15 15:44 [Bug libc/4368] New: bad documentation in stdlib.h madcoder at debian dot org
2007-04-17 18:36 ` [Bug libc/4368] " drepper at redhat dot com
2007-07-12 15:10 ` cvs-commit at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).