diff options
author | John E. Malmberg <wb8tyw@qsl.net> | 2013-07-28 23:33:45 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-07-29 13:09:08 +0200 |
commit | db2deba6b4b0e447781ff0e2bdee2aec0a283c97 (patch) | |
tree | 7cbbb8d85eb3daf91a7949b926ed6035baabaf1a /docs/examples/post-callback.c | |
parent | 41fb6443ceeda65c09dbe0e1fd7591269e4966a9 (diff) |
curl_formadd: fix file upload on VMS
For the standard VMS text file formats, VMS needs to read the file to
get the actual file size.
For the standard VMS binary file formats, VMS needs a special format of
fopen() call so that it stops reading at the logical end of file instead
of at the end of the blocks allocated to the file.
I structured the patch this way as I was not sure about changing the
structures or parameters to the routines, but would prefer to only call
the stat() function once and pass the information to where the fopen()
call is made.
Bug: https://sourceforge.net/p/curl/bugs/758/
Diffstat (limited to 'docs/examples/post-callback.c')
0 files changed, 0 insertions, 0 deletions