cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: New CURL platform...?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 18 Jun 2001 17:27:41 +0200 (MET DST)

On Mon, 18 Jun 2001 Nico.Baggus_at_mail.ing.nl wrote:

> I meant are there other places were filenames are returned by OS calls
> these a are VMS specific on VMS. (asking for home yields f.e.
> USER$DISK:[USERNAME], basically the translation of the logical name
> SYS$LOGIN from VMS.)

> The getpwent() does the same, it fetches the default user directory from
> the authorisation database.

> So I really meant to ask are the more such calls?

Hm, ok, libcurl reads files in these situations:

 - cookie file reading (lib/cookie.c)
 - rfc1867 http form upload (lib/formdata.c)
 - netrc handling (lib/netrc.c)

curl opens files to (all in src/main.c):

 - redirect errors on --stderr
 - read -d post data
 - read -w output format strings
 - read -K config
 - write URL data
 - read URL upload data

> I cannot make diff's but I can mail a zip with my source tree.

That'll certainly be OK!

-- 
     Daniel Stenberg -- curl dude -- http://curl.haxx.se/
Received on 2001-06-18