Oops... bad patch.  This one is nicer:

--- include/http_main.h 2001/02/16 04:26:31     1.19
+++ include/http_main.h 2001/06/22 13:11:12
@@ -63,7 +63,7 @@
  * in apr_getopt() format.  Use this for default'ing args that the MPM
  * can safely ignore and pass on from its rewrite_args() handler.
  */
-#define AP_SERVER_BASEARGS "C:c:D:d:f:vVlLth?"
+#define AP_SERVER_BASEARGS "C:c:D:d:f:vVXlLth?"
 
 #ifdef __cplusplus
 extern "C" {
--- server/main.c       2001/05/22 01:31:11     1.99
+++ server/main.c       2001/06/22 13:11:27
@@ -280,6 +280,13 @@
     destroy_and_exit_process(process, 1);
 }
 
+void no_X_warning(process_rec *process)
+{
+    ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, NULL, "The -X option 
+is deprecated - use -DONE_PROCESS instead.");
+    destroy_and_exit_process(process, 1);
+}
+
+
 int main(int argc, const char * const argv[])
 {
     char c;
@@ -354,6 +361,8 @@
        case 'V':
            show_compile_settings();
            destroy_and_exit_process(process, 0);
+       case 'X':
+           no_X_warning(process);
        case 'l':
            ap_show_modules();
            destroy_and_exit_process(process, 0);

Anyway, though, the idea isn't that complex.  I think it would help
achieve the goal of not having people pester Ryan about where -X got
to.

-- 
David N. Welton
Free Software: http://people.debian.org/~davidw/
   Apache Tcl: http://tcl.apache.org/
     Personal: http://www.efn.org/~davidw/
         Work: http://www.innominate.com/

Reply via email to