* cygtls.cc (_cygtls::remove): Clear exitsock after close.
* fhandler_console.cc (fhandler_console::write_normal): Store character in a local variable for potential future inspection.
This commit is contained in:
parent
13505ca8fc
commit
8ad65ff049
|
@ -1,3 +1,9 @@
|
|||
2005-05-10 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* cygtls.cc (_cygtls::remove): Clear exitsock after close.
|
||||
* fhandler_console.cc (fhandler_console::write_normal): Store character
|
||||
in a local variable for potential future inspection.
|
||||
|
||||
2005-05-10 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* Makefile.in (DLL_OFILES): Add fhandler_mailslot.o.
|
||||
|
|
|
@ -167,10 +167,13 @@ _cygtls::remove (DWORD wait)
|
|||
return;
|
||||
if (wait)
|
||||
{
|
||||
// FIXME: Need some sort of atthreadexit function to allow things like
|
||||
// select to control this themselves
|
||||
/* FIXME: Need some sort of atthreadexit function to allow things like
|
||||
select to control this themselves. */
|
||||
if (locals.exitsock != INVALID_SOCKET)
|
||||
closesocket (locals.exitsock);
|
||||
{
|
||||
closesocket (locals.exitsock);
|
||||
locals.exitsock = NULL;
|
||||
}
|
||||
free_local (process_ident);
|
||||
free_local (ntoa_buf);
|
||||
free_local (protoent_buf);
|
||||
|
|
|
@ -1430,7 +1430,8 @@ fhandler_console::write_normal (const unsigned char *src,
|
|||
|
||||
while (found < end)
|
||||
{
|
||||
if (base_chars[*found] != NOR)
|
||||
char ch = base_chars[*found];
|
||||
if (ch != NOR)
|
||||
break;
|
||||
found++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue