[GRASS5] Re: Bug found in sites.c
Bill Hughes
bhughes at grasshoppernet.com
Sat Jun 17 23:39:20 EDT 2000
On Sat, 17 Jun 2000 16:22:48, Markus Neteler writes:
> Several string attributes are not read correctly,
> if *spaces* occur within the strings (even if
> @"substringA substringB" is used).
Around line 866, in the function next_att(), you will find your
culprit. next_att() splits attributes apart at spaces, regardless
of the quoting. Apparently, this allows multiple attributes on a
single line. Maybe there should be commas between them, or something.
Otherwise, the next_att() function will have to keep track of the
quoting status: this starts to get ugly.
Bill Hughes
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev
mailing list