diff options
author | Christopher Faylor <me@cgf.cx> | 2001-10-16 18:43:36 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-10-16 18:43:36 +0400 |
commit | 2ac3bab68da7a1ec4fc4f71172677c6d30053636 (patch) | |
tree | fc8a02ee5cff4be782e73e9b17e3a4e3b93fe361 /winsup | |
parent | 5a23087628d97436694f92a3a467523fe9870f76 (diff) |
* cygheap.h (cygheap_fdget::cygheap_fdget): Remove debugging operation from
set_errno.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/cygheap.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index c23c8dfd3..d9847efa7 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,10 @@ 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. 2001-10-15 Christopher Faylor <cgf@redhat.com> diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h index 5fb4b8ecd..7f0f04f11 100644 --- a/winsup/cygwin/cygheap.h +++ b/winsup/cygwin/cygheap.h @@ -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; |