Re[2]: Compiling cgi-fcgi 2.0 on WinNT

Jonathan Pierce (Jonathan_Pierce@seagram.com)
Tue, 13 May 1997 10:11:30 -0400

Date: Tue, 13 May 1997 10:11:30 -0400
Message-Id: <37883740@seagram.com>
From: Jonathan_Pierce@seagram.com (Jonathan Pierce)
Subject: Re[2]: Compiling cgi-fcgi 2.0 on WinNT
To: snapper@OpenMarket.com

Hi Bill,

Thanks for responding.

>>What version did you download?  I developed it and it does build on
>> NT 4.0, using VC++ 4.2 on an X86 machine.  How did you try and build
>> this?

The version file says T2.0aNT.

I am using a compiler from Metrowerks on an x86 running NT 4.0.  I've gotten it 
to build now after making many changes but I am still having runtime problems.

I don't know whether I can afford to spend much more time debugging it.

I added several explicit casts for my compiler, and I eliminated some redundant 
code by putting it into common header files.

I factored out the static definition of MakeHeader so that it is defined in only 
one place.

I put the #define DLLAPI definition in one place.

I also found some runtime bugs that I fixed:

The for (i=1; i < argc; i++) line in ParseArgs should be:
for (i=0; i < argc; i++) or the first arg doesn't get processed.

The version that I built receives (-1) as the value of (* envp) and I get a bus 
error.  I changed the code to check for the -1, but now the ReadHandler exits 
because it attempts to read 0 bytes.

Are you sure that this is the latest version?

-Jonathan

_______________________________________________________________________________
Subject: Re: Compiling cgi-fcgi 2.0 on WinNT
From:    snapper@OpenMarket.com at INTERNET
Date:    5/12/1997  9:39 PM

What version did you download?  I developed it and it does build on
NT 4.0, using VC++ 4.2 on an X86 machine.  How did you try and build
this?

-- 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Bill Snapper           | Open Market, Inc.   | My opinions are my own,
Software Engineer      | 245 First St.       | and not necessarily
snapper@openmarket.com | Cambridge, MA 02142 | those of my employer, 
1-617-949-7365         |                     | Open Market Inc.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++