From: Nicola Pero Date: Sat, 9 Jun 2001 18:06:54 +0000 (+0000) Subject: gthr-posix.h (__gthread_objc_init_thread_system): If pthread_key_create fails, it... X-Git-Tag: prereleases/libstdc++-3.0.95~3907 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ed459a390f898b3deb080657bbc23fc68c03657c;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 12f8649657ba..71a20f8adcd6 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