Subject: Re: CVS commit: src/include
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Elad Efrat <elad@NetBSD.org>
List: source-changes
Date: 02/18/2006 14:00:04
YAMAMOTO Takashi wrote:

> why you want to avoid malloc?

because at the moment i think that will not contribute anything.

> why the caller needs to change values?

like i said, the man-page explains that sometimes pw_policy_load() will
fail in loading a policy from /etc/passwd.conf -- perhaps because the
file doesn't exist, or there are no password policies in it.

in such a case, it may be desired for the caller to set it's own default
policy values (and there's a code example that does just that in the
man-page).

-e.

-- 
Elad Efrat