* cygtls.cc (_cygtls::remove): Free process_ident, if it exists.
* errno.cc (errmap): ERROR_DISK_CORRUPT -> EIO.
This commit is contained in:
parent
e967098660
commit
9d387e73b8
|
@ -1,3 +1,9 @@
|
|||
2005-03-15 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* cygtls.cc (_cygtls::remove): Free process_ident, if it exists.
|
||||
|
||||
* errno.cc (errmap): ERROR_DISK_CORRUPT -> EIO.
|
||||
|
||||
2005-03-11 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* path.h (pathconv_arg): Define PC_NO_ACCESS_CHECK.
|
||||
|
|
|
@ -12,6 +12,7 @@ details. */
|
|||
#include "assert.h"
|
||||
#include <syslog.h>
|
||||
#include <signal.h>
|
||||
#include <malloc.h>
|
||||
#include "exceptions.h"
|
||||
#include "sync.h"
|
||||
#include "cygerrno.h"
|
||||
|
@ -158,6 +159,8 @@ _cygtls::remove (DWORD wait)
|
|||
// select to control this themselves
|
||||
if (locals.exitsock != INVALID_SOCKET)
|
||||
closesocket (locals.exitsock);
|
||||
if (locals.process_ident != NULL)
|
||||
free (locals.process_ident);
|
||||
do
|
||||
{
|
||||
sentry here (wait);
|
||||
|
|
|
@ -123,6 +123,7 @@ static NO_COPY struct
|
|||
X (IO_PENDING, EAGAIN),
|
||||
X (TOO_MANY_LINKS, EMLINK),
|
||||
X (PROC_NOT_FOUND, ESRCH),
|
||||
X (ERROR_DISK_CORRUPT, EIO),
|
||||
{ 0, NULL, 0}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue