* cygheap.h (cygheap_fdget::cygheap_fdget): Remove debugging operation from
set_errno.
This commit is contained in:
parent
5a23087628
commit
2ac3bab68d
@ -1,3 +1,8 @@
|
|||||||
|
2001-10-16 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* cygheap.h (cygheap_fdget::cygheap_fdget): Remove debugging operation
|
||||||
|
from set_errno.
|
||||||
|
|
||||||
2001-10-16 Christopher Faylor <cgf@redhat.com>
|
2001-10-16 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* mmap.cc (mmap): Assign 'fh' from cygheap_fdget. Use 'fh' everywhere.
|
* mmap.cc (mmap): Assign 'fh' from cygheap_fdget. Use 'fh' everywhere.
|
||||||
|
@ -242,7 +242,7 @@ class cygheap_fdget : public cygheap_fdmanip
|
|||||||
{
|
{
|
||||||
this->fd = -1;
|
this->fd = -1;
|
||||||
if (do_set_errno)
|
if (do_set_errno)
|
||||||
set_errno (EBADF + 1);
|
set_errno (EBADF);
|
||||||
if (lockit)
|
if (lockit)
|
||||||
ReleaseResourceLock (LOCK_FD_LIST, READ_LOCK, "cygheap_fdget");
|
ReleaseResourceLock (LOCK_FD_LIST, READ_LOCK, "cygheap_fdget");
|
||||||
locked = false;
|
locked = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user