From: Marc G. Fournier Date: Mon, 19 May 1997 03:49:39 +0000 (+0000) Subject: From: Olaf Mittelstaedt X-Git-Tag: REL6_1~146 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ea80b470b112138d04bf0c70c17d0b33d821827;p=postgresql From: Olaf Mittelstaedt Minor patches to geo_ops.c to clean up compile under AIX 4.1.3 --- diff --git a/src/backend/utils/adt/geo_ops.c b/src/backend/utils/adt/geo_ops.c index 0b485007ee..4b5c3eaf6d 100644 --- a/src/backend/utils/adt/geo_ops.c +++ b/src/backend/utils/adt/geo_ops.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.6 1997/05/11 15:11:41 thomas Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.7 1997/05/19 03:49:39 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -986,7 +986,7 @@ path_close(PATH *path) { PATH *result; - if (PointerIsValid((char *)result = path_copy(path))) + if (PointerIsValid((char *)(result = path_copy(path)))) result->closed = TRUE; return(result); @@ -997,7 +997,7 @@ path_open(PATH *path) { PATH *result; - if (PointerIsValid((char *)result = path_copy(path))) + if (PointerIsValid((char *)(result = path_copy(path)))) result->closed = FALSE; return(result); @@ -2070,7 +2070,7 @@ POLYGON *poly_in(char *str) #if OLD_FORMAT_IN }; -#endif; +#endif make_bound_box(poly); @@ -2639,7 +2639,7 @@ poly_path(POLYGON *poly) * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.6 1997/05/11 15:11:41 thomas Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.7 1997/05/19 03:49:39 scrappy Exp $ * *------------------------------------------------------------------------- */