public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: FIFO: fix a thinko in raw_write
@ 2019-06-25 22:51 Ken Brown
  0 siblings, 0 replies; only message in thread
From: Ken Brown @ 2019-06-25 22:51 UTC (permalink / raw)
  To: cygwin-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=09e2ec87efa5ba167dffd19d39ce7a59b7ef7877

commit 09e2ec87efa5ba167dffd19d39ce7a59b7ef7877
Author: Ken Brown <kbrown@cornell.edu>
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))
 	{


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-25 22:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-25 22:51 [newlib-cygwin] Cygwin: FIFO: fix a thinko in raw_write Ken Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).