David Gibson

Results 166 comments of David Gibson

Oof, yeah, that does look like the site has been compromised. That's pretty worrying, not so much for the site itself, but on account of what else might be compromised...

Wait.. just checked. `ccodearchive.net` expired is no longer the current site for ccan. Looks like it has been taken by someone else who's put a site to resemble the old...

Well, generators *do* fundamentally require coroutines. The `coroutine` module requires `HAVE_UCONTEXT`, so I'm guessing musl-libc isn't supplying that. Fixing that is probably non-trivial.

On Thu, May 11, 2017 at 09:40:28AM -0700, Martin Milata wrote: > Found by gcc: > ``` > base64.c:196:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if...

Ugh, this is a bit of a problem. The bug is real, and the patch does address it, but it's not actualy macro safe. If you had this code: if...

Hrm. That's interesting, I really wish I can some clue as to why that would make a difference. Do you have some more details on how it was failing without...

Well, sure, can you give me a link to the Debian thread?

Hrm. The Debian thread isn't particularly illuminating either, they just state that they replaced the setcontext() and it seemed to start working. It kind of smells like a broken setcontext()...

Ok. The first thing to know is that I wrote generator most to see if I could. I was quite surprised how well it worked out, but I don't know...

Ok. So, the first step is altering generator to use coroutine_stack_alloc() instead of coroutine_stack_init(). The former is safer, more flexible, and if it fails is much more likely to fail...