Jeff Trawick wrote:
This fixes mod_jk segfaults when gcc is used to build mod_jk with gcc on AIX. Currently, the -brtl ld flag is missing. Linking with apxs takes care of that and, in general, can clear up other differences.

According to the comment, apxs wasn't used because it compiles all files every time, but passing in .lo files instead of .c files will do the right thing and keep some unnecessary details out of the mod_jk build.

Also added was a comment to mention why repeatedly running make will keep attempting to create mod_jk (unsucessfully).

Thanks Jeff,


Still happy to see one of the Apache 2.0 main developpers fixing taking
care of our little module ;)

BTW, I've got a fix for the mod_dir problem with mod_jk and like to see
your comment about it ...


--- apache-2.0/mod_jk.c.old Wed Jun 18 14:54:46 2003 +++ apache-2.0/mod_jk.c Wed Jun 18 14:55:56 2003 @@ -2271,8 +2271,11 @@ apr_table_setn(r->notes, JK_WORKER_ID, worker);

                 /* This could be a sub-request, possibly from mod_dir */
-                if(r->main)
+                if(r->main) {
+                    r->main->handler=apr_pstrdup(r->pool,JK_HANDLER);
+                    r->main->uri=apr_pstrdup(r->pool,r->uri);
                     apr_table_setn(r->main->notes, JK_WORKER_ID, worker);
+                }

                 return OK;
             } else if(conf->alias_dir != NULL) {




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to