Fixed the timestamps for DATE_LOCAL and DATE_GMT in
apache-2/TclWebapache.c.
The values of server(RIVET_DIR) and server(RIVET_INIT)
have been fixed. I couldn't fix SERVER_CONF though and
for what I can see from the docs and httpd.h, the apache
server configuration filename isn't stored anymore in
server_rec. I will check whether it can be found
in one of the configuration records. I have to suspend
my work on Rivet for the next 3-4 days, but I will stay
tuned on the list.
bye
-- Massimo
Index: src/apache-2/TclWebapache.c
===================================================================
--- src/apache-2/TclWebapache.c (revision 609225)
+++ src/apache-2/TclWebapache.c (working copy)
@@ -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 */
Index: src/apache-2/mod_rivet.h
===================================================================
--- src/apache-2/mod_rivet.h (revision 609225)
+++ src/apache-2/mod_rivet.h (working copy)
@@ -7,9 +7,10 @@
#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")
#else
--
Universita' degli Studi di Parma (http://www.unipr.it)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]