From ed459a390f898b3deb080657bbc23fc68c03657c Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Sat, 9 Jun 2001 18:06:54 +0000 Subject: [PATCH] gthr-posix.h (__gthread_objc_init_thread_system): If pthread_key_create fails, it's not clear what the return value is. 2001-06-09 Nicola Pero * gthr-posix.h (__gthread_objc_init_thread_system): If pthread_key_create fails, it's not clear what the return value is. This obvious fix makes sure it always returns -1 if a problem occurs. From-SVN: r43092 --- gcc/ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 12f8649657b..71a20f8adcd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2001-06-09 Nicola Pero + + * gthr-posix.h (__gthread_objc_init_thread_system): If + pthread_key_create fails, it's not clear what the return value is. + This obvious fix makes sure it always returns -1 if a problem + occurs. + 2001-06-09 Joseph S. Myers * doc/gcc.texi: Use @defcodeindex for the index of options. Add -- 2.30.2