From a081562566a9e858342b83eef2f5e5dd24078e7a Mon Sep 17 00:00:00 2001 From: ovidiu Date: Sat, 9 Jun 2001 18:06:54 +0000 Subject: [PATCH] 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43092 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 12f8649..71a20f8 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.7.4