curl-library
Re: Building Libcurl with DMC
Date: Thu, 19 Feb 2004 09:04:32 +0100 (CET)
On Wed, 18 Feb 2004, qbert_at_atari-soldiers.com wrote:
> Its been fixed with the latest release, I use the same script to generate
> the D wrappers so its not a problem really.
Still, it proves that you're using a C compiler that has flaws in very "basic"
areas. How can you then trust it to work properly in way more complicated
aspects like the rest of the code?
I won't tell you to stop trying, indeed not, but it will of course make your
task a bit more troublesome than if you'd went with a proven working compiler.
Such as mingw or Borland (both being available for no money).
> Its failing in url.c , line 2114
>
> if((1 > sscanf(data->change.url, "%512[^\n/?]%[^\n]",
> conn->gname, conn->path)) )
[from your second mail]
> data->change.url : curl.haxx.se
> conn->gname : (blank , but not null )
> conn->path : /
I would say this indicates another problem: your sscanf() function doesn't
work like it should!
That sscanf()-line should be able to parse "curl.haxx.se" just fine by adding
the whole host name into the conn->gname array.
-- Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/ [[ Do not send mails to this email address. They won't reach me. ]]Received on 2004-02-19