On 11/27/2014 02:28 PM, Mats Erik Andersson wrote:
Hello there,
I would like to improve error recovery of initdb when the
password file is empty. The present code declares "Error 0"
as the cause of failure. It suffices to use ferrer() since
fgets() returns NULL also at a premature EOF.
Thanks,
On Thu, Nov 27, 2014 at 7:28 AM, Mats Erik Andersson
wrote:
> I would like to improve error recovery of initdb when the
> password file is empty. The present code declares "Error 0"
> as the cause of failure. It suffices to use ferrer() since
> fgets() returns NULL also at a premature EOF.
>
> In