cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Parsing in src/tool_parsecfg.c

From: Gisle Vanem <gvanem_at_yahoo.no>
Date: Fri, 6 Dec 2013 08:57:42 +0100

"Daniel Stenberg" <daniel_at_haxx.se> wrote:

> I mailed about it here: http://curl.haxx.se/mail/archive-2013-11/0010.html

I saw that too late.
 
> The reason for the change was to make the config parser better at parsing
> options exactly as they are used on the command line. The problematic option
> in this case was the use of "-u :" ie just a single colon as a paramter to -u.
>
> I'll admit I was kind of hoping not that many users would have such a config
> file in use, but you've just proved that at least one did...

The %HOME/_curlrc is automatically loaded and parsed. That's why the
"curl: (43) A libcurl function was given a bad argument" was so mysterious
to me.

--gv
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-12-06