Skip to contentSkip to conversation

New: drand48() unduely declared obsolete

Bug 84901 bugzilla-daemon-590EEB7GvNiWaY/[email protected] 1 participant 2 messages Sep 21, 2014 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=84901

Bug ID: 84901
Summary: drand48() unduely declared obsolete
Product: Documentation
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: man-pages
Assignee: documentation_man-pages-ztI5WcYan/[email protected]
Reporter: nyh-TS7m/[email protected]
Regression: No

The drand48() manual page ends with a note:

"These functions are declared obsolete by SVID 3, which states that rand(3) should be used instead."

The unsuspecting reader will see this, and think that these are obsolete functions he shouldn't use. But he most likely not know that "SVID 3" referred here is actually a document written 25 years ago, in 1989 (!), for SVr4. He will not know that Posix that came more than 10 years later did not call this function obsolete, and that till this day, it is not considered obsolete by Posix (see
http://pubs.opengroup.org/onlinepubs/9699919799/functions/drand48.html).

So I think this statement about SVID 3 should be dropped. Or, if for some reason you want to keep it, at least add a clarification that this was in 1989 and standards that followed it do not consider these functions obsolete.

Thanks!

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw

[Bug 84901] drand48() unduely declared obsolete

In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=84901

Michael Kerrisk <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
         Resolution|---                         |OBSOLETE
             Status|NEW                         |RESOLVED

--- Comment #1 from Michael Kerrisk <[email protected]> --- Hello Nadav Har'El,

This was just fixed in the latest man-pages release, after this report:
http://bugs.debian.org/758293

Thanks anyway for the report.

Michael

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html