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 2008/01/07 21:14:33 UTC

svn commit: r609769 - in /tcl/rivet/trunk/src/apache-2: TclWebapache.c mod_rivet.h

Author: mxmanghi
Date: Mon Jan  7 12:14:28 2008
New Revision: 609769

URL: http://svn.apache.org/viewvc?rev=609769&view=rev
Log:
	* src/apache-2/TclWebapache.c: Fixed timestamp printed in the
	DATE_LOCAL and DATE_GMT fields of the environment table.

	* src/apache-2/mod_rivet.h: Fixed definitions for RIVET_INIT and
	RIVET_DIR. I couldn't fix SERVER_CONF though


Modified:
    tcl/rivet/trunk/src/apache-2/TclWebapache.c
    tcl/rivet/trunk/src/apache-2/mod_rivet.h

Modified: tcl/rivet/trunk/src/apache-2/TclWebapache.c
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/src/apache-2/TclWebapache.c?rev=609769&r1=609768&r2=609769&view=diff
==============================================================================
--- tcl/rivet/trunk/src/apache-2/TclWebapache.c (original)
+++ tcl/rivet/trunk/src/apache-2/TclWebapache.c Mon Jan  7 12:14:28 2008
@@ -347,7 +347,7 @@
     apr_table_t *table = req->req->subprocess_env;
     char *timefmt = DEFAULT_TIME_FORMAT;
     char *t;
-    time_t date = req->req->request_time;
+    apr_time_t date = req->req->request_time;
 #ifndef WIN32
     struct passwd *pw;
 #endif /* ndef WIN32 */

Modified: tcl/rivet/trunk/src/apache-2/mod_rivet.h
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/src/apache-2/mod_rivet.h?rev=609769&r1=609768&r2=609769&view=diff
==============================================================================
--- tcl/rivet/trunk/src/apache-2/mod_rivet.h (original)
+++ tcl/rivet/trunk/src/apache-2/mod_rivet.h Mon Jan  7 12:14:28 2008
@@ -7,8 +7,9 @@
 #include "TclWeb.h"
 
 /* init.tcl file relative to the server root directory */
-#define RIVET_DIR "rivet"
-#define RIVET_INIT RIVET_DIR"/init.tcl"
+
+#define RIVET_DIR  RIVETLIB_DESTDIR
+#define RIVET_INIT RIVETLIB_DESTDIR"/init.tcl"
 
 #if 0
 #define FILEDEBUGINFO fprintf(stderr, "Function " __FUNCTION__ "\n")



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