On Fri, 2024-11-15 at 18:22 -0500, Benjamin Marzinski wrote:
> 
> I'm not completely happy with the MAPINFO_ID_IF_FOUND flag. An
> alternative would be to run a second libmp_mapinfo() call without
> MAPINFO_MPATH_ONLY to grab the name, if the first failed with
> DMP_EMPTY.
> If people think that's a better way to solve this, I can rework those
> patches.

We could simply choose to always fill in this information if the
the caller has requested it, without an additional input flag. It's not
an expensive operation. Is there a reason not to do this?

Thanks
Martin


Reply via email to