* 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
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/select.h>
#endif
-#define DEADSTRING "Your database server has terminated. To reactivate \
-the server, please reload the server's 'front page'."
-
#include <gw-db.h>
#include <gw-res.h>
#include "wproto.h"
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