coar        98/01/21 11:06:13

  Modified:    .        STATUS
               src      CHANGES
               src/modules/standard mod_imap.c
  Log:
        Another patch (consts in mod_imap.c) noted.
  
  Revision  Changes    Path
  1.110     +1 -0      apachen/STATUS
  
  Index: STATUS
  ===================================================================
  RCS file: /export/home/cvs/apachen/STATUS,v
  retrieving revision 1.109
  retrieving revision 1.110
  diff -u -r1.109 -r1.110
  --- STATUS    1998/01/21 18:25:24     1.109
  +++ STATUS    1998/01/21 19:06:09     1.110
  @@ -96,6 +96,7 @@
         misplacement.
       * Ken's addition of src/ap/ap.h for prototypes of routines in libap.a
       * Ken's addition of #ifndef wrappers to src/main/*.h header files
  +    * Ken's removal of problem-causing "const"s from mod_imap.c
   
   Available Patches:
   
  
  
  
  1.573     +4 -0      apachen/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/CHANGES,v
  retrieving revision 1.572
  retrieving revision 1.573
  diff -u -r1.572 -r1.573
  --- CHANGES   1998/01/21 18:23:42     1.572
  +++ CHANGES   1998/01/21 19:06:11     1.573
  @@ -1,5 +1,9 @@
   Changes with Apache 1.3b4
   
  +  *) Some const declarations in mod_imap.c that were added for debugging
  +     purposes caused some compilers heartburn without adding any
  +     significant value, so they've been removed.  [Ken Coar]
  +
     *) The src/main/*.h header files have had #ifndef wrappers added to
        insulate them against duplicate calls if they get included through
        multiple paths (e.g., in .c files as well as other .h files).
  
  
  
  1.38      +4 -4      apachen/src/modules/standard/mod_imap.c
  
  Index: mod_imap.c
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/modules/standard/mod_imap.c,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- mod_imap.c        1998/01/07 22:23:33     1.37
  +++ mod_imap.c        1998/01/21 19:06:13     1.38
  @@ -157,7 +157,7 @@
       {NULL}
   };
   
  -static int pointinrect(const double point[2], const double 
coords[MAXVERTS][2])
  +static int pointinrect(const double point[2], double coords[MAXVERTS][2])
   {
       double max[2], min[2];
       if (coords[0][X] > coords[1][X]) {
  @@ -182,7 +182,7 @@
               (point[Y] >= min[1] && point[Y] <= max[1]));
   }
   
  -static int pointincircle(const double point[2], const double 
coords[MAXVERTS][2])
  +static int pointincircle(const double point[2], double coords[MAXVERTS][2])
   {
       double radius1, radius2;
   
  @@ -195,7 +195,7 @@
       return (radius2 <= radius1);
   }
   
  -static int pointinpoly(const double point[2], const double pgon[MAXVERTS][2])
  +static int pointinpoly(const double point[2], double pgon[MAXVERTS][2])
   {
       int i, numverts, inside_flag, xflag0;
       int crossings;
  @@ -270,7 +270,7 @@
   }
   
   
  -static int is_closer(const double point[2], const double 
coords[MAXVERTS][2], double *closest)
  +static int is_closer(const double point[2], double coords[MAXVERTS][2], 
double *closest)
   {
       double dist_squared = ((point[X] - coords[0][X]) * (point[X] - 
coords[0][X]))
       + ((point[Y] - coords[0][Y]) * (point[Y] - coords[0][Y]));
  
  
  

Reply via email to