Re: PATH_MAX and LOGIN_NAME_MAX are not portable
Hi,
Le 09/08/2025 à 20:41, Jessica Clarke a écrit :
Why on earth do you need to pull in a whole garbage collector?
This was just a first proposal...
Just call free before returning.
...which I did in a second proposal (but this is more intrusive and
error-prone IMHO), as part of an upstream discussion:
https://github.com/hboetes/mg/pull/35
Upstream eventually settled on setting the missing constants, avoiding
dynamic allocation and applied the following patch:
https://github.com/hboetes/mg/commit/cc5b2be116ba271788ed8ee1b838cff3e5b4ce53.patch
Cheers,
--
Stéphane
Reply to: