|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-1371316 ] None existent file causes invalid close of file descriptor
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 01 Dec 2005 15:43:07 -0800
Bugs item #1371316, was opened at 2005-12-02 00:33
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
file.c line 153
accessing a file that doesn't exist results in a file
here is the relevant section of code, remember fd == -
if(!conn->data->set.upload && (fd == -1)) {
CURLcode Curl_file_done(struct connectdata *conn,
if(file->fd != -1)
return CURLE_OK;
I think that file->fd = fd should be done before the
----------------------------------------------------------------------
>Comment By: Daniel Stenberg (bagder)
Message:
Ugha!
You're perfectly right of course. I adjusted the code
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info