mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-07 18:01:18 +00:00
* ser-mingw.c (pipe_windows_close): Move variable initialization back
up.
This commit is contained in:
parent
79da184e3f
commit
4998c1dfb8
@ -1,3 +1,8 @@
|
||||
2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* ser-mingw.c (pipe_windows_close): Move variable initialization back
|
||||
up.
|
||||
|
||||
2007-02-08 Fred Fish <fnf@specifix.com>
|
||||
|
||||
* defs.h (request_quit): Remove declaration.
|
||||
|
@ -768,11 +768,10 @@ pipe_windows_close (struct serial *scb)
|
||||
static int
|
||||
pipe_windows_read (struct serial *scb, size_t count)
|
||||
{
|
||||
HANDLE pipeline_out;
|
||||
HANDLE pipeline_out = (HANDLE) _get_osfhandle (scb->fd);
|
||||
DWORD available;
|
||||
DWORD bytes_read;
|
||||
|
||||
pipeline_out = (HANDLE) _get_osfhandle (scb->fd);
|
||||
if (pipeline_out == INVALID_HANDLE_VALUE)
|
||||
return -1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user