mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-31 11:30:56 +08:00
* 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>
|
||||
|
||||
* mmap.cc (mmap): Assign 'fh' from cygheap_fdget. Use 'fh' everywhere.
|
||||
|
@ -242,7 +242,7 @@ class cygheap_fdget : public cygheap_fdmanip
|
||||
{
|
||||
this->fd = -1;
|
||||
if (do_set_errno)
|
||||
set_errno (EBADF + 1);
|
||||
set_errno (EBADF);
|
||||
if (lockit)
|
||||
ReleaseResourceLock (LOCK_FD_LIST, READ_LOCK, "cygheap_fdget");
|
||||
locked = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user