Update.
* rt/tst-mqueue3.c (do_test): Cope with kernel without mq support.
This commit is contained in:
parent
b575c52b86
commit
edb4d496a8
|
@ -1,5 +1,7 @@
|
||||||
2004-04-16 Ulrich Drepper <drepper@redhat.com>
|
2004-04-16 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* rt/tst-mqueue3.c (do_test): Cope with kernel without mq support.
|
||||||
|
|
||||||
* sysdeps/ieee754/bits/nan.h (__nan_union): Add __attribute_used__
|
* sysdeps/ieee754/bits/nan.h (__nan_union): Add __attribute_used__
|
||||||
attribute to keep gcc quiet.
|
attribute to keep gcc quiet.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
2004-04-16 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Fix last patch.
|
||||||
|
|
||||||
2004-04-13 Jakub Jelinek <jakub@redhat.com>
|
2004-04-13 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/mq_notify.c: Shut up GCC warning.
|
* sysdeps/unix/sysv/linux/mq_notify.c: Shut up GCC warning.
|
||||||
|
|
|
@ -165,6 +165,12 @@ do_test (void)
|
||||||
m = mq_open (mqname, O_CREAT | O_EXCL | O_RDWR, 0600, &attr);
|
m = mq_open (mqname, O_CREAT | O_EXCL | O_RDWR, 0600, &attr);
|
||||||
if (m == -1)
|
if (m == -1)
|
||||||
{
|
{
|
||||||
|
if (errno == ENOSYS)
|
||||||
|
{
|
||||||
|
puts ("not implemented");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
puts ("mq_open failed");
|
puts ("mq_open failed");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue