curl-library
Draft patch: #758 VMS-Alpha, http-upload not working
Date: Sat, 20 Jul 2013 00:45:02 -0500
This draft patch fixes the issue of some files on VMS not being uploaded
properly as describe in:
https://sourceforge.net/p/curl/bugs/758/
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.
Regards
-John
wb8tyw_at_qsl.network
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- text/plain attachment: formdata_c.gdiff