diff options
author | Christopher Faylor <me@cgf.cx> | 2003-01-05 09:48:56 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-01-05 09:48:56 +0300 |
commit | 5d36ff3dbbc090c2da5b3456da9c7b310ce15952 (patch) | |
tree | f49afb535629123c31867941c18d926b162fb13e | |
parent | e573657d32f1e279c97fec34e2da60668e3cffe3 (diff) |
* pinfo.cc (_pinfo::commune_send): Use myself->lock rather than just lock whenunlabeled-1.143.4
leaving.
-rw-r--r-- | winsup/cygwin/fhandler.cc | 2 |
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; |