Ilja Booij wrote:

If you think compiler macros are elegant, then the elegant solution is here. :)

I've added a macro MOD(x,y) to pipe.c which calculates the modulo of x with respect y. It also works when x is negative.

Oh, and of course, the ringbuf stuff seems to work now. Now more errors about using unitialised values from Valgrind :), and I don't experience any lock ups wrt delivery.

I've been able to send myself a message with a NULL character this morning :)
Let's see what the message and the logs look like :)


Ilja

Reply via email to