[GRASS-dev] g.list: SIGFPE (division by zero) when a name exceeds
the terminal width
Ivan Shmakov
ivan at theory.asu.ru
Thu Feb 21 12:49:45 EST 2008
>>>>> Ivan Shmakov <ivan at theory.asu.ru> writes:
[...]
> Please consider the following patch.
> lib/gis/ls.c (G_ls_format): Handle the case when the screen width is
> less or equal to the maximum length of the name to be output; don't
> pad the names with spaces when printing in 1-column.
> (nntp://news.gmane.org/gmane.comp.gis.grass.devel/25019)
[...]
Since there were no objections, and the issue is rather major,
I've commited the ``fix'' part of the change. As for the
padding problem, I believe that a more generic solution should
be implemented.
http://trac.osgeo.org/grass/changeset/30281
More information about the grass-dev
mailing list