cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: BUG in VMS-CURL with http-Upload

From: Harald und Sandra <haschwar_at_gmx.de>
Date: Thu, 14 Aug 2008 21:35:05 +0200

Am Montag, den 11.08.2008, 13:42 +0200 schrieb Daniel Stenberg:
> On Sun, 10 Aug 2008, Harald Schwarz wrote:
>
> > A short solution idea of me is to override the fstat and stat function for
> > VMS in the part of returning the file-size. How the file-size could be
> > detected correctly is shown on following page:
> > _http://www.wer-weiss-was.de/theme158/article1634662.html_ (German language
> > only, but the c-code at the end is readable).
> >
> > But now my knowledge ends. I'm not a C-programmer and I do not have a
> > C-compiler for VMS.
>
> ... and most of us around here have no VMS at all, which I consider a
> prerequisite for trying out any kind of fix for this! :-/
>

I tested stat with a simple C-program on VMS-Alpha. The size of the file
was correct. Therefore the error does not seem to come from the stat
function.

To fix the code you need no alpha-station.
You can get online-accounts for several OS's here:
http://www.polarhome.com/
The only thing is, you need to spent 10 credits (-> 10 $, 10 Euros, ...,
at least 2 US$) to get an account. Then you can use the VMS-Alpha for
development with all avilable compilers and services for non-comercial
usage. No additional monthly fee is required.

You can also use a freeware Alpha-emulator for x86 and install OpenVMS
hobbyist (freeware, but media charge required - $30) on it:
www.personalalpha.com (Emulator)
www.openvmshobbyist.org (OpenVMS hobbyist)

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2008-08-14