jim         99/05/21 18:46:48

  Modified:    src/ap   ap_snprintf.c
  Log:
  Final touch tonight... avoid the possibility
  that var_type isn't defined. To work around possible buggy compilers, we
  create an enum type and then the var and then assign it
  
  Revision  Changes    Path
  1.31      +3 -2      apache-1.3/src/ap/ap_snprintf.c
  
  Index: ap_snprintf.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/ap/ap_snprintf.c,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- ap_snprintf.c     1999/05/22 01:37:41     1.30
  +++ ap_snprintf.c     1999/05/22 01:46:48     1.31
  @@ -582,9 +582,10 @@
       char num_buf[NUM_BUF_SIZE];
       char char_buf[2];                /* for printing %% and %<unknown> */
   
  -    enum {
  +    enum var_type_enum {
        IS_QUAD, IS_LONG, IS_SHORT, IS_INT
  -    } var_type;
  +    };
  +    enum var_type_enum var_type = IS_INT;
   
       /*
        * Flag variables
  
  
  

Reply via email to