[GRASS-dev] Re: [GRASS-SVN] r34603 - grass/branches/develbranch_6/vector/v.delaunay2

Martin Landa landa.martin at gmail.com
Sat Nov 29 04:26:47 EST 2008


Hi,

2008/11/29 Glynn Clements <glynn at gclements.plus.com>:
> If I run grass_indent.sh on that file (geometry.c, r34604), it doesn't
> change it in any way.

still the file is changed...

Index: geometry.c
===================================================================
--- geometry.c  (revision 34619)
+++ geometry.c  (working copy)
@@ -21,9 +21,13 @@
 {

     unsigned int n;
+
     unsigned int split;
+
     struct edge *l_ccw_l, *r_cw_l, *l_ccw_r, *r_cw_r, *l_tangent;
+
     struct edge *a, *b, *c;
+
     double c_p;

     n = r - l + 1;
@@ -98,7 +102,9 @@
                                   struct vertex **org_r_lower)

> Do you have a file named .indent.pro in either your home directory or
> your working directory? Or is $INDENT_PROFILE set? If such a file
> exists, it will add options to indent.

no .indent.pro or $INDENT_PROFILE set.

> I've modified grass_indent.sh to add the -npro switch, to disable
> reading of profile files (r34606 7.0, r34607 6.4).
>
> Of course, the reason might be different, e.g. a different version of
> indent.

GNU indent 2.2.10

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *


More information about the grass-dev mailing list