* fhandler_tty.cc (fhandler_pty_slave::read): Remove duplicate assignment to
bytes_in_pipe found by Clang.
This commit is contained in:
parent
aa01a03c10
commit
0bdf68577d
|
@ -1,3 +1,8 @@
|
||||||
|
2012-07-04 Christopher Faylor <me.cygwin2012@cgf.cx>
|
||||||
|
|
||||||
|
* fhandler_tty.cc (fhandler_pty_slave::read): Remove duplicate
|
||||||
|
assignment to bytes_in_pipe found by Clang.
|
||||||
|
|
||||||
2012-07-02 Christopher Faylor <me.cygwin2012@cgf.cx>
|
2012-07-02 Christopher Faylor <me.cygwin2012@cgf.cx>
|
||||||
|
|
||||||
* exceptions.cc (exception::handle): Use error_code in klog, as
|
* exceptions.cc (exception::handle): Use error_code in klog, as
|
||||||
|
|
|
@ -835,7 +835,6 @@ fhandler_pty_slave::read (void *ptr, size_t& len)
|
||||||
if (!ReadFile (get_handle (), buf, readlen, &n, NULL))
|
if (!ReadFile (get_handle (), buf, readlen, &n, NULL))
|
||||||
{
|
{
|
||||||
termios_printf ("read failed, %E");
|
termios_printf ("read failed, %E");
|
||||||
bytes_in_pipe = 0;
|
|
||||||
raise (SIGHUP);
|
raise (SIGHUP);
|
||||||
bytes_in_pipe = 0;
|
bytes_in_pipe = 0;
|
||||||
ptr = NULL;
|
ptr = NULL;
|
||||||
|
|
Loading…
Reference in New Issue