gthr-posix.h (__gthread_objc_init_thread_system): If pthread_key_create fails, it...
authorNicola Pero <nicola@brainstorm.co.uk>
Sat, 9 Jun 2001 18:06:54 +0000 (18:06 +0000)
committerOvidiu Predescu <ovidiu@gcc.gnu.org>
Sat, 9 Jun 2001 18:06:54 +0000 (18:06 +0000)
commited459a390f898b3deb080657bbc23fc68c03657c
tree4ee8227d88fc76330a432e71143c81f68af9dacb
parentabc0360c37b253ec89fe1976cffe76b0fa87f1da
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
gcc/ChangeLog