Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Apr 2018 17:20:16 -0700
From:      Conrad Meyer <cem@freebsd.org>
To:        Ed Maste <emaste@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r332789 - head/usr.sbin/pwd_mkdb
Message-ID:  <CAG6CVpXDb7A2Gwk_uOU1g1z3M=g1SmeA74BnAHwftWewq3ptiw@mail.gmail.com>
In-Reply-To: <201804192025.w3JKPKPx014424@repo.freebsd.org>
References:  <201804192025.w3JKPKPx014424@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Maybe Relnotes: yes?

On Thu, Apr 19, 2018 at 1:25 PM, Ed Maste <emaste@freebsd.org> wrote:
> Author: emaste
> Date: Thu Apr 19 20:25:19 2018
> New Revision: 332789
> URL: https://svnweb.freebsd.org/changeset/base/332789
>
> Log:
>   pwd_mkdb: warn that legacy support is deprecated (if specified)
>
>   r283981 switched pwd_mkdb to emit only v4 database entries by default,
>   and introduced a -l (legacy) option emit v3 entries in addition.  The
>   commit message claims that legacy support will be removed in 12.0, so
>   emit a warning now if it is used.
>
> Modified:
>   head/usr.sbin/pwd_mkdb/pwd_mkdb.c
>
> Modified: head/usr.sbin/pwd_mkdb/pwd_mkdb.c
> ==============================================================================
> --- head/usr.sbin/pwd_mkdb/pwd_mkdb.c   Thu Apr 19 18:34:38 2018        (r332788)
> +++ head/usr.sbin/pwd_mkdb/pwd_mkdb.c   Thu Apr 19 20:25:19 2018        (r332789)
> @@ -166,6 +166,8 @@ main(int argc, char *argv[])
>
>         if (argc != 1 || (username && (*username == '+' || *username == '-')))
>                 usage();
> +       if (lflag)
> +               warnx("legacy (v3) database format support is deprecated");
>
>         /*
>          * This could be changed to allow the user to interrupt.
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpXDb7A2Gwk_uOU1g1z3M=g1SmeA74BnAHwftWewq3ptiw>