delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/14/05:03:31

Date: Wed, 14 Oct 1998 12:02:11 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: John Richter <john DOT richter AT yale DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: DJGPP & CGI Problem
In-Reply-To: <36237A2B.3CB6B84D@yale.edu>
Message-ID: <Pine.SUN.3.91.981014115920.8710F-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Tue, 13 Oct 1998, John Richter wrote:

> IIS reports
> 
>     CGI Error
> 
>     The specified CGI application misbehaved by not returning a complete
> set of
>     HTTP headers. The headers it did return are:
> 
> Note that this same code works perfectly when I compile it using
> CodeWarrior. This leads me to believe that there's something about
> CodeWarrior's idea of printf is different from djgpp's idea of printf,
> and IIS agrees with CodeWarrior.

I'm afraid it's much more serious than what you suspect.  This issue has 
come up before and the conclusion was that it's impossible to get the 
server to invoke a CGI application that is compiled with DJGPP.  I guess 
the server opens a pipe to the CGI that is implemented in a way that 
DOS programs don't support.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019