Re: Segfault in lrintf() and similar functions

Frank Wille <[email protected]>
Newsgroups gmane.os.netbsd.ports.m68k
Organization Privates Internet Ostwestfalen/Lippe e.V.
Message-ID <[email protected]>
Martin Husemann wrote:

> On Sat, Sep 09, 2017 at 06:20:16PM +0200, Frank Wille wrote:
>>  {
>>         fexcept_t __fpcr, __fpsr;
>>  
>> -       __fgetenv(__envp);
>> +       __fgetenv(*__envp);
>
> Wouldn't it be better to fix __fgetenv ?

Yes. That was also my first attempt. But fesetenv() in fenv.h is currently
using the __fgetenv/__fsetenv macros correctly and would no longer compile
after such a modification.

-- 
Frank Wille
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.