Removed examples/tiny-cgi.c (it wasn't a FastCGI application?!).
roberts [Mon, 26 Jul 1999 05:06:09 +0000 (05:06 +0000)]
Modified Files: README examples/Makefile.in
Removed Files: examples/tiny-cgi.c

README
examples/Makefile.in
examples/tiny-cgi.c [deleted file]

diff --git a/README b/README
index 2a2d29c..bd520f2 100755 (executable)
--- a/README
+++ b/README
@@ -2,7 +2,7 @@ FastCGI Developer's Kit README
 ------------------------------
 
     Version 2.0b2, 04 April 1997
-    $Id: README,v 1.6 1999/07/26 04:45:52 roberts Exp $
+    $Id: README,v 1.7 1999/07/26 05:06:09 roberts Exp $
     Copyright (c) 1996 Open Market, Inc.
     See the file "LICENSE.TERMS" for information on usage and redistribution
     of this file, and for a DISCLAIMER OF ALL WARRANTIES.
@@ -38,6 +38,8 @@ release of the FDK.
 Changes with devkit 2.1.1
 -------------------------
 
+ *) Removed examples/tiny-cgi.c (it wasn't a FastCGI application?!).
+
  *) Remove some debugging code and clean up some gcc warnings in cgi-fcgi.c.
 
  *) Add multithread support to the fcgiapp lib and an example multithreaded
index da6a0be..a3ca79e 100644 (file)
@@ -3,7 +3,7 @@
 #
 #  Open Market, Inc.
 #
-#  $Id: Makefile.in,v 1.2 1999/07/26 04:28:08 roberts Exp $
+#  $Id: Makefile.in,v 1.3 1999/07/26 05:06:10 roberts Exp $
 #
 
 SHELL = @SHELL@
@@ -24,7 +24,7 @@ INCLUDES    = $(INCLUDEDIR)/fastcgi.h $(INCLUDEDIR)/fcgiapp.h \
               $(INCLUDEDIR)/fcgi_stdio.h
 LIBDIR      = ../libfcgi
 LIBFCGI            = $(LIBDIR)/libfcgi.${L}
-TARGETS            = tiny-cgi.cgi tiny-fcgi tiny-fcgi2 tiny-authorizer \
+TARGETS            = tiny-fcgi tiny-fcgi2 tiny-authorizer \
              echo echo2 sample-store sockets echo.fcg perl tclsh \
               SampleStore.state.0 SampleStore.state.1 log-dump threaded.fcg
 
@@ -33,9 +33,6 @@ all: $(TARGETS)
 threaded.fcg: threaded.c $(INCLUDES)
        $(CC) $(CFLAGS) -D_REENTRANT threaded.c -o threaded.fcg $(LIBFCGI) -lpthread
 
-tiny-cgi.cgi: tiny-cgi.${O}
-       $(CC) $(CFLAGS) tiny-cgi.${O} -o tiny-cgi.cgi
-
 tiny-fcgi: tiny-fcgi.${O} $(LIBFCGI)
        $(CC) $(CFLAGS) tiny-fcgi.${O} -o tiny-fcgi $(LIBFCGI) $(LIBS)
 
@@ -84,8 +81,6 @@ clean:
 
 # ----------------------------------------------------------------------------
 
-tiny-cgi.${O}: tiny-cgi.c $(INCLUDES)
-
 tiny-fcgi.${O}: tiny-fcgi.c $(INCLUDES)
 
 tiny-fcgi2.${O}: tiny-fcgi2.c $(INCLUDES)
diff --git a/examples/tiny-cgi.c b/examples/tiny-cgi.c
deleted file mode 100644 (file)
index a2d871e..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-/* 
- * tiny-cgi.c --
- *
- *     CGI example program
- *
- *
- * Copyright (c) 1996 Open Market, Inc.
- *
- * See the file "LICENSE.TERMS" for information on usage and redistribution
- * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
- *
- */
-
-#ifndef lint
-static const char rcsid[] = "$Id: tiny-cgi.c,v 1.1 1997/09/16 15:36:28 stanleyg Exp $";
-#endif /* not lint */
-
-#include <stdio.h>
-#include <stdlib.h>
-
-void main(void)
-{
-    int count = 0;
-    printf("Content-type: text/html\r\n"
-           "\r\n"
-           "<title>CGI Hello!</title>"
-           "<h1>CGI Hello!</h1>"
-           "Request number %d running on host <i>%s</i>\n",
-           ++count, getenv("SERVER_NAME"));
-}