[GRASS5] [bug #977] (grass) s.in.ascii core dumps

Markus Neteler neteler at itc.it
Mon Mar 25 11:58:13 EST 2002


On Mon, Mar 25, 2002 at 07:59:39AM -0800, Eric G. Miller wrote:
> On Mon, Mar 25, 2002 at 01:29:18PM +0100, Request Tracker wrote:
> > s.in.ascii sites=eaurinia input=e_aurinia.txt fs=,
> > dumps core on data in the form like this:
> > 3500900,5704300,"AAAAAAAANF","Name",
> > 3500900,5704300,"AAAAAAAANF","Name, another Name",
> > 3555700,5697800,"AAAAAAAANG","Name with umlauts äöü",
> > 3501500,5694000,"AAAAAAAANH","Name...",19760101
> 
> Sites files must have uniform field counts/types.  While it's not nice
> behavior to segfault, the data should just be rejected.  There is
> currently no provision for NULL fields.

Eric,

do you see a change to add:

G_fatal_error("Sites files must have uniform field counts/types. There is
               currently no provision for NULL fields.");

in the module?

Thanks,

 Markus



More information about the grass-dev mailing list