[GRASS5] [bug #2224] (grass) v.in.dxf ignores all geometries in test case

this bug's URL: http://intevation.de/rt/webrt?serial_num=2224
-------------------------------------------------------------------------

Subject: v.in.dxf ignores all geometries in test case

Platform: GNU/Linux/i386
grass obtained from: Mirror of Trento site
grass binary for platform: Compiled from Sources
GRASS Version: grass53_exp_2003_11_08

v.in.dxf ignores all geometries of my DXF file.

I have solved this problem for myself by applying a patch to
src/mapdev/v.in.dxf/find_lines.c. Without the patch, only once a value (in
my case 999) is assigned to the variable 'code' and never again.

*** find_lines.c.orig Tue Jan 22 05:51:14 2002
--- find_lines.c Sun Nov 16 11:38:46 2003
***************
*** 130,135 ****
--- 130,136 ----
            if (BOUNDARIES == 4)
            break;

+ code = dxf_readcode(dxf_file);
        }
        /* SHOULD CHECK FOR THE RETURN VALUE OF THIS FUNCTION */
        dxf_entities (dxf_file);

Best regards,
Michael Sczittnick

-------------------------------------------- Managed by Request Tracker