Hi,
please use tools/grass_indent.sh only with a working version of "indent":
On Thu, Dec 9, 2010 at 12:19 AM, <svn_grass@osgeo.org> wrote:
Author: hamish
Date: 2010-12-08 15:19:08 -0800 (Wed, 08 Dec 2010)
New Revision: 44565Modified:
grass-addons/postscript/ps.output/cat_val.c
...
Log:
run tools/grass_indent.shModified: grass-addons/postscript/ps.output/cat_val.c
--- grass-addons/postscript/ps.output/cat_val.c 2010-12-08 22:53:50 UTC (rev 44564)
+++ grass-addons/postscript/ps.output/cat_val.c 2010-12-08 23:19:08 UTC (rev 44565)
@@ -16,25 +16,30 @@
static char catval_str[128];/* LOAD CAT_VAL */
-int load_catval_array(VECTOR * vector, const char *colname, dbCatValArray * cvarr)
+int load_catval_array(VECTOR * vector, const char *colname,
+ dbCatValArray * cvarr)
{
int n_records;
+
struct field_info *Fi;
+
dbDriver *driver;
...
this is the broken version which introduces nonsense new lines between
the variables:
https://savannah.gnu.org/bugs/index.php?27036
Apparently Debian has fixed it for 2.2.11-1:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485764
Please upgrade to indent 2.2.11-1.
Markus