diff options
author | Christopher Faylor <me@cgf.cx> | 2003-01-05 06:48:56 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-01-05 06:48:56 +0000 |
commit | 5d36ff3dbbc090c2da5b3456da9c7b310ce15952 (patch) | |
tree | f49afb535629123c31867941c18d926b162fb13e | |
parent | e573657d32f1e279c97fec34e2da60668e3cffe3 (diff) | |
download | newlib-unlabeled-1.143.4.zip newlib-unlabeled-1.143.4.tar.gz newlib-unlabeled-1.143.4.tar.bz2 |
* pinfo.cc (_pinfo::commune_send): Use myself->lock rather than just lock whengithub/unlabeled-1.143.4unlabeled-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 4f66ea6..664cac0 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; |