[GRASS-dev] v.in.dxf and modified version of G_percent

Jachym Cepicky jachym.cepicky at centrum.cz
Sun Jan 7 15:30:01 EST 2007


Hallo,

in read_dxf.c (v.in.dxf) there is function big_percent(). This function
prints information about progres while import. big_percent is defined
like

int big_percent(unsigned long n, unsigned long d, int s)

while G_percent

int G_percent (int n,int d,int s)


IMHO v.in.dxf should use G_percent too. What kind of approach is the
best:

    - Rewrite G_percent, so it uses long integers on input
    - New function G_percent_big for cases like this
    - Nothing, using G_percent directly will not cause any problem

??

Jachym

-- 
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub
-----------------------------------------   
OFFICE:                                     
Department of Geoinformation Technologies 
Zemedelska 3
613 00, Brno
Czech Republick
e-mail: xcepicky at node.mendelu.cz
URL:    http://mapserver.mendelu.cz
Tel.:   +420 545 134 514
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20070107/2cf858aa/attachment.bin


More information about the grass-dev mailing list