]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
fdim.3: BUGS: these functions did not set errno on some architectures
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 23 May 2020 10:01:15 +0000 (12:01 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 25 May 2020 13:46:44 +0000 (15:46 +0200)
The bug was fixed in glibc 2.24.
https://www.sourceware.org/bugzilla/show_bug.cgi?id=6796

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/fdim.3

index 4e70fee7536781bf2b3d9b92bb05aa9109002467..f1531297884bf845d0ca4914c084cda54033be8f 100644 (file)
@@ -61,17 +61,13 @@ when calling these functions.
 The following errors can occur:
 .TP
 Range error: result overflow
-.\" .I errno
-.\" is set to
-.\" .BR ERANGE .
+.I errno
+is set to
+.BR ERANGE .
 An overflow floating-point exception
 .RB ( FE_OVERFLOW )
 is raised.
 .PP
-These functions do not set
-.IR errno .
-.\" FIXME . Is it intentional that these functions do not set errno?
-.\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6796
 .SH VERSIONS
 These functions first appeared in glibc in version 2.1.
 .SH ATTRIBUTES
@@ -90,5 +86,11 @@ T}   Thread safety   MT-Safe
 .TE
 .SH CONFORMING TO
 C99, POSIX.1-2001, POSIX.1-2008.
+.SH BUGS
+Before glibc version 2.24
+.\" https://www.sourceware.org/bugzilla/show_bug.cgi?id=6796
+on certain architectures (e.g., x86, but not x86_64)
+these functions did not set
+.IR errno .
 .SH SEE ALSO
 .BR fmax (3)