Re: Error Building libapreq2.08

Joe Schaefer <[email protected]>
Newsgroups gmane.comp.apache.apreq
Message-ID <[email protected]>
Jonathan Vanasco <[email protected]> writes:

> On Apr 15, 2007, at 8:15 PM, Joe Schaefer wrote:
>
>>> # at (util.c:106) test 4 in test_charset_divine
>>> # testing: apreq_decode(expect, &elen, src3, sizeof(src3) -1) == APR_SUCCESS,
>>> as integers (util.c:108)
>>> #  format: %d
>>> #    left: 120011
>>> #   right: 120011
>>> not ok 36 - apreq_decode(expect, &elen, src3, sizeof(src3) -1) ==
>>> APR_SUCCESS,
>>
>> Still puzzled as to why left == right here, but that error code is
>> APREQ_ERROR_BADCHAR.  There are only a few places in util.c which
>> return that error, and none of them look relevant to the decoding
>> of src3.
>
> It makes little sense to me either.

Try removing the "register" declarations in url_decode.  If that
doesn't resolve it, I'm afraid you'll need to step through that
test using gdb.

> I think everything pretty much works if i install, except for uploads
> which seem to cause a segfault or just crash.

If you compiler can't compile url_decode correctly, there's
no reason to believe it compiled the more complex stuff
correctly either.

-- 
Joe Schaefer
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.