[Dicey-cvs] dicey/lib er.c,1.1.1.1,1.2
Brought to you by:
christhecat,
w0nderd0g
From: <mad...@us...> - 2004-01-09 23:27:02
|
Update of /cvsroot/dicey/dicey/lib In directory sc8-pr-cvs1:/tmp/cvs-serv16970/lib Modified Files: er.c Log Message: intermediate commit for sharing across systems. the current code is very much in transition between cgi libraries Index: er.c =================================================================== RCS file: /cvsroot/dicey/dicey/lib/er.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** er.c 7 Nov 2003 20:05:09 -0000 1.1.1.1 --- er.c 9 Jan 2004 23:26:59 -0000 1.2 *************** *** 1,9 **** #include <stdio.h> #include <sys/file.h> ! #include "yacgi.h" /* I *hate* this extern crap, but don't see a way around it right now */ - extern CGI* cgi; extern FILE* logfile; --- 1,9 ---- #include <stdio.h> + #include <stdlib.h> #include <sys/file.h> ! #include "cgi-util.h" /* I *hate* this extern crap, but don't see a way around it right now */ extern FILE* logfile; *************** *** 22,26 **** flock(errorfile-> _fileno, LOCK_UN); } ! cgiClose(cgi); exit(1); } --- 22,26 ---- flock(errorfile-> _fileno, LOCK_UN); } ! cgi_quit(); exit(1); } |