diff options
author | bje <bje> | 1998-10-04 19:38:04 +0000 |
---|---|---|
committer | bje <bje> | 1998-10-04 19:38:04 +0000 |
commit | 11b839f08794de0d090811580a09aa6db5b21f2c (patch) | |
tree | c41469a1ba35d67bb40fbf32d480a5b2c5533420 /misc.c | |
parent | 0477632dbe94f378853364cd868cc0f800cb5755 (diff) |
1998-10-05 Ben Elliston <bje@cygnus.com>
* 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.
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -63,5 +63,5 @@ pthread_self(void) int pthread_equal(pthread_t t1, pthread_t t2) { - return (t1 != t2); + return (t1 == t2); } |