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-01-05 09:48:56 +0300
committerChristopher Faylor <me@cgf.cx>2003-01-05 09:48:56 +0300
commit5d36ff3dbbc090c2da5b3456da9c7b310ce15952 (patch)
treef49afb535629123c31867941c18d926b162fb13e
parente573657d32f1e279c97fec34e2da60668e3cffe3 (diff)
* pinfo.cc (_pinfo::commune_send): Use myself->lock rather than just lock whenunlabeled-1.143.4
leaving.
-rw-r--r--winsup/cygwin/fhandler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc
index 4f66ea69c..664cac0b6 100644
--- a/winsup/cygwin/fhandler.cc
+++ b/winsup/cygwin/fhandler.cc
@@ -318,7 +318,7 @@ fhandler_base::raw_write (const void *ptr, size_t len)
{
DWORD bytes_written;
- if (!WriteFile (get_handle (), ptr, len, &bytes_written, 0))
+ if (!WriteFile (get_output_handle (), ptr, len, &bytes_written, 0))
{
if (GetLastError () == ERROR_DISK_FULL && bytes_written > 0)
return bytes_written;