No sign of my message with the attachment on the list. :(
So, wwwman.zip is now uploaded to....
http://www.angelfire.com/id/glenndoom/wwwman.htm
On Tue, 24 Sep 2002 21:25:08 -0400, Glenn McCorkle wrote:
> On Tue, 24 Sep 2002 13:59:16 +0000, Michael Polak wrote:
>> Glenn McCorkle wrote:
>>>> Presently Arachne seems to select colo(u)rs at random from a selection
>>>> with the likelyhood of 2 items the same colour. It looks odd.
>>>> actually 2 colours the same 80% of the time.
>>> That shouldn't be too hard to do.
>>> I'll let you know when it's done. ;-)
>> I like my current colour schene (the blue-green one), so please keep it.
>> (Do whatever with the 2nd colour scheme, or any any other schemes of
>> your choice ;-)
>>> if(sizeof(struct HTTPrecord)==len)
>>> _____________________
>>> --- the changes I made ---
>>> //!!glennmcc: begin Apr 10, 2002
>>> //'postflag' is now 'dynamic' and moved to before 'lastseen'
>>> char dynamic; // document is dynamic
>>> // char postflag; // it is result of operation post
>>> long lastseen; // last seen time
>>> //!!glennmcc: end
>>> //!!glennmcc: begin Apr 10, 2002
>>> //must subtract 2 from 'len' to get the compatibility test to work
>>> if(sizeof(struct HTTPrecord)==len-2)
>> ....and preferably sizeof(int), for future compatibility with other
>> platforms than DOS ;-)
> Done.
> //!!glennmcc: begin Apr 10, 2002
> //must subtract 2 from 'len' to get the compatibility test to work
> // if(sizeof(struct HTTPrecord)==len-2)
> //!!glennmcc: Sep 24, 2002 __ MP requested this change ;-)
> if(sizeof(struct HTTPrecord)+sizeof(int)==len)
> //!!glennmcc: end
> The new wwwman (both SRC and EXE), are in the attached ZIP file.
> Have a look at the other changes I made and see if you like them. ;-)
>>> And just in case you hadn't guessed.....
>>> I LOVE doing this stuff. ;-)
>> Which is reason why open source development is so succesful for Linux
>> apps.... (well at least relatively....)
>> I like coding too. I hate packing installation packages and testing them...
>>> And why do we need to subtract 2 for the test to work ????
>>> (that does not match the length as written by core.exe)
>> sizeof(int). It is the boring binary file format
>> {int XX=sizeof(struct YY), struct YY}
>>> 'HTTPrecord / cacheitem' contains 11 "fields".
>>> Core.exe writes them into cache.idx 1,2,3,4,5,6,7,8,9,10,11
>>> Wwwman.exe now reads them from cache.idx 1,2,3,4,5,6,7,8,9,11,10
>>> Wwwman.exe now looks for a length of 2 bytes less than core.exe
>>> used so that it can to test for 'version compatibility'.
>>> Logic says that it can't work.... but it DOES work (perfectly).
>>> Figure that one out. <g g g g>
>> ???
>> xCh.
> If *YOU* have no idea why they need to be reversed....
> Now I don't feel so bad that *I* can't figure-out why. ;-)
>[Attached file: wwwman.zip](File "wwwman.zip"(type application/zip,size 28 KB))
--
Glenn
http://arachne.cz/
http://www.delorie.com/listserv/mime/
http://www.angelfire.com/id/glenndoom/download.htm
http://www.thispagecannotbedisplayed.com/