Return-Path: Delivered-To: apache-cvs-archive@hyperreal.org Received: (qmail 16072 invoked by uid 6000); 22 Jan 1998 16:36:44 -0000 Received: (qmail 16066 invoked by uid 161); 22 Jan 1998 16:36:41 -0000 Date: 22 Jan 1998 16:36:41 -0000 Message-ID: <19980122163641.16065.qmail@hyperreal.org> From: coar@hyperreal.org To: apache-cvs@hyperreal.org Subject: cvs commit: apache STATUS Sender: apache-cvs-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org coar 98/01/22 08:36:41 Modified: src Tag: APACHE_1_2_X mod_imap.c . Tag: APACHE_1_2_X STATUS Log: Remove extraneous "const"s which caused some compilers to complain. PR: 1650 (et al.) Revision Changes Path No revision No revision 1.21.2.4 +5 -4 apache/src/mod_imap.c Index: mod_imap.c =================================================================== RCS file: /export/home/cvs/apache/src/mod_imap.c,v retrieving revision 1.21.2.3 retrieving revision 1.21.2.4 diff -u -r1.21.2.3 -r1.21.2.4 --- mod_imap.c 1998/01/05 20:48:58 1.21.2.3 +++ mod_imap.c 1998/01/22 16:36:39 1.21.2.4 @@ -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,8 @@ } -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])); No revision No revision 1.1.2.22 +1 -0 apache/Attic/STATUS Index: STATUS =================================================================== RCS file: /export/home/cvs/apache/Attic/STATUS,v retrieving revision 1.1.2.21 retrieving revision 1.1.2.22 diff -u -r1.1.2.21 -r1.1.2.22 --- STATUS 1998/01/20 01:06:16 1.1.2.21 +++ STATUS 1998/01/22 16:36:40 1.1.2.22 @@ -19,6 +19,7 @@ * PR#1366: send_fd_length did not calculate total_bytes_sent properly * PR#1604: table_{set,unset} didn't deal correctly with multiple keys * PR#1599: "Digest" auth token should be tested case-insensitive + * PR#1650 (et alia): "const" in mod_imap causing pointer mismatches Available: