Rob Browning writes:
> SCM_LOCKED_SYSCALL(&scm_i_misc_mutex, global_name = ttyname (fd));
Forgot to put the strcpy inside the SCM_LOCKED_SYSCALL...
--
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11
From: "Maxime Devos"
> I’ve seen do { body; } while (0) in some places (albeit not in
SCM_SYSCALL), which you might want investigate and maybe copy (instead
of the { body; }), but I don’t know what the purpose of that
construct is.It's a way of turning a block into a statement. So you
can
>I suppose something like this might serve as a generalization: […]
I’ve seen do { body; } while (0) in some places (albeit not in SCM_SYSCALL),
which you might want investigate and maybe copy (instead of the { body; }), but
I don’t know what the purpose of that construct is.
Otherwise (with th