Re: Make every interface with a watchdog register it's own timeout

2014-11-23 Thread Martin Pieuchot
On 23/11/14(Sun) 02:10, Mike Belopuhov wrote: Hi, This removes the system wide if_slowtimo timeout and lets every interface with a valid if_watchdog method register it's own. The rational is to get rid of the ifnet loop in the softclock context to avoid further complications with concurrent

Re: Make every interface with a watchdog register it's own timeout

2014-11-23 Thread Claudio Jeker
On Sun, Nov 23, 2014 at 02:10:24AM +0100, Mike Belopuhov wrote: Hi, This removes the system wide if_slowtimo timeout and lets every interface with a valid if_watchdog method register it's own. The rational is to get rid of the ifnet loop in the softclock context to avoid further

[Patch]rcs: use rcsnum_cmp

2014-11-23 Thread Fritjof Bornebusch
Hi tech, like the XXX comment says, rcsnum_cmp() can be used instead of a *for* loop. The following shows the original behavior: $ co -r1.2 foo.txt,v foo.txt,v -- foo.txt revision 1.2 done $ co -r1.1 foo.txt,v foo.txt,v -- foo.txt revision 1.1 done $ co foo.txt,v foo.txt,v -- foo.txt

locate(1): ignore paths longer than MAXPATHLEN

2014-11-23 Thread Nicolas Bedos
Hello, locate(1) doesn't handle paths longer than MAXPATHLEN well: they are silently split into MAXPATHLEN-long strings and each string is included in the database. Here is an example : $ cat loc_test.sh testdir='/tmp/locate_maxpathlen' db=$testdir/db

Re: locate(1): ignore paths longer than MAXPATHLEN

2014-11-23 Thread Tobias Stoeckmann
On Sun, Nov 23, 2014 at 06:59:59PM +0100, Nicolas Bedos wrote: Index: src/usr.bin/locate//code/locate.code.c === RCS file: /cvs/src/usr.bin/locate/code/locate.code.c,v retrieving revision 1.17 diff -u -p -u -r1.17 locate.code.c

Re: uslcom(4): fix for CP2110 USB HID-UART misdetection

2014-11-23 Thread SASANO Takayoshi
Hi, At Wed, 19 Nov 2014 10:56:15 +0100, Martin Pieuchot wrote: On 18/11/14(Tue) 05:25, SASANO Takayoshi wrote: Hi all, I bought Silicon Labs CP2110-EK USB HID-to-UART evaluation kit and connected to OpenBSD box. uslcom(4) tries to use CP2110, but the device is different from

httpd: don't send error body with HEAD method

2014-11-23 Thread Bertrand Janin
Hi, This patch updates server_abort_http() to only send the body of default http error if the method is not HEAD. I first noticed that with curl -v -I which complains about the excess data: * Excess found in a non pipelined read: excess = 397 url = /asd (zero-length body) Index: