On Jan 17 16:16, Christian Franke via Cygwin wrote:
> mq_unlink() does not unlink anything and always returns -1 with errno =
> EPERM.
Yeah, that's a result of commit f2dc492df0f3. I guess checking for
isdevfd_dev() is a bit over the top. Feel free to provide a patch,
otherwise I'll look into it
mq_unlink() does not unlink anything and always returns -1 with errno =
EPERM.
Testcase:
$ uname -r
3.5.5-1.x86_64
$ cat mqunlink.c
#include
#include
#include
int main()
{
const char mq_name[] = "/mqtest";
const struct mq_attr attr = { 0, 10, 42, 0 };
mqd_t mq = mq_open(mq_name, O_RD
2 matches
Mail list logo