Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/semaphore Now that copyinstr() correctly returns e...
details: https://anonhg.NetBSD.org/src/rev/42d4abad99be
branches: trunk
changeset: 758598:42d4abad99be
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Nov 10 11:14:12 2010 +0000
description:
Now that copyinstr() correctly returns error, trim the semaphore
name to fit into SEM_MAX_NAMELEN.
diffstat:
tests/lib/semaphore/sem.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r fb1ddb76fb1c -r 42d4abad99be tests/lib/semaphore/sem.c
--- a/tests/lib/semaphore/sem.c Wed Nov 10 10:07:44 2010 +0000
+++ b/tests/lib/semaphore/sem.c Wed Nov 10 11:14:12 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sem.c,v 1.6 2010/07/03 08:18:30 jmmv Exp $ */
+/* $NetBSD: sem.c,v 1.7 2010/11/10 11:14:12 pooka Exp $ */
/*
* Common code for semaphore tests. This can be included both into
@@ -207,7 +207,7 @@
* Wow, easy naming rules. it's these times i'm really happy i can
* single-step into the kernel.
*/
-#define SEM1 "/my_precious_sem"
+#define SEM1 "/precious_sem"
#define SEM2 "/justsem"
ATF_TC_BODY(named, tc)
{
Home |
Main Index |
Thread Index |
Old Index