On Thu, Nov 20, 2014 at 23:16, patrick keshishian wrote:
>
> any concern over 'u_int i' vs 'size_t len' type-mismatch?
Yes. There are a few instances where u_int is used in place of size_t.
Another instance where off_t is cast down to u_int. Even if it can't
overflow, the safer idiom is to cast
apparently these are not needed and just make my life harder.
ok?
diff --git usr.bin/netstat/if.c usr.bin/netstat/if.c
index f722db23..b07860d 100644
--- usr.bin/netstat/if.c
+++ usr.bin/netstat/if.c
@@ -36,11 +36,10 @@
#include
#include
#include
#include
-#include
#include
#include
Thanks everyone for the feedback so far.
I made some improvements to Windows poll emulation functions to handle
errno impedance mismatches, POLLHUP and out-of-band data. Keep in mind
that windows select is quite different than anything else when
reviewing that code - it is not bitmap-based. I also
Please ignore the previous email to misc. I believe the tm_mon part is still
necessary and hope that I’ve rediscovered how to send inline diffs reliably.
--david
Index: newsyslog.c
===
RCS file: /cvs/src/usr.bin/newsyslog/newsyslog
* Dimitri Sokolyuk [2014-11-05 22:05:26]:
> I can confirm it working on net6501-70 at least for the LED-part on
> 5.6-stable.
> It works as expected.
>
> # dmesg | grep gpio
> gpio0 at soekris0: 16 pins
> gpio1 at soekris0: 2 pins
>
> However