Re: Dillo and Irix
Jan Diegelmann <[email protected]>
| Newsgroups | gmane.comp.web.dillo.devel |
|---|---|
| Message-ID | <[email protected]> |
eocene wrote:
> I wrote:
>> Jan wrote:
>>> eocene wrote:
>>>> Jan wrote:
>>>>> Query: {GE}
>>>>> a_IO_ccc : OpSend [1B] Info=10262f30 Flags=0
>>>> "GE" is the entire query?
>>> Yes exactly. Any idea?
>> Can you watch what goes wrong in a_Http_make_query_str()?
>
> Between this and the file path thing, I wonder whether irix
> doesn't like that va_list/va_copy/vsnprintf stuff in the dStr
> code in dlib/dlib.c.
I had a brief look at the dlib code. I don't think it's a problem with
the va stuff. I have one warning when compiling dlib.c:
/usr/nekoware/gcc-4.7/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I..
-I/usr/local/include -I/usr/nekoware/include
-I/usr/nekoware/gcc-4.7/include/c++/4.7.1 -I/usr/local/include
-mtune=r5000 -mips4 -mabi=n32 -DD_DNS_THREADED -D_REENTRANT
-D_THREAD_SAFE -Wall -W -Wno-unused-parameter -Waggregate-return -MT
dlib.o -MD -MP -MF .deps/dlib.Tpo -c -o dlib.o dlib.c
dlib.c: In function 'dStr_printable':
dlib.c:514:7: warning: array subscript has type 'char' [-Wchar-subscripts]
mv -f .deps/dlib.Tpo .deps/dlib.Po
rm -f libDlib.a
ar cru libDlib.a dlib.o
: libDlib.a
This is the line:
if (isprint(in->str[i]) || (in->str[i] == '\n')) {
isprintf is defined in Irix
extern int isprint(int);