Alice R.

Results 60 comments of Alice R.

I can confirm that both of these issues (`poll` may wait for the entire timeout; `getsockopt` returns -26 and requires that `connect` `EISCONN` workaround hack) still exist in libctru 2.0.0-2.

Yes. For reference, here's [the connection code in question](https://github.com/AliceLR/megazeux/blob/63e25a9c5f6407817e372f5ab8a059f026f4f8e8/src/network/Host.cpp#L489) (note anything that's `Socket::` is a thin wrapper around a standard BSD sockets function in this case) and [the poll function...

I took a look at ftpd and it looks like it's using `poll` in a loop with a fixed 100ms timeout, which might be why there aren't any noticeable issues....

The same loop can get stuck following the branch that uses `TINFL_HUFF_DECODE` at line 418: [miniz_code_len_0b.zip](https://github.com/richgel999/miniz/files/8093288/miniz_code_len_0b.zip)

That is good to know. I just tried a similar test in ProTracker v2.3d and I got the same result as in ProTracker 3 (though I found two versions called...

My take on this: it's a fairly absurd amount of work to make sure some module formats are supported correctly (see: #18 #23 #25 #37) and MikMod has deficiencies in...

> I don't think adding any new features to mikmod makes sense at this point without a serious rewrite because the library itself is already stuck in the past -...

I haven't thoroughly checked this patch (or the Farandole Composer patch) yet but I think pulling in libm and/or using floating point math in MikMod is not a very good...

I still think a numerical approximation could be used here depending on the domain of this function. I haven't looked close enough at it, sorry. I will get back to...

Sorry for the delay (again). The linear interpolant used in the original code is fundamentally correct but, like many other things in MikMod, was implemented in a totally baffling and...