You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gs...@apache.org on 2001/02/24 02:38:49 UTC

cvs commit: httpd-2.0/modules/metadata mod_setenvif.c

gstein      01/02/23 17:38:49

  Modified:    include  apr.hw apr.h.in
               modules/metadata mod_setenvif.c
  Log:
  toss ENUM_BITFIELD. used in one place (but didn't need to be used), and it
  certainly wasn't namespace protected.
  
  Revision  Changes    Path
  1.54      +0 -1      apr/include/apr.hw
  
  Index: apr.hw
  ===================================================================
  RCS file: /home/cvs/apr/include/apr.hw,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -u -r1.53 -r1.54
  --- apr.hw	2001/02/16 04:15:42	1.53
  +++ apr.hw	2001/02/24 01:38:48	1.54
  @@ -110,7 +110,6 @@
   
   #define apr_inline
   #define __attribute__(__x)
  -#define ENUM_BITFIELD(e,n,w)  signed int n : w
   
   #define NO_USE_SIGACTION
   
  
  
  
  1.67      +0 -2      apr/include/apr.h.in
  
  Index: apr.h.in
  ===================================================================
  RCS file: /home/cvs/apr/include/apr.h.in,v
  retrieving revision 1.66
  retrieving revision 1.67
  diff -u -u -r1.66 -r1.67
  --- apr.h.in	2001/02/13 18:48:51	1.66
  +++ apr.h.in	2001/02/24 01:38:48	1.67
  @@ -17,11 +17,9 @@
       defined(NEXT)
   #define apr_inline
   #define __attribute__(__x)
  -#define ENUM_BITFIELD(e,n,w)  signed int n : w
   #else
   #define apr_inline __inline__
   #define USE_GNU_INLINE
  -#define ENUM_BITFIELD(e,n,w)  e n : w
   #endif
   
   #define APR_HAVE_ARPA_INET_H    @arpa_ineth@
  
  
  
  1.26      +3 -5      httpd-2.0/modules/metadata/mod_setenvif.c
  
  Index: mod_setenvif.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/metadata/mod_setenvif.c,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -u -r1.25 -r1.26
  --- mod_setenvif.c	2001/02/16 04:26:41	1.25
  +++ mod_setenvif.c	2001/02/24 01:38:49	1.26
  @@ -142,11 +142,9 @@
       char *name;                 /* header name */
       char *regex;                /* regex to match against */
       regex_t *preg;              /* compiled regex */
  -    apr_table_t *features;            /* env vars to set (or unset) */
  -    ENUM_BITFIELD(              /* is it a "special" header ? */
  -	enum special,
  -	special_type,4);
  -    unsigned icase : 1;		/* ignoring case? */
  +    apr_table_t *features;      /* env vars to set (or unset) */
  +    enum special special_type;  /* is it a "special" header ? */
  +    int icase;                  /* ignoring case? */
   } sei_entry;
   
   typedef struct {