Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitafb089d

Browse files
committed
Put back old lines.
1 parentf93bd64 commitafb089d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

‎src/backend/utils/adt/geo_ops.c

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.10 1997/06/0103:39:28 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.11 1997/06/0104:16:16 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -986,7 +986,8 @@ path_close(PATH *path)
986986
{
987987
PATH*result;
988988

989-
if (PointerIsValid((char*)(result=path_copy(path))))
989+
result=path_copy(path);
990+
if (PointerIsValid((char*)result))
990991
result->closed= TRUE;
991992

992993
return(result);
@@ -997,7 +998,8 @@ path_open(PATH *path)
997998
{
998999
PATH*result;
9991000

1000-
if (PointerIsValid((char*)(result=path_copy(path))))
1001+
result=path_copy(path);
1002+
if (PointerIsValid((char*)result))
10011003
result->closed= FALSE;
10021004

10031005
return(result);
@@ -2635,7 +2637,7 @@ poly_path(POLYGON *poly)
26352637
*
26362638
*
26372639
* IDENTIFICATION
2638-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.10 1997/06/0103:39:28 momjian Exp $
2640+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.11 1997/06/0104:16:16 momjian Exp $
26392641
*
26402642
*-------------------------------------------------------------------------
26412643
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp