From 27c570e46057dab75998c7f56f00aea7d7d49b91 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Fri, 13 Jan 2006 04:01:12 +0000 Subject: [PATCH] fix httpd load issues --- contrib/httpd/cont-responder.factor | 2 +- contrib/httpd/default-responders.factor | 3 +-- contrib/httpd/html.factor | 2 +- contrib/httpd/mime.factor | 4 ++-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/contrib/httpd/cont-responder.factor b/contrib/httpd/cont-responder.factor index 36b35138cd..48fde4ada8 100644 --- a/contrib/httpd/cont-responder.factor +++ b/contrib/httpd/cont-responder.factor @@ -21,7 +21,7 @@ ! OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ! ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. IN: cont-responder -USING: http httpd math random namespaces io +USING: http httpd math namespaces io lists strings kernel html hashtables parser generic sequences ; diff --git a/contrib/httpd/default-responders.factor b/contrib/httpd/default-responders.factor index cc63049546..aa995af38d 100644 --- a/contrib/httpd/default-responders.factor +++ b/contrib/httpd/default-responders.factor @@ -2,8 +2,7 @@ ! See http://factor.sf.net/license.txt for BSD license. IN: httpd USING: browser-responder cont-responder file-responder kernel -namespaces prettyprint quit-responder resource-responder -test-responder ; +namespaces prettyprint ; #! Remove all existing responders, and create a blank #! responder table. diff --git a/contrib/httpd/html.factor b/contrib/httpd/html.factor index 294bbc73b2..6fb97cb766 100644 --- a/contrib/httpd/html.factor +++ b/contrib/httpd/html.factor @@ -2,7 +2,7 @@ ! See http://factor.sf.net/license.txt for BSD license. IN: html USING: generic hashtables http io kernel lists math namespaces -presentation sequences strings styles words ; +sequences strings styles words ; : html-entities ( -- alist ) H{ diff --git a/contrib/httpd/mime.factor b/contrib/httpd/mime.factor index 01ad7d86f5..1eb73cdc11 100644 --- a/contrib/httpd/mime.factor +++ b/contrib/httpd/mime.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2004, 2005 Slava Pestov. -! See http://factor.sf.net/license.txt for BSD license. +! See http://factorcode.org/license.txt for BSD license. IN: httpd -USING: io hashtables kernel lists namespaces ; +USING: io hashtables kernel sequences math namespaces ; : file-extension ( filename -- extension ) "." split dup length 1 <= [ drop f ] [ peek ] if ;