changeset 882:912726c2f5e3

Fix a segfault occuring when opening some collection files. Skip all lines not starting with a # when only geometry is required.
author zas_
date Sun, 13 Jul 2008 12:36:18 +0000
parents 10d0bf784323
children 391a9e3336db
files src/collect-io.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/collect-io.c	Sat Jul 05 10:21:09 2008 +0000
+++ b/src/collect-io.c	Sun Jul 13 12:36:18 2008 +0000
@@ -146,6 +146,8 @@
 			continue;
 			}
 
+		if (only_geometry) continue;
+
 		/* Read filenames */
 		buf = quoted_value(p, NULL);
 		if (buf)