diff options
author | Christopher Faylor <me@cgf.cx> | 2013-12-05 19:43:34 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2013-12-05 19:43:34 +0000 |
commit | 09244c002e00fe24571c50d249bc649694fb1837 (patch) | |
tree | e8d67283584d7ad72fac50e7730eb886726b56ec /winsup/cygwin/dtable.h | |
parent | 2f8a6f194746751fbfe8ba2fef483e8bc371ba29 (diff) | |
download | cygnal-09244c002e00fe24571c50d249bc649694fb1837.tar.gz cygnal-09244c002e00fe24571c50d249bc649694fb1837.tar.bz2 cygnal-09244c002e00fe24571c50d249bc649694fb1837.zip |
* cygheap.h (cygheap_fdnew): Avoid setting errno directly since it will have
been set by a previous function.
* dtable.h (dtable::extend): Accept second size_t argument.
* dtable.cc (dtable::extend): Accept second "min" argument which allows
checking for OPEN_MAX_MAX boundary conditions.
(dtable_init): Accommodate second argument to dtable::extend.
(dtable::find_unused_handle): Ditto.
* syscalls.cc (setdtablesize): Ditto.
(dup): Return any error passed by cygheap_fdnew() directly.
(getdtablesize): Just return dtable size directly.
Diffstat (limited to 'winsup/cygwin/dtable.h')
-rw-r--r-- | winsup/cygwin/dtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/dtable.h b/winsup/cygwin/dtable.h index 0ec7b3a75..53ffca3e2 100644 --- a/winsup/cygwin/dtable.h +++ b/winsup/cygwin/dtable.h @@ -52,7 +52,7 @@ public: void vfork_parent_restore (); void vfork_child_fixup (); fhandler_base *dup_worker (fhandler_base *oldfh, int flags); - int extend (size_t howmuch); + int extend (size_t, size_t) __reg3; void fixup_after_fork (HANDLE); void fixup_close (size_t, fhandler_base *); |