From afb089d4a4c8ac3c52c97aaba8e078e62d17558c Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 1 Jun 1997 04:16:16 +0000 Subject: [PATCH] Put back old lines. --- src/backend/utils/adt/geo_ops.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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 $ * *------------------------------------------------------------------------- */ -- 2.40.0