[GRASS-dev] [GRASS GIS] #3564: Inconsistent results from qsort callback in g.mkfontcap
GRASS GIS
trac at osgeo.org
Tue May 22 07:12:24 PDT 2018
#3564: Inconsistent results from qsort callback in g.mkfontcap
----------------------+----------------------------
Reporter: yugr | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.6.0
Component: Default | Version: 7.4.0
Resolution: | Keywords: qsort callback
CPU: All | Platform: All
----------------------+----------------------------
Comment (by yugr):
One more symmetry issue in ./vector/v.profile/main.c:
static int compdist(const void *d1, const void *d2)
{
...
if (r1->distance > r2->distance)
return 1;
else
return -1;
}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3564#comment:4>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list