[postgis-devel] [PostGIS] #433: Make astyle differ upon astyle version
PostGIS
trac at osgeo.org
Sun Feb 21 14:58:22 PST 2010
#433: Make astyle differ upon astyle version
----------------------+-----------------------------------------------------
Reporter: colivier | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Keywords: astyle |
----------------------+-----------------------------------------------------
Differences on styling are present upon astyle versions.
1.22 and 1.23 seems to have same indent behaviour,
as 1.24 seems different.
With 1.24 on r5282 return:
(same file with 1.22/1.23 is unchanged)
{{{
Index: postgis/geography_inout.c
===================================================================
--- postgis/geography_inout.c (revision 5282)
+++ postgis/geography_inout.c (working copy)
@@ -138,9 +138,9 @@
if ( typmod_type > 0 &&
/* GEOMETRYCOLLECTION column can hold any kind of
collection */
((typmod_type == COLLECTIONTYPE && ! (lwgeom_type ==
COLLECTIONTYPE ||
- lwgeom_type ==
MULTIPOLYGONTYPE ||
- lwgeom_type ==
MULTIPOINTTYPE ||
- lwgeom_type ==
MULTILINETYPE )) ||
+ lwgeom_type == MULTIPOLYGONTYPE ||
+ lwgeom_type == MULTIPOINTTYPE ||
+ lwgeom_type == MULTILINETYPE )) ||
/* Other types must be strictly equal. */
(typmod_type != lwgeom_type)) )
{
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/433>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list