Re: [PATCH] add our version to string to httpd banner

2005-07-12 Thread Joe Schaefer
"Philip M. Gollucci" <[EMAIL PROTECTED]> writes:

> Blast. Take3.
>
> The apache1 version had a typo:
>
> Attached again.

Thank; tweaked and applied as revision 215984.
-- 
Joe Schaefer



Re: [PATCH] add our version to string to httpd banner

2005-07-12 Thread Philip M. Gollucci

Blast. Take3.

The apache1 version had a typo:

Attached again.

--
END 
-

   What doesn't kill us can only make us stronger.
  Nothing is impossible.

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer / Liquidity Services, Inc.
http://www.liquidityservicesinc.com
   http://www.liquidation.com
   http://www.uksurplus.com
   http://www.govliquidation.com
   http://www.gowholesale.com


Index: module/apache/command.c
===
--- module/apache/command.c (revision 215980)
+++ module/apache/command.c (working copy)
@@ -18,6 +18,7 @@
 
 #include "apreq_util.h"
 #include "apreq_module_apache.h"
+#include "apreq_version.h"
 
 #include "httpd.h"
 #include "http_log.h"
@@ -152,6 +153,9 @@
 apr_initialize();
 apr_pool_create(&p, NULL);
 apreq_initialize(p);
+ap_add_version_component(p, apr_psprintf(p, 
+"mod_apreq/%s", 
+APREQ_VERSION_STRING));
 ap_register_cleanup(sp, p, apreq_cleanup, apreq_cleanup);
 }
 
Index: module/apache2/filter.c
===
--- module/apache2/filter.c (revision 215980)
+++ module/apache2/filter.c (working copy)
@@ -29,6 +29,7 @@
 #include "apreq_private_apache2.h"
 #include "apreq_error.h"
 #include "apreq_util.h"
+#include "apreq_version.h"
 
 static void *apreq_create_dir_config(apr_pool_t *p, char *d)
 {
@@ -423,6 +424,10 @@
 {
 apr_status_t status;
 
+ap_add_version_component(p, apr_psprintf(p, 
+"mod_apreq/%s", 
+APREQ_VERSION_STRING));
+
 status = apreq_post_initialize(p);
 if (status != APR_SUCCESS) {
 ap_log_error(APLOG_MARK, APLOG_STARTUP|APLOG_ERR, status, base_server,


Re: [PATCH] add our version to string to httpd banner

2005-07-12 Thread Philip M. Gollucci

Resend unmunged (possibly as an attachment).


Attached. Formatted to 76 chars.



--
END 
-

   What doesn't kill us can only make us stronger.
  Nothing is impossible.

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer / Liquidity Services, Inc.
http://www.liquidityservicesinc.com
   http://www.liquidation.com
   http://www.uksurplus.com
   http://www.govliquidation.com
   http://www.gowholesale.com


Index: module/apache/command.c
===
--- module/apache/command.c (revision 215980)
+++ module/apache/command.c (working copy)
@@ -18,6 +18,7 @@
 
 #include "apreq_util.h"
 #include "apreq_module_apache.h"
+#include "apreq_version.h"
 
 #include "httpd.h"
 #include "http_log.h"
@@ -152,6 +153,9 @@
 apr_initialize();
 apr_pool_create(&p, NULL);
 apreq_initialize(p);
+ap_add_version_component(p, apr_psprintf(p, 
+"mod_apreq/%s", 
+AREQ_VERSION_STRING));
 ap_register_cleanup(sp, p, apreq_cleanup, apreq_cleanup);
 }
 
Index: module/apache2/filter.c
===
--- module/apache2/filter.c (revision 215980)
+++ module/apache2/filter.c (working copy)
@@ -29,6 +29,7 @@
 #include "apreq_private_apache2.h"
 #include "apreq_error.h"
 #include "apreq_util.h"
+#include "apreq_version.h"
 
 static void *apreq_create_dir_config(apr_pool_t *p, char *d)
 {
@@ -423,6 +424,10 @@
 {
 apr_status_t status;
 
+ap_add_version_component(p, apr_psprintf(p, 
+"mod_apreq/%s", 
+APREQ_VERSION_STRING));
+
 status = apreq_post_initialize(p);
 if (status != APR_SUCCESS) {
 ap_log_error(APLOG_MARK, APLOG_STARTUP|APLOG_ERR, status, base_server,


Re: [PATCH] add our version to string to httpd banner

2005-07-12 Thread Joe Schaefer
"Philip M. Gollucci" <[EMAIL PROTECTED]> writes:

> Joe Schaefer wrote:
>
>>"Philip M. Gollucci" <[EMAIL PROTECTED]> writes:
>>
>>
>>Line wrap.
>>
>>
> Does that mean you want me to send it again at 76 chars or less ? or
> don't bother ? 

Resend unmunged (possibly as an attachment).
-- 
Joe Schaefer



Re: [PATCH] add our version to string to httpd banner

2005-07-12 Thread Philip M. Gollucci

Joe Schaefer wrote:


"Philip M. Gollucci" <[EMAIL PROTECTED]> writes:
 


Line wrap.
 

Does that mean you want me to send it again at 76 chars or less ? or 
don't bother ?



--
END 
-

   What doesn't kill us can only make us stronger.
  Nothing is impossible.

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer / Liquidity Services, Inc.
http://www.liquidityservicesinc.com
   http://www.liquidation.com
   http://www.uksurplus.com
   http://www.govliquidation.com
   http://www.gowholesale.com