about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-04-16 22:28:50 +0000
committerUlrich Drepper <drepper@redhat.com>2004-04-16 22:28:50 +0000
commitedb4d496a81637e9232301fe89086f164327f74a (patch)
tree4e8fe0ee0bc247cd7ae918d45f8323849eb5c6b3
parentb575c52b86fe0c00adec925e356eb72cf95b23a7 (diff)
downloadglibc-edb4d496a81637e9232301fe89086f164327f74a.tar.gz
glibc-edb4d496a81637e9232301fe89086f164327f74a.tar.xz
glibc-edb4d496a81637e9232301fe89086f164327f74a.zip
Update.
	* rt/tst-mqueue3.c (do_test): Cope with kernel without mq support.
-rw-r--r--ChangeLog2
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--rt/tst-mqueue3.c6
3 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 88c6c34e22..8c1a32149e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 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__
 	attribute to keep gcc quiet.
 
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 1a04804b91..e0ab2c2bc7 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -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>
 
 	* sysdeps/unix/sysv/linux/mq_notify.c: Shut up GCC warning.
diff --git a/rt/tst-mqueue3.c b/rt/tst-mqueue3.c
index 021a373e5e..990e05728f 100644
--- a/rt/tst-mqueue3.c
+++ b/rt/tst-mqueue3.c
@@ -165,6 +165,12 @@ do_test (void)
   m = mq_open (mqname, O_CREAT | O_EXCL | O_RDWR, 0600, &attr);
   if (m == -1)
     {
+      if (errno == ENOSYS)
+	{
+	  puts ("not implemented");
+	  return 0;
+	}
+
       puts ("mq_open failed");
       return 1;
     }