You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by mx...@apache.org on 2011/03/01 21:22:36 UTC
svn commit: r1076013 - in /tcl/rivet/branches/neh: ChangeLog
src/apache-2/mod_rivet.c src/apache-2/rivetCore.c
Author: mxmanghi
Date: Tue Mar 1 20:22:35 2011
New Revision: 1076013
URL: http://svn.apache.org/viewvc?rev=1076013&view=rev
Log:
2011-03-01 Massimo Manghi <mx...@apache.org>
* src/apache-2/rivetCode.c: 'abort_code' command is now created through the RIVET_CMD_OBJ macro
Modified:
tcl/rivet/branches/neh/ChangeLog
tcl/rivet/branches/neh/src/apache-2/mod_rivet.c
tcl/rivet/branches/neh/src/apache-2/rivetCore.c
Modified: tcl/rivet/branches/neh/ChangeLog
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/neh/ChangeLog?rev=1076013&r1=1076012&r2=1076013&view=diff
==============================================================================
--- tcl/rivet/branches/neh/ChangeLog (original)
+++ tcl/rivet/branches/neh/ChangeLog Tue Mar 1 20:22:35 2011
@@ -1,6 +1,12 @@
+2011-03-01 Massimo Manghi <mx...@apache.org>
+ * src/apache-2/rivetCode.c: 'abort_code' command is now created through the RIVET_CMD_OBJ macro
+
2011-02-14 Karl Lehenbauer <ka...@apache.org>
- * src/apache-2/mod_rivet.c: Only create root interpreter once, not twice. In Rivet_CopyConfig cache_size and cache_free were getting copied twice. Only once now.
- * src/apache-2/rivetCore.c: Remove unused command var from Rivet_Upload. Remove unneeded loglevel var from Rivet_LogErrorCmd.
+ * src/apache-2/mod_rivet.c: Only create root interpreter once, not twice.
+ In Rivet_CopyConfig cache_size and cache_free were getting copied twice.
+ Only once now.
+ * src/apache-2/rivetCore.c: Remove unused command var from Rivet_Upload.
+ Remove unneeded loglevel var from Rivet_LogErrorCmd.
2011-02-11 Massimo Manghi <mx...@apache.org>
* src/apache-2/mod_rivet.[c|h]: new conf scripts rivet_abort_script and rivet_force_script. rivet_abort_script
Modified: tcl/rivet/branches/neh/src/apache-2/mod_rivet.c
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/neh/src/apache-2/mod_rivet.c?rev=1076013&r1=1076012&r2=1076013&view=diff
==============================================================================
--- tcl/rivet/branches/neh/src/apache-2/mod_rivet.c (original)
+++ tcl/rivet/branches/neh/src/apache-2/mod_rivet.c Tue Mar 1 20:22:35 2011
@@ -895,11 +895,11 @@ Rivet_PerInterpInit(server_rec *s, rivet
globals = apr_pcalloc(p, sizeof(rivet_interp_globals));
Tcl_SetAssocData(interp, "rivet", NULL, globals);
-/*
- * abort_page status variables in globals are set here and then
- * reset in Rivet_SendContent just before the request processing is
- * completed
- */
+ /*
+ * abort_page status variables in globals are set here and then
+ * reset in Rivet_SendContent just before the request processing is
+ * completed
+ */
globals->page_aborting = 0;
globals->abort_code = NULL;
Modified: tcl/rivet/branches/neh/src/apache-2/rivetCore.c
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/neh/src/apache-2/rivetCore.c?rev=1076013&r1=1076012&r2=1076013&view=diff
==============================================================================
--- tcl/rivet/branches/neh/src/apache-2/rivetCore.c (original)
+++ tcl/rivet/branches/neh/src/apache-2/rivetCore.c Tue Mar 1 20:22:35 2011
@@ -1462,18 +1462,13 @@ Rivet_InitCore( Tcl_Interp *interp )
NULL,
(Tcl_CmdDeleteProc *)NULL);
- Tcl_CreateObjCommand(interp,
- "abort_code",
- Rivet_AbortCodeCmd,
- NULL,
- (Tcl_CmdDeleteProc *)NULL);
-
#ifdef TESTPANIC
Tcl_CreateCommand(interp, "testpanic", TestpanicCmd, (ClientData) 0,
(Tcl_CmdDeleteProc *) NULL);
#endif
TCL_OBJ_CMD( "abort_page", Rivet_AbortPageCmd );
+ TCL_OBJ_CMD( "abort_code", Rivet_AbortCodeCmd );
TCL_OBJ_CMD( "virtual_filename", Rivet_VirtualFilenameCmd );
return TCL_OK;
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-cvs-help@tcl.apache.org