cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: libcurl on QNX 6

From: <David.Bentham_at_poole.siemens.co.uk>
Date: Thu, 20 Dec 2001 10:51:53 -0000

I'm fairly sure a valid pointer is returned from fopen() as a 0-length file
is created in the right place with the right name...

Dave.

> -----Original Message-----
> From: Nielsen Linus (ext) [SMTP:Linus.Nielsen_at_elema.siemens.se]
> Sent: Thursday 20 December 2001 10:44 AM
> To: Bentham, David (Poole); curl-library_at_lists.sourceforge.net
> Subject: RE: libcurl on QNX 6
>
> > // open the local (destination) file
> > ftp = fopen(dstFile,"wb");
> >
>
> The first thing that comes to mind:
>
> Are you sure that fopen() managed to open the file? Curl will
> crash on you pass a NULL file handle to curl.
>
> /Linus
>
This communication contains information which is confidential, and is for
the exclusive use of the addressee(s). If you are not a named addressee
please contact the sender immediately, and also delete the communication
from your system.

Any views or opinions presented are solely those of the author and do not
necessarily represent those of Siemens plc unless otherwise specifically
stated.
Received on 2001-12-20