IRC channel logs

2025-10-01.log

back to list of logs

<gnucode>morning friends!
<Scissors>greetings! there is a strange line, hurd-0.9/auth/auth.c : (line 91): #define C(auth, ids) idvec_copyout (&auth->ids, ids, n##ids) ; how this n##ids works?
<nikolar>basically it takes ids as teh macro paramter and concatenates it to n
<nikolar>so if it was C(whatever, 123), it would turn into n123
<Scissors>nikolar: thank you!
<nikolar>you're welcome
<Scissors>nikolar: but function expect size_t *nids; does it mean, that, in your example, it will get address of n123? Such as &n123?
<nikolar>no, you just get the identifier n123
<nikolar>it doesn't magically insert & in front of it
<Scissors>thanks, and sorry for silly question!
<nikolar>Scissors: if you intend on actually contributing
<nikolar>it would be better to first learn c
<azeem>vmstat-hurd print "/servers/default-pager: Translator died" four times for me, is that just me or everybody?
<youpi>when you don't have swap, that's expected
<youpi>you don't have a default pager
<azeem>ah right
<azeem>it's a bit ugly though :)
<youpi>but normally nowadys swap should work
<azeem>the 2025 amd64 image doesn't have swap configured IIRC
<youpi>yes, it was not fixed at the time