Port-m68k archive

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

Re: Segfault in lrintf() and similar functions

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

Home | Main Index | Thread Index | Old Index