On Sun, 14 Jul 2019 18:34:03 +0300, Vadim Penzin wrote:

> portmap(8) does not use setpassent(3) which is the only way of causing a 
> successful call to getpwnam(3) not to close the password database, 
> therefore the call to endpwent(3) seems to be unnecessary.

Correct, there is no need for endpwent() there.

 - todd

Reply via email to