From 11b839f08794de0d090811580a09aa6db5b21f2c Mon Sep 17 00:00:00 2001 From: bje Date: Sun, 4 Oct 1998 19:38:04 +0000 Subject: 1998-10-05 Ben Elliston * misc.c (pthread_equal): Correct inverted logic bug. * tests/create1.c: New file; test pthread_create(). Passes. * tests/equal.c: Poor test; remove. * tests/equal1.c New file; test pthread_equal(). Passes. --- misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc.c') diff --git a/misc.c b/misc.c index 2408af1..eebebae 100644 --- a/misc.c +++ b/misc.c @@ -63,5 +63,5 @@ pthread_self(void) int pthread_equal(pthread_t t1, pthread_t t2) { - return (t1 != t2); + return (t1 == t2); } -- cgit v1.2.3