X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=www%2Fwcgi.c;h=b97bbd43c2fe610d7fe9eea59cb6f6d08007d1d4;hb=7f332a840baf336e34d612cdee0ef27901f0dd11;hp=6242f9075ac18eb43566310ffb8909d5456feb9d;hpb=9719535a7e496e254a4a94fb8cbc845cdb89f45c;p=egate.git diff --git a/www/wcgi.c b/www/wcgi.c index 6242f90..b97bbd4 100644 --- a/www/wcgi.c +++ b/www/wcgi.c @@ -41,7 +41,18 @@ * USE OR PERFORMANCE OF THIS SOFTWARE. * * $Log: wcgi.c,v $ - * Revision 1.17 1996/02/26 10:36:15 adam + * Revision 1.20 2001/02/26 14:32:36 adam + * Updated for YAZ 1.7. HTML output tidy up. Added LOC target. + * + * Revision 1.19 1997/01/24 13:13:10 adam + * Implemnted egw_source and added a "raw" option to the URL. + * Fixed a bug in the buffering system of wproto; the macro wo_putc could + * override memory if it was the first HTML generating function called. + * + * Revision 1.18 1996/03/14 11:48:37 adam + * New function egw_prog that returns name of shell. + * + * Revision 1.17 1996/02/26 10:36:15 adam * Better error handling when (re)spawn of the shell fails. * * Revision 1.16 1996/02/12 10:10:29 adam @@ -109,6 +120,7 @@ #include #include +#include #include #include #include @@ -118,9 +130,6 @@ #include #endif -#define DEADSTRING "Your database server has terminated. To reactivate \ -the server, please reload the server's 'front page'." - #include #include #include "wproto.h" @@ -204,7 +213,7 @@ int main() int linein = -1, lineout, data, gw_id; if (chdir (EGWDIR)) - fatal ("Couldn't change directory to " EGWDIR); + fatal ("egwcgi: Couldn't change directory to " EGWDIR); gw_log_init ("egw"); gw_log_file (GW_LOG_ALL, "egwcgi_log"); #if 0