W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1996

Re: Bug ?

From: Varma Kunaparaju <varma@aic.lockheed.com>
Date: Wed, 13 Mar 1996 14:10:47 -0800
Message-Id: <199603132210.OAA04525@summer.aic.lockheed.com>
To: vb@goto.fr
Cc: www-lib@w3.org, frystyk@w3.org

>Until last week I was using libwww 4.C under win95/Borlandc 4.5 compile as 
>a real lib (not a DLL). Last week I try do switch to 4.D, so I download it, 
>and compile my project with it. All goes well except that sometimes the 
>inline images doesn't appear where with previous version there was no 
>problem !!!
I think I came across a similar problem on Windows NT. I believe it is
because of files not being handled in binary mode. On NT, this is very 
strict. Basically, if you try to read or write a binary file without the
file being opened in binary mode specifically by opening with "rb" argument,
you will most probably end up not reading or not writing the exact size.
I don't know whether this is the cause of failure in your case or not.
But, I faced this problem when I am using upload (POST/PUT) and I changed
fopen to open in "rb" mode in HTFile.c and that fixed it.

Hope this helps
Received on Wednesday, 13 March 1996 17:11:10 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:46 UTC