moving to test-dev so others can review/test/comment/commit.

Greg
-------- Original Message --------
Subject: Re: specweb99
Date: Thu, 15 May 2003 11:44:16 -0400 (EDT)
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>

> [EMAIL PROTECTED] wrote:
>
>> I have a question about the state of specweb99 module. The reason is
>> that I failed to compile the source I pulled out of CVS on RedHat 7.3
>> Linux:
>>
>> apxs -c -DLINUX -I../../mm-1.1.3 -L../../mm-1.1.3 -lmm mod_specweb99.c
>> gcc -DLINUX=22 -DMOD_SSL=208105 -DUSE_HSREGEX -DEAPI -DEAPI_MM -fpic
>> -DSHARED_MODULE -I/usr/local/apache/include -I../../mm-1.1.3 -DLINUX
>> -c
>

Greg,

Unfortunately, I don't have access to a Solaris box, only Linux. No idea
whether it would build on other platforms. Hopefully, this patch still turns
out useful.

Regards,

-a

--- mod_specweb99.c.orig        Thu May 15 12:52:25 2003
+++ mod_specweb99.c     Thu May 15 12:53:42 2003
@@ -352,7 +352,7 @@
        return 1;
     };

-    if (EQMODTIME(s, _my->up_lastmod)) {
+    if (EQMODTIME(s, _my->up_lastmod.tv_sec)) {
 #ifdef SEMCNTR
        semun semv;
 #if 0
@@ -439,7 +439,7 @@

     /* Store last modified date assuming no errors. */
     if (!e) {
-       _my->up_lastmod = MODTIME(s);
+       _my->up_lastmod.tv_sec = MODTIME(s);
 #ifdef DEBUG
        ap_log_error(APLOG_MARK, APLOG_DEBUG | APLOG_NOERRNO, sv,
                  "checkUPFile: File re-read. Date=%ld", (long) MODTIME(s));
@@ -473,7 +473,7 @@
        return 1;
     };

-    if (EQMODTIME(s, _my->cad_lastmod)) {
+    if (EQMODTIME(s, _my->cad_lastmod.tv_sec)) {
 #ifdef SEMCNTR
        /* also check sem's */
        semun semv;
@@ -566,7 +566,7 @@

     fclose(f);
     if (!e) {
-       _my->cad_lastmod = MODTIME(s);
+       _my->cad_lastmod.tv_sec = MODTIME(s);
 #ifdef DEBUG
        ap_log_error(APLOG_MARK, APLOG_DEBUG | APLOG_NOERRNO, sv,
                 "checkCADFile: File re-read. Date=%ld", (long) MODTIME(s));







Reply via email to