httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Increasing the size of allow_options_t and overrides_t
Date Sat, 01 Sep 2007 15:11:25 GMT
Hi all,

I am working on a patch that needs to widen the two bitmaps below, as 
they have run out of bits. Would such a change be backport-able to v2.2, 
and what kind of MMN bump would it need if so?

Index: include/http_core.h
===================================================================
--- include/http_core.h (revision 571797)
+++ include/http_core.h (working copy)
@@ -79,6 +79,8 @@
  #define OPT_SYM_OWNER 64
  /** MultiViews directive */
  #define OPT_MULTI 128
+/**  IncludesAccess directive */
+#define OPT_INCACCESS 256
  /**  All directives */
  #define OPT_ALL (OPT_INDEXES|OPT_INCLUDES|OPT_SYM_LINKS|OPT_EXECCGI)
  /** @} */
@@ -386,8 +388,8 @@
  AP_DECLARE(void **) ap_get_request_note(request_rec *r, apr_size_t 
note_num);


-typedef unsigned char allow_options_t;
-typedef unsigned char overrides_t;
+typedef unsigned int allow_options_t;
+typedef unsigned int overrides_t;

  /*
   * Bits of info that go into making an ETag for a file

Regards,
Graham
--

Mime
View raw message