From: Bruce Momjian Date: Sun, 1 Jun 1997 04:16:16 +0000 (+0000) Subject: Put back old lines. X-Git-Tag: REL6_1~96 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=afb089d4a4c8ac3c52c97aaba8e078e62d17558c;p=postgresql Put back old lines. --- diff --git a/src/backend/utils/adt/geo_ops.c b/src/backend/utils/adt/geo_ops.c index 5819756095..95f7795356 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.10 1997/06/01 03:39:28 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.11 1997/06/01 04:16:16 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -986,7 +986,8 @@ path_close(PATH *path) { PATH *result; - if (PointerIsValid((char *)(result = path_copy(path)))) + result = path_copy(path); + if (PointerIsValid((char *)result)) result->closed = TRUE; return(result); @@ -997,7 +998,8 @@ path_open(PATH *path) { PATH *result; - if (PointerIsValid((char *)(result = path_copy(path)))) + result = path_copy(path); + if (PointerIsValid((char *)result)) result->closed = FALSE; return(result); @@ -2635,7 +2637,7 @@ poly_path(POLYGON *poly) * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.10 1997/06/01 03:39:28 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.11 1997/06/01 04:16:16 momjian Exp $ * *------------------------------------------------------------------------- */