|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-994165 ] fwrite() informs of a partial write for no good reason
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 05 Jun 2008 09:54:47 -0700
Bugs item #994165, was opened at 2004-07-20 01:15
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
Steps to reproduce:
My name : Orna Haber
The attached zip file includes 2 source files that
----------------------------------------------------------------------
Comment By: Giorgio Vecchiocattivi (vecchioc)
Message:
We are having this error in our application. (with libcurl 7.15.5) on
The in any case the fwrite as I found in sendf.c:
is wrong, because the fwrite (in any platform) does not guarantee it will
The correct form is
as work around I'm going to put a customized fwrite.
Giorgio V.
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
Closed this until anything comes up that proves this worthy
See also Dominick Meglio's informative reply:
----------------------------------------------------------------------
Comment By: Gisle Vanem (giva)
Message:
Operation.cpp:
if (!m_pCurlFile->Open(m_strFileName,
Shouldn't there be a typeBinary here to?
Hard to say what your problem is since the CURLFile
--gv
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
1. GetLastError() is Windows, it doesn't exist on other
2. fwrite() should never return anything by the same amount
Can you explain why fwrite() fails for you in this case?
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info