*/
#ifndef lint
-static const char rcsid[] = "$Id: fcgi_stdio.c,v 1.4 1999/01/30 22:24:09 roberts Exp $";
+static const char rcsid[] = "$Id: fcgi_stdio.c,v 1.6 1999/06/07 05:39:03 roberts Exp $";
#endif /* not lint */
#ifdef _WIN32
#define TRUE (1)
#endif
-#ifdef _WIN32
FCGI_FILE _fcgi_sF[3];
-#else
-FCGI_FILE _fcgi_sF[3] = {{stdin, NULL}, {stdout, NULL}, {stderr, NULL}};
-#endif
#ifdef _WIN32
#define popen _popen
*/
isCGI = FCGX_IsCGI();
acceptCalled = TRUE;
+ atexit(&FCGI_Finish);
} else if(isCGI) {
/*
* Not first call to FCGI_Accept and running as CGI means