Re: HTTPLoop.RequestProgram.not_query

Chris Angelico <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Message-ID <CAPTjJmps2v262CVie76CDDeT=0FazD=+MvAGMjMKVEpV33G_MQ@mail.gmail.com>
On Wed, Feb 3, 2016 at 8:45 PM, Eiichiro ITANI <[email protected]> wrote:
> Is this problem still exists?  If already fixed, I'll wait for update of
> debian.  Or should I send bug tracker?

Still exists in 8.1. Looks like the fix is simple though. Edit
src/modules/HTTPLoop/requestobject.c line 187 and remove the +1 from
the last argument - I'm pretty sure it's never going to want that +1.
Incidentally, there's an entirely unused 'begin' variable there - it's
initialized to zero and never changed, and then it's used as some sort
of offset.

I would be inclined to fix this on 8.0 and 8.1, except that that code
hasn't changed since 1999 (according to 'git blame') and nobody else
has reported an issue. So either nobody's using this, or there's
something somewhere else that means this does actually work.

Anybody know which is the case?

ChrisA
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.