Re: httpd fastcgi diff

2015-03-25 Thread Stuart Henderson
OK, but would it be worth adding a comment referencing the RFC? On 2015/03/25 22:58, Florian Obser wrote: > On Wed, Mar 25, 2015 at 10:20:53PM +0100, Tim van der Molen wrote: > > I'm using the hgweb.cgi Python script to serve Mercurial repositories > > over HTTP. When served by httpd, hgweb.cgi do

Re: httpd fastcgi diff

2015-03-25 Thread Florian Obser
On Wed, Mar 25, 2015 at 10:20:53PM +0100, Tim van der Molen wrote: > I'm using the hgweb.cgi Python script to serve Mercurial repositories > over HTTP. When served by httpd, hgweb.cgi does not work well with the > hg command-line utility. For example, this doesn't work: > > $ hg clone http://examp

wsdisplay.c: change variable 'no' to 'idx' for clarity/consistency

2015-03-25 Thread dan mclaughlin
--- sys/dev/wscons/wsdisplay.c.orig Mon Oct 27 16:28:53 2014 +++ sys/dev/wscons/wsdisplay.c Wed Mar 25 17:24:11 2015 @@ -1641,7 +1641,7 @@ int wsdisplay_switch3(void *arg, int error, int waitok) { struct wsdisplay_softc *sc = arg; - int no; + int idx; struct wsscr

httpd fastcgi diff

2015-03-25 Thread Tim van der Molen
I'm using the hgweb.cgi Python script to serve Mercurial repositories over HTTP. When served by httpd, hgweb.cgi does not work well with the hg command-line utility. For example, this doesn't work: $ hg clone http://example.org/hgweb.cgi/repo The problem is that the hg utility sends an HTTP heade

awk: out of bounds error

2015-03-25 Thread Tobias Ulmer
ss10:~$ awk -f foo awk: can't open file foo source line number 1 source file foo context is >>> ΓΏ <<< Oh look, the international sign for buffer overflow. Don't print context when ebuf is empty --- lib.c.orig Wed Mar 25 17:11:49 2015 +++ lib.c Wed Mar 25 17:11:27 2015 @@ -64