aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Pero <nicola@brainstorm.co.uk>2001-06-09 18:06:54 +0000
committerOvidiu Predescu <ovidiu@gcc.gnu.org>2001-06-09 18:06:54 +0000
commited459a390f898b3deb080657bbc23fc68c03657c (patch)
tree4ee8227d88fc76330a432e71143c81f68af9dacb
parentabc0360c37b253ec89fe1976cffe76b0fa87f1da (diff)
downloadgcc-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/ChangeLog7
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