Return-Path: Delivered-To: apmail-tcl-mod_dtcl-cvs-archive@tcl.apache.org Received: (qmail 91980 invoked by uid 500); 18 Apr 2002 13:02:21 -0000 Mailing-List: contact mod_dtcl-cvs-help@tcl.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list mod_dtcl-cvs@tcl.apache.org Received: (qmail 91966 invoked by uid 500); 18 Apr 2002 13:02:20 -0000 Delivered-To: apmail-tcl-moddtcl-cvs@apache.org Date: 18 Apr 2002 13:02:20 -0000 Message-ID: <20020418130220.32283.qmail@icarus.apache.org> From: davidw@apache.org To: tcl-moddtcl-cvs@apache.org Subject: cvs commit: tcl-moddtcl/debian changelog X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N davidw 02/04/18 06:02:20 Modified: . VERSION mod_dtcl.c tcl_commands.c debian changelog Log: * mod_dtcl.c (execute_and_check): Make sure to output results of ErrorScript. Revision Changes Path 1.7 +1 -1 tcl-moddtcl/VERSION Index: VERSION =================================================================== RCS file: /home/cvs/tcl-moddtcl/VERSION,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- VERSION 3 Nov 2001 17:22:53 -0000 1.6 +++ VERSION 18 Apr 2002 13:02:19 -0000 1.7 @@ -1 +1 @@ -0.11.5 +0.11.7 1.54 +6 -7 tcl-moddtcl/mod_dtcl.c Index: mod_dtcl.c =================================================================== RCS file: /home/cvs/tcl-moddtcl/mod_dtcl.c,v retrieving revision 1.53 retrieving revision 1.54 diff -u -r1.53 -r1.54 --- mod_dtcl.c 19 Nov 2001 11:20:23 -0000 1.53 +++ mod_dtcl.c 18 Apr 2002 13:02:19 -0000 1.54 @@ -57,7 +57,7 @@ * originally written at the National Center for Supercomputing Applications, * University of Illinois, Urbana-Champaign. */ -/* $Id: mod_dtcl.c,v 1.53 2001/11/19 11:20:23 davidw Exp $ */ +/* $Id: mod_dtcl.c,v 1.54 2002/04/18 13:02:19 davidw Exp $ */ /* mod_dtcl.c by David Welton - originally mod_include. */ /* See http://tcl.apache.org/mod_dtcl/credits.ttml for additional credits. */ @@ -225,10 +225,10 @@ return TCL_ERROR; } - if (dsc->dtcl_before_script) + if (dsc->dtcl_before_script) Tcl_AppendObjToObj(outbuf, dsc->dtcl_before_script); result = Tcl_ReadChars(chan, outbuf, (int)r->finfo.st_size, 1); - if (dsc->dtcl_after_script) + if (dsc->dtcl_after_script) Tcl_AppendObjToObj(outbuf, dsc->dtcl_after_script); if (result < 0) @@ -337,11 +337,10 @@ } /* "OUTPUT BUFFER
\n",
                       Tcl_GetStringFromObj(outbuf, (int *)NULL));  */
  -    } else {
  -        /* We make sure to flush the output if buffer_add was the only output */
  -        print_headers(r);
  -        flush_output_buffer(r);
       }
  +    /* We make sure to flush the output if buffer_add was the only output */
  +    print_headers(r);
  +    flush_output_buffer(r);
       return OK;
   }
   
  
  
  
  1.22      +2 -2      tcl-moddtcl/tcl_commands.c
  
  Index: tcl_commands.c
  ===================================================================
  RCS file: /home/cvs/tcl-moddtcl/tcl_commands.c,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- tcl_commands.c	13 Mar 2002 15:56:06 -0000	1.21
  +++ tcl_commands.c	18 Apr 2002 13:02:20 -0000	1.22
  @@ -536,8 +536,8 @@
              on... */
   	for (i = 0; i < parmsarray->nelts; ++i)
   	{
  -	    if (!strncmp(key, StringToUtf(parms[i].key, POOL), 
  -			 strlen(key) < strlen(parms[i].key) ? 
  +	    if (!strncmp(key, StringToUtf(parms[i].key, POOL),
  +			 strlen(key) < strlen(parms[i].key) ?
   			 strlen(parms[i].key) : strlen(key)))
   	    {
   		/* The following makes sure that we get one string,
  
  
  
  1.19      +32 -25    tcl-moddtcl/debian/changelog
  
  Index: changelog
  ===================================================================
  RCS file: /home/cvs/tcl-moddtcl/debian/changelog,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- changelog	13 Mar 2002 15:58:42 -0000	1.18
  +++ changelog	18 Apr 2002 13:02:20 -0000	1.19
  @@ -1,3 +1,10 @@
  +libapache-mod-dtcl (0.11.7-1) unstable; urgency=low
  +
  +  * mod_dtcl.c (execute_and_check): Make sure to output results of
  +    ErrorScript.
  +
  + -- David N. Welton   Thu, 18 Apr 2002 15:01:30 +0200
  +
   libapache-mod-dtcl (0.11.6-1) unstable; urgency=low
   
     * Fixed problem with 'var' command.  Variables with similar names
  @@ -20,7 +27,7 @@
   libapache-mod-dtcl (0.11.4-1) unstable; urgency=low
   
     * Fixed bug in Parse command.
  -  
  +
     * Added Debian SSL config stuff from J�nos Hol�nyi (closes: #115333)
   
    -- David N. Welton   Mon, 15 Oct 2001 20:43:40 +0200
  @@ -41,11 +48,11 @@
    -- David N. Welton   Thu, 30 Aug 2001 11:08:17 +0200
   
   libapache-mod-dtcl (0.11.1-1) unstable; urgency=low
  -  
  -  * Fixed VARS variable, documentation updates.  
  - 
  +
  +  * Fixed VARS variable, documentation updates.
  +
     * Fixed build variables: (closes: #102208)
  -  
  +
    --
   
   -- David N. Welton   Fri, 27 Jul 2001 13:52:10 +0200
  @@ -59,9 +66,9 @@
   libapache-mod-dtcl (0.10.1-0) unstable; urgency=low
   
     * Fixed file upload bug.
  -  
  +
     * Added ErrorScript directive.
  -  
  +
     * Update docs.
   
    -- David N. Welton   Tue,  1 May 2001 18:17:08 +0200
  @@ -70,9 +77,9 @@
   
     * Upgraded apreq* stuff to deal with file uploads directly to apache
       variable.
  -  
  +
     * UPLOAD variables can now be lists.
  -  
  +
     * Switched syntax to .
   
    -- David N. Welton   Tue, 20 Mar 2001 20:17:29 +0100
  @@ -80,9 +87,9 @@
   libapache-mod-dtcl (0.9.3-2) unstable; urgency=low
   
     * Added build depends.
  -  
  +
     * Closes #85787.
  -  
  +
     * Closes #87251.
   
    -- David N. Welton   Mon, 26 Feb 2001 14:01:34 +0100
  @@ -90,7 +97,7 @@
   libapache-mod-dtcl (0.9.3-1) unstable; urgency=low
   
     * New version.
  -  
  +
     * Cleaned up Debian build stuff, (Fixes #66402).
   
    -- David N. Welton   Fri, 16 Feb 2001 14:11:55 +0100
  @@ -98,9 +105,9 @@
   libapache-mod-dtcl (0.9.0-1) unstable; urgency=low
   
     * New version.
  -  
  +
     * Started using apreq code for file uploads and other stuff.
  -  
  +
     * Documentation changes.
   
    -- David N. Welton   Mon, 12 Feb 2001 19:52:59 +0100
  @@ -108,15 +115,15 @@
   libapache-mod-dtcl (0.8.12-1) unstable; urgency=low
   
     * Various cookie fixes.
  -  
  +
     * New build system.
  -  
  +
    -- David N. Welton   Sun,  5 Nov 2000 23:48:11 +0100
   
   libapache-mod-dtcl (0.8.8-2) unstable; urgency=low
   
     * Code to deal with before/after scripts.
  -  
  +
     * Rewrite of Apache directives.
   
    -- David N. Welton   Tue, 26 Sep 2000 17:59:57 +0200
  @@ -142,14 +149,14 @@
   
     * Changed hputs to use "" instead of {}, so that { and } may be escaped
       with backslashes.
  -  
  +
     * Changed output format for errors.
   
    -- David N. Welton   Wed, 19 Apr 2000 17:49:47 +0200
   
   libapache-mod-dtcl (0.7.3-2) frozen unstable; urgency=low
   
  -  * Removed "code2html" target from build target.  
  +  * Removed "code2html" target from build target.
     * Fixes #58431.
   
    -- David N. Welton   Fri,  3 Mar 2000 13:11:23 +0100
  @@ -165,7 +172,7 @@
   
     * Made hputs, include, and buffer_add commands safe for binary and
       sparse data.
  -  
  +
     * Now able to output different mime types.
   
    -- David N. Welton   Sat, 18 Dec 1999 18:50:29 -0800
  @@ -182,7 +189,7 @@
     * Fixed Lintian problems:
     * Set and remove links between /usr/doc and /usr/share/doc.
     * Added dh_installchangelogs.
  -  
  +
    -- David N. Welton   Sun, 14 Nov 1999 15:15:51 -0800
   
   libapache-mod-dtcl (0.6.4-1) unstable; urgency=low
  @@ -267,7 +274,7 @@
     improves both portability an error messaging.
     * All "wrong args" are implemented with the standard Tcl_WrongNumArgs call.
     * Thanks Paolo!
  -	
  +
    -- David N. Welton   Sun, 14 Mar 1999 14:47:03 -0800
   
   libapache-mod-dtcl (0.4.6-1) unstable; urgency=low
  @@ -277,7 +284,7 @@
     switch between TCL and HTML modes!
     * Initiated switch to Tcl 'objects'.
     * Beginings of a user manual in use.html.
  -	
  +
    -- David N. Welton   Sun, 14 Mar 1999 14:47:03 -0800
   
   libapache-mod-dtcl (0.4.5-1) unstable; urgency=low
  @@ -337,7 +344,7 @@
     * Added patch by (rolf@pointsman.de), which eliminates need for global_request_rec, and instead makes use of ClientData.
     * Added preliminary POST functionality, copied, and modified, from mod_cgi.
     * Compiled under Apache 1.3.3.
  -	
  +
    -- David N. Welton   Mon, 23 Nov 1998 22:54:03 -0800
   
   libapache-mod-dtcl (0.2-3) unstable; urgency=low
  @@ -361,7 +368,7 @@
   
   libapache-mod-dtcl (0.1-3) unstable; urgency=low
   
  -  * Added a few things to the docs. 
  +  * Added a few things to the docs.
   
    -- David N. Welton   Fri, 24 Jul 1998 10:35:20 -0700
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: mod_dtcl-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: mod_dtcl-cvs-help@tcl.apache.org