Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-02-07 09:15:10 +0300
committerChristopher Faylor <me@cgf.cx>2003-02-07 09:15:10 +0300
commitbc5b63edab6415566ae8085c10014312d722b0dd (patch)
tree82cd6187d913b81c19a8494a68b2c22f250be7c3 /winsup/cygwin/pipe.cc
parent44a30b45104e6198875176d9ca742a4c6ca527a5 (diff)
* malloc.cc (DEFAULT_MMAP_THRESHOLD): Set high to avoid mmaps.
* pipe.cc (fhandler_pipe::close): Avoid extraneous this->.
Diffstat (limited to 'winsup/cygwin/pipe.cc')
-rw-r--r--winsup/cygwin/pipe.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/pipe.cc b/winsup/cygwin/pipe.cc
index 05b6c6f1d..f131fd43f 100644
--- a/winsup/cygwin/pipe.cc
+++ b/winsup/cygwin/pipe.cc
@@ -86,6 +86,7 @@ fhandler_pipe::read (void *in_ptr, size_t& in_len)
int fhandler_pipe::close ()
{
int res = fhandler_base::close ();
+#undef guard
if (guard)
CloseHandle (guard);
if (writepipe_exists)