#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>
_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev