Re: Octave 6.0.90 test release available on alpha.gnu.org
Markus Mützel <[email protected]>
| Newsgroups | gmane.comp.gnu.octave.maintainers |
|---|---|
| Message-ID | <trinity-6c0090d0-9aa2-4b9e-958d-ae7f5afb91f9-1599219215943@3c-app-gmx-bap36> |
Am 03. September 2020 um 23:25 Uhr schrieb "Rik" <[email protected]> > On 09/03/2020 09:00 AM, [email protected][mailto:[email protected]] wrote: > > Should that be "if (isunix ())" or "if (! ismac () && ! ispc ())"? > > As remarked above, it should be the second formulation. isunix() isn't good enough because mingw or cygwin (I can't remember which) will return true because they emulate a POSIX UNIX system, but because it is using native Windows math libraries it will exhibit the same flaws as if it were a PC platform. So, what we really have to do is ensure that ispc() is false and ismac() is false. It looks like it was me who provided the patch that introduced that error here: https://savannah.gnu.org/bugs/?53490 I hope it is fixed with this change: https://hg.savannah.gnu.org/hgweb/octave/rev/22a85c6c1de7 Markus