Re: math_error.7 draft 4, for review

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 25, 2008 at 11:30 AM, Andreas Jaeger <aj@xxxxxxxxxx> wrote:
> "Michael Kerrisk" <mtk.manpages@xxxxxxxxxxxxxx> writes:
>
>> [CC+= Andries]
>>
>> On Mon, Jul 21, 2008 at 12:23 PM, Michael Kerrisk
>> <mtk.manpages@xxxxxxxxxxxxxx> wrote:
>>> [Ooops -- wrong list CCed on previous mail; and this time, I'll update
>>> the draft number]
>>>
>>> Andreas,
>>>
>>> The latest version of the page is below.
>
> This one looked ok to me,

Thanks Andreas.

So I've been testing all of the math functions lately (on glibc 2.8),
and I discover the following:

a) on error, many functions set errno AND raise an exception (fetestexcept()).
b) on error, a few functions set errno but DON"T raise an exception
(fetestexcept()).
c) on error, a few functions DON'T set errno BUT DO raise an exception
(fetestexcept()).
d) on error, a very few functions pursue a mixture of all of the
above, depending on the error.

My math_error.7 page currently implies that all functions should do
a).  Clearly I'll need to amend that.

But the main question is, should I raise a pile of glibc bugs for the
functions in cases b), c), and d)?

Cheers,

Michael
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux