* cygtls.cc (_cygtls::operator HANDLE): Reverse '?' test stupidity.

This commit is contained in:
Christopher Faylor 2012-08-16 19:24:19 +00:00
parent d01efdbe6e
commit 00caa48b91
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-08-16 Christopher Faylor <me.cygwin2012@cgf.cx>
* cygtls.cc (_cygtls::operator HANDLE): Reverse '?' test stupidity.
2012-08-16 Christopher Faylor <me.cygwin2012@cgf.cx>
* cygheap.cc (init_cygheap::find_tls): Don't consider unitialized

View File

@ -226,7 +226,7 @@ public:
void signal_debugger (int) __attribute__ ((regparm(2)));
#ifdef CYGTLS_HANDLE
operator HANDLE () const {return tid ? NULL : tid->win32_obj_id;}
operator HANDLE () const {return tid ? tid->win32_obj_id : NULL;}
#endif
void set_siginfo (struct sigpacket *) __attribute__ ((regparm (3)));
int call_signal_handler () __attribute__ ((regparm (1)));