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>2012-02-01 03:52:52 +0400
committerChristopher Faylor <me@cgf.cx>2012-02-01 03:52:52 +0400
commitd3cb1dffefe964ae9bfd4a47a8075c2b3ecfd27f (patch)
treefb72d9dadd6a25249cb61e95d0f37ede32cd8510 /winsup/cygwin/syscalls.cc
parent37fbb8a7417433a309e3dbe5af7315726fb3a17a (diff)
* syscalls.cc (dup3): Fix debug typo.
* fhandler.cc (flush_async_io): Assume only called for writer. Call GetOverlappedResult directly rather than kluding call to has_ongoing_io. (fhandler_base_overlapped::close): Only start flush thread when closing write handle. Only cancel I/O when reading.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r--winsup/cygwin/syscalls.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc
index 384319231..4ff64a3e3 100644
--- a/winsup/cygwin/syscalls.cc
+++ b/winsup/cygwin/syscalls.cc
@@ -163,7 +163,7 @@ dup3 (int oldfd, int newfd, int flags)
}
else
res = cygheap->fdtab.dup3 (oldfd, newfd, flags);
- syscall_printf ("%R = dup2(%d, %d, %p)", res, oldfd, newfd, flags);
+ syscall_printf ("%R = dup3(%d, %d, %p)", res, oldfd, newfd, flags);
return res;
}