summary refs log tree commit diff
path: root/rt/tst-mqueue7.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-04-19 17:28:57 +0000
committerUlrich Drepper <drepper@redhat.com>2004-04-19 17:28:57 +0000
commit0a901ba456d0a0e6dfd0488b3f20f03d9e103d6f (patch)
treea6297b186f5aecd0a0466f6f44f074c8613c8be2 /rt/tst-mqueue7.c
parent72c41589771584da6693ca8a340a19d1cd6bef06 (diff)
downloadglibc-0a901ba456d0a0e6dfd0488b3f20f03d9e103d6f.tar.gz
glibc-0a901ba456d0a0e6dfd0488b3f20f03d9e103d6f.tar.xz
glibc-0a901ba456d0a0e6dfd0488b3f20f03d9e103d6f.zip
Update.
2004-04-19  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Change EPERM into
	EACCES.
	* rt/Makefile (tests): Add tst-mqueue9.
	* rt/tst-mqueue9.c: New test.
	* rt/tst-mqueue4.c (do_test): Add test for mq_unlink of a too long
	name component.

2004-04-19  Ulrich Drepper  <drepper@redhat.com>

	* rt/tst-mqueue7.c (do_test): Make newargv const.
Diffstat (limited to 'rt/tst-mqueue7.c')
-rw-r--r--rt/tst-mqueue7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/tst-mqueue7.c b/rt/tst-mqueue7.c
index 35fd56df36..34222f8345 100644
--- a/rt/tst-mqueue7.c
+++ b/rt/tst-mqueue7.c
@@ -93,7 +93,7 @@ do_test (int argc, char **argv)
   snprintf (after_exec_arg, sizeof (after_exec_arg),
 	    "--after-exec=0x%lx", (long) q);
 
-  char *newargv[argc + 2];
+  const char *newargv[argc + 2];
   for (int i = 1; i < argc; ++i)
     newargv[i - 1] = argv[i];
   newargv[argc - 1] = "--direct";