| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
The libbb.h header implicitly includes mingw.h, which has the
declaration of that function.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Ron Yorston <rmy@pobox.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The `tend` variable is only ever initialized and used if the timeout is
*not* infinite.
However, GCC is not smart enough to figure that out. So just initialize
the variable to 0 and be done with it already.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Ron Yorston <rmy@pobox.com>
|
|
There are two changes from gnulib:
Treat a broken pipe as readable. If nc doesn't try to read from
the pipe it'll never find out it's broken.
Only allow console key press events to indicate that stdin is
readable. read_key leaves a key release event in the buffer
at the end of a shell command. This caused nc to block, thinking
that the console had input available.
|