Re: PATH_MAX and LOGIN_NAME_MAX are not portable

Stéphane Glondu <[email protected]>
Newsgroups gmane.linux.debian.ports.hurd
Message-ID <[email protected]>
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,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.