[Toybox] netcat -f bug

Yi-Yo Chiang yochiang at google.com
Fri May 10 04:09:54 PDT 2024


Hi,
The -f option for netcat doesn't seem to be doing anything right now. It is
missing a call to pollinate() after opening the specified device file.
The patch adds back that line of pollinate().
Also make sure that the timeout handler is not armed for -f mode as -f
shouldn't timeout. File open() should just succeed or fail immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20240510/da3a7d30/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allow-netcat-to-communicate-with-serial-consoles-f.patch
Type: text/x-patch
Size: 1876 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20240510/da3a7d30/attachment.bin>


More information about the Toybox mailing list