Tue 24 Jul 2001 02:28:00 PM Trevor Forbes <t4bs@hotmail.com>
* thread.cc (verifyable_object_isvalid): Don't validate PTHREAD_MUTEX_INITIALIZER pointer as it will cause an exception in IsBadWritePtr() when running GDB.
This commit is contained in:
parent
09ff05f7f9
commit
811bf2902d
|
@ -1,3 +1,9 @@
|
|||
Tue 24 Jul 2001 02:28:00 PM Trevor Forbes <t4bs@hotmail.com>
|
||||
|
||||
* thread.cc (verifyable_object_isvalid): Don't validate
|
||||
PTHREAD_MUTEX_INITIALIZER pointer as it will cause an exception
|
||||
in IsBadWritePtr() when running GDB.
|
||||
|
||||
Wed 25 Jul 2001 23:46:00 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* localtime.c: Changed whole file to become C++ clean. Rename to
|
||||
|
|
|
@ -747,7 +747,7 @@ check_valid_pointer (void *pointer)
|
|||
int
|
||||
verifyable_object_isvalid (verifyable_object * object, long magic)
|
||||
{
|
||||
if (!object)
|
||||
if (!object || object == PTHREAD_MUTEX_INITIALIZER)
|
||||
return 0;
|
||||
if (check_valid_pointer (object))
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue