https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=09e2ec87efa5ba167dffd19d39ce7a59b7ef7877
commit 09e2ec87efa5ba167dffd19d39ce7a59b7ef7877 Author: Ken Brown <[email protected]> Date: Tue Jun 25 17:14:50 2019 -0400 Cygwin: FIFO: fix a thinko in raw_write Remove a line that has no effect. Diff: --- winsup/cygwin/fhandler_fifo.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/winsup/cygwin/fhandler_fifo.cc b/winsup/cygwin/fhandler_fifo.cc index edc6cae..737264b 100644 --- a/winsup/cygwin/fhandler_fifo.cc +++ b/winsup/cygwin/fhandler_fifo.cc @@ -717,7 +717,6 @@ fhandler_fifo::raw_write (const void *ptr, size_t len) set_errno (EBADF); else __seterrno (); - len = (size_t) -1; } else if (NT_SUCCESS (status)) {
