diff options
author | Nicola Pero <nicola@brainstorm.co.uk> | 2001-06-09 18:06:54 +0000 |
---|---|---|
committer | Ovidiu Predescu <ovidiu@gcc.gnu.org> | 2001-06-09 18:06:54 +0000 |
commit | ed459a390f898b3deb080657bbc23fc68c03657c (patch) | |
tree | 4ee8227d88fc76330a432e71143c81f68af9dacb | |
parent | abc0360c37b253ec89fe1976cffe76b0fa87f1da (diff) | |
download | gcc-ed459a390f898b3deb080657bbc23fc68c03657c.zip gcc-ed459a390f898b3deb080657bbc23fc68c03657c.tar.gz gcc-ed459a390f898b3deb080657bbc23fc68c03657c.tar.bz2 |
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 <nicola@brainstorm.co.uk>
* 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
-rw-r--r-- | gcc/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
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 <nicola@brainstorm.co.uk> + + * 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 <jsm28@cam.ac.uk> * doc/gcc.texi: Use @defcodeindex for the index of options. Add |